The exact inverse criterion after every admitted prefix
ProvedAPFOriginalReversible.inverse_iff_prefixapforiginal-reversibleprivate
Two admitted returns form an original inverse pair exactly when both complete prefix-and-suffix ledger comparisons hold for every admitted original prefix.
Generic mathematical support in the reference library.
Preamble
import Theorems.Thm_APFOriginalReversible_inverse_iff_graph
import Theorems.Thm_APFOriginalReversible_graph_iff_prefix
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 : N}
variable {L : Language E a} {B : Observation E V a}
open APFObservedProcess
open APFOriginalReturn APFOriginalRecovery
open APFOriginalReversible
Formal statement
theorem APFOriginalReversible.inverse_iff_prefix (hc : PrefixClosed L) (hb : Compatible L B)
(h : Nonempty (APFObservedHistory.State L B b)) (q r : Q L B b b)
(hq : Returns h q) (hr : Returns h r)
(p t : SupportedWord L B b b) (hp : classOf p=q) (ht : classOf t=r) :
InversePair h q r ↔
(∀ h0 : Path E a b, L b h0 → ∀ c (u : Path E b c) v,
B c (Path.append h0 (Path.append p.val (Path.append t.val u))) v ↔ B c (Path.append h0 u) v) ∧
(∀ h0 : Path E a b, L b h0 → ∀ c (u : Path E b c) v,
B c (Path.append h0 (Path.append t.val (Path.append p.val u))) v ↔ B c (Path.append h0 u) v) := by
sorry
Source
Accepted OriginalReversible source SHAc326e588a8e44f50e293e7c4da738c412ffc0cc7a18447e8e81c64eff815b814; independent source acceptance6580ae9241462908a494d50a7c796860e1b66e0e116282a1372e51d8116e3464. Ordinary helper scope and original-source specialization remain distinct.