pith. sign in
theorem

sequential_preserves_conservation

proved
show as:
module
IndisputableMonolith.Foundation.Atomicity
domain
Foundation
line
234 · github
papers citing
5 papers (below)

plain-language theorem explainer

If a predicate on states is preserved by each single event posting from a finite set H, then the predicate holds after folding the posting function over any schedule whose order covers H. Recognition Science work on causal serialization of finite histories cites this result to carry invariants through topological orderings. The proof runs by induction on the schedule list via its recursor, using a membership lemma to invoke the single-step hypothesis at each step.

Claim. Let $E$ be an event type and $S$ a state type. Let Conservation be a predicate on states and post a function posting an event to a state. Let prec be a precedence relation on events. For finite set $H$ of events and schedule σ whose order covers $H$, if Conservation holds on initial state $s_0$ and is preserved by every single posting of an event from $H$, then Conservation holds on the state obtained by folding post over the order of σ starting from $s_0$.

background

Precedence is the relation on events read as “e₁ must occur before e₂”. Schedule is the structure carrying a duplicate-free list order that forms a one-per-tick serialization of a finite history. The module works abstractly over any event type E equipped with a decidable precedence relation and produces constructive results for finite histories only, deliberately avoiding cost or convexity assumptions from T5 onward.

proof idea

The tactic proof first invokes classical, reverts the initial state and hypothesis, then refines the list recursor on σ.order. The base case is immediate by simpa. The step case extracts membership of the head event in H via toFinset conversion and the cover hypothesis, applies the single-step preservation hypothesis to obtain the updated conservation fact, then recurses via the inductive hypothesis.

why it matters

The lemma supplies the generic preservation half of the atomicity construction that tightens T2. It feeds the atomic_tick result by guaranteeing that any conservation predicate survives serialization. The result stays independent of the J-cost functional equation, the phi-ladder, and the eight-tick octave, isolating the finite-history serialization step in the forcing chain.

Switch to Lean above to see the machine-checked source, dependencies, and usage graph.