Documentation

CslibFrontier.Computability.Distributed.SetAgreement.AtomicSnapshot.TracePreservation

Internal inductive preservation of TraceInv #

Proves traceInv_holds for every prefix of a SnapshotTrace via clean double collects (Lemma 3.1), twice-moved borrowed views (Lemma 3.2), and atomic register writes; never re-exported through AtomicSnapshot.

Main results #

Inductive preservation of TraceInv (Lemmas 3.2–3.3) #

theorem Cslib.Distributed.SetAgreement.SnapshotTrace.traceInv_holds {P : Type u_1} {Data : Type u_2} [Fintype P] [DecidableEq P] {ord : ScanOrder P} {dInit : Data} (τ : SnapshotTrace ord dInit) (t : ℕ) :
t ≤ τ.events.length → τ.TraceInv t

Key inductive proof of TraceInv τ t for every t ≤ τ.events.length.