Internal history-update and single-step inversion lemmas #
Internal transition inversion helpers (SnapshotEvent.actor, stepSnapshot_effect,
getElem_completeHistoryAt_ne) shared by WaitFree, TraceWrites, TraceSteps,
LinearizationChunks, and TracePreservation; never re-exported through AtomicSnapshot.
Main definitions #
Cslib.Distributed.SetAgreement.SnapshotEvent.actor: process performing aSnapshotEvent.
Main results #
Cslib.Distributed.SetAgreement.length_completeHistoryAt,Cslib.Distributed.SetAgreement.getElem_completeHistoryAt_ne: history update preservation.Cslib.Distributed.SetAgreement.stepSnapshot_invokeScan_eq,Cslib.Distributed.SetAgreement.stepSnapshot_invokeUpdate_eq,Cslib.Distributed.SetAgreement.stepSnapshot_effect: transition inversion lemmas.
Length preservation for completeHistoryAt.
Updating entry opId via completeHistoryAt leaves every entry k ≠ opId unchanged.
Acting process identifier for any SnapshotEvent.
Inversion characterization of a .invokeScan transition in stepSnapshot.
Inversion characterization of a .invokeUpdate transition in stepSnapshot.
Every transition stepSnapshot ord dInit s ev = some s' updates proc only at ev.actor,
and either performs a readyToWrite register write or leaves s.reg unchanged while modifying
s.history by at most appending a .pending record or completing a .scan record.