A future ledger value belongs to the complete original protocol
ProvedAPFNativeLedgerHistory.original_tail_graph_exactapforiginal-recoveryprivate
For a state reached by an admitted prefix h0, the ledger predicate after p followed by r has value v exactly when a whole original protocol denotes h0 followed by p followed by r, belongs to the original continuation profile, is affordable, and has whole bill v. The full prefix remains part of the account.
Source result under the unchanged approved original interpretation.
Preamble
import Theorems.Thm_APFNativeLedgerHistory_source_graph
set_option autoImplicit false
open APFTypedHistory APFHistorySource APFTF1 APFOriginalProcess APFOriginalSource
open APFUpstreamOccupant APFPaper1.Foundation APFOriginalFinitePossibilities APFOriginalAdmission
variable {Γ : Type*} {Raw FullProcess Resource : Γ → Type*}
variable [∀ γ, AddCommMonoid (Resource γ)] [∀ γ, Preorder (Resource γ)]
variable {T : OriginalTyping Γ FullProcess} {P : ∀ γ, Set (FullProcess γ)}
variable {A : ∀ γ, Account (R := Resource γ) (P γ)}
Formal statement
theorem APFNativeLedgerHistory.original_tail_graph_exact
(U : UseSource (Raw := Raw) T P A) (S : APFIdentityHistoryBinding.OriginalSource U)
{γ b δ : Γ} (x : Raw γ) (h0 : Word T γ b)
(hh : language U S.toHistoryMeaning x b h0) (p : Word T b b) (r : Word T b δ) (v : ℝ) :
(APFObservedHistory.stateOf (language U S.toHistoryMeaning x)
(APFNativeLedgerHistory.graph U S.toHistoryMeaning x) h0 hh).val.2 δ (Path.append p r) v ↔
∃ p0 : ProtocolView (P γ),
S.toHistoryMeaning.denotes (Path.append h0 (Path.append p r)) p0.val ∧
p0.val ∈ Profile U γ x ∧ APFResourceIdentity.affordable (A:=A) p0 ∧
v = APFResourceIdentity.wholeBill (A:=A) p0 := by
sorry
Source
Accepted OriginalRecovery source SHA05f4f088f440e3e57c28198e98266ab5f42e23a146ca4ece3a6942f034c17aa0; independent source acceptance35f5e06305b9782059231160330a7dae48e4977b749a02c77e2c99101b9328f4. Ordinary helper scope and original-source specialization remain distinct.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.