The exact ledger criterion for a return collision
ProvedAPFOriginalRecovery.collision_iff_graphapforiginal-recoveryprivate
Within a shared admission fiber, two states have the same return target exactly when their ledger predicates agree after every continuation of a supported representative of that return. The comparison quantifies over all typed suffixes and all graph values, preserving missing values as absence.
Generic mathematical support in the reference library.
Preamble
import Theorems.Thm_APFOriginalRecovery_state_eq_iff_graph
import Theorems.Thm_APFOriginalRecovery_target_residual
set_option autoImplicit false
open APFTypedHistory APFObservedHistory
universe u v w
variable {N : Type u} {E : N → N → Type v} {V : Type w} {a b c : N}
variable {L : Language E a} {B : Observation E V a}
open APFObservedProcess
open APFOriginalReturn
open APFOriginalRecovery
Formal statement
theorem APFOriginalRecovery.collision_iff_graph (hc : PrefixClosed L) (hb : Compatible L B)
(h : Nonempty (APFObservedHistory.State L B b)) (q : Q L B b b) (hq : Returns h q)
(p : SupportedWord L B b b) (hp : classOf p = q)
(s t : APFObservedHistory.State L B b) (hst : stateForget s = stateForget t) :
target hc hb h q hq s = target hc hb h q hq t ↔
∀ c (r : Path E b c) v,
s.val.2 c (Path.append p.val r) v ↔ t.val.2 c (Path.append p.val r) v := by
sorry
Source
Accepted OriginalRecovery source SHA05f4f088f440e3e57c28198e98266ab5f42e23a146ca4ece3a6942f034c17aa0; independent source acceptance35f5e06305b9782059231160330a7dae48e4977b749a02c77e2c99101b9328f4. Ordinary helper scope and original-source specialization remain distinct.