Wrong as Sequence Violation: The Structural Definition of Wrong as Misordering
Abstract
Wrong is the application of any operation before its prerequisite has produced its output. An operation that occurs without its prerequisite's output receives no valid input, and the failure to close is the structural signature of error. The four operations are distinction, placement, identification, and composition, in that order, each a necessary condition for the next; they correspond to the four foundations of mathematics (logic, set theory, type theory, category theory), with the ordering derived in *On Occurrence* (Stewart, 2026g) and *The Endomorphic Collapse Traverses the Foundations of Mathematics* (Stewart, 2026e). The present paper takes the four-operation ordering as given and derives the structure of error from it: what the misorderings are, how many there are, and how they entail one another. Wrong, as experienced, is expectancy violation, the divergence between a projected expectation and the actual determination. Expectancy violation follows from the ordering. Expectation requires ordering, so a system without one has nothing to project forward to and cannot expect anything. Several phenomena that resemble structural error are not. Incompleteness (an ordering that stalls without attempting a later operation) is the clearest example. It is not a structural failure mode. It appears as wrong only in the observer's expectancy violation. The structural classification covers all and only the misorderings. Structural errors classify into five non-empty classes plus one structurally empty cell. The count is forced by the ordering itself: misordering four ordered positions is generated by the three adjacent swaps (positions 1-2, 2-3, 3-4), and these three swaps, together with the two further failures the ordering's non-adjacent reach admits, give the five classes. Class 2-1 is the failure of the distinction-to-placement step. Class 3-2 is the failure of the placement-to-identification step. Class 4-3 is the failure of the identification-to-composition step. Class 3-1 is the failure of the direct distinction-to-identification step, which bypasses placement. Class 4-1 is the catastrophic failure where the full ordering does not complete. The sixth potential class (Class 4-2, placement before composition) is structurally empty because the ordering provides no direct step from placement to composition: placement reaches composition only through identification. Each class is named by the pair (later, earlier), where the later operation ran without the earlier prerequisite having delivered its output. The generators of wrong are the swaps of the ordering, not the closed cycles of the underlying graph; the two are related but not identical (the graph's cycles carry its algebraic content and are derived at the path-algebra scale, Stewart, 2026e; *The Path Algebra of the Endomorphism*, Stewart, 2026f). The definition operates uniformly wherever the four-operation ordering runs. A conclusion reached without premises established is composition without distinction, the same misordering as an effect without its cause in physics, a null reference in computation, an action without its perceptual determination in cognition, and an injustice that operates on a subject whose recognition was never established in ethics. The structural form is the same. The instances differ in what the operations are running on. Clinical conditions (impulsivity, depression, panic disorder, hallucination, PTSD, generalized anxiety) instantiate specific violation classes with predicted neural timing signatures. The causal structure of spacetime is the operational ordering applied to events. In ethics, injustice is composition before the recognition of a subject's existence, with two sides to the misordering. The agent's ordering continues forward through the misordering. The subject is operated on without the prerequisite (their recognition as a subject) having been established, so the subject's ordering is broken from outside. Both sides inhabit the same malformed ordering. The form of the failure is symmetric, the consequence is not. Error requires at least two operations and the possibility of misordering them. Where only one operation remains operative, no ordering remains to violate. The first operation is the fixed point of the error structure. It cannot be displaced by any misordering, because every misordering displaces a later operation relative to an earlier one. The first operation can never be the late one in such a misordering, because no operation precedes it. There is no zeroth position to displace it after. **Keywords:** error theory, expectancy violation, causality, null reference, action selection, psychopathology, neural timing, programming languages, ethics of recognition, dependency analysis, foundations of mathematics
Fields of Study & Subjects
Philosophy and Theoretical Science
Benford’s Law and Fraud Detection
Philosophy and History of Science
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 2 June 2026
- Language
- EN
- Document type
- Preprint