The three-term contingency replaced the two-term stimulus-response formulations of early twentieth-century behaviorism by adding the consequence as a necessary element of the analytical unit. This addition was decisive because it recognized that the relationship between stimulus and response is established and maintained by the consequences that follow — the S-R link is not a direct associative connection but a functional relationship mediated by reinforcement history.
Applied to AI interaction, the three-term structure is immediate and diagnostic. The blank prompt functions as S^D — it signals the availability of reinforcement contingent on a verbal response. The user's typing is R — the operant response emitted in the presence of the discriminative stimulus. The system's reply is S^R — the reinforcing consequence that strengthens the prompting behavior and increases its future probability. The chain self-perpetuates because S^R simultaneously functions as the next S^D, signaling that another response will produce another consequence.
The contingency is not merely descriptive. It specifies the variables whose modification would alter behavior. Change the discriminative stimulus — make the prompt less salient, less continuously available — and the probability of response changes. Change the response requirement — require more elaborate or evaluated input — and the behavioral topography changes. Change the consequence — delay it, vary its magnitude, introduce intermittency — and the schedule of reinforcement changes with all its downstream effects. The three-term structure is the diagnostic instrument that identifies which variables are operative and which modifications would produce which effects.
The three-term contingency emerged from Skinner's systematic reformulation of behavior analysis in the 1930s and was formalized in The Behavior of Organisms (1938). It remained the foundational analytical unit across the six decades of Skinner's career and remains central to contemporary applied behavior analysis.
Stimulus-response-consequence is the atomic unit. The three terms specify a functional relationship, not three independent elements.
The discriminative stimulus signals availability of reinforcement. It does not cause the response; it sets the occasion for a response to produce consequences.
The consequence establishes and maintains the relationship. The S-R link is a product of reinforcement history, not a direct association.
Every variable is modifiable. Stimulus, response requirement, and consequence can each be engineered to alter behavioral outcomes.