Changing path coordinates preserves the full original history bill
ProvedAPFNativeLedgerHistory.original_coordinate_wholeapforiginal-relativeprivate
For existing reversible histories and references with the same forgotten admission effect, coordinate translation is an original composite and preserves the entire original prefix-and-suffix protocol predicate, including denotation, Profile, affordability, and wholeBill on both sides.
Preamble
import Definitions.Def_APFOriginalRelative_Arrow
import Definitions.Def_APFOriginalRelative_mul
import Definitions.Def_APFOriginalRelative_IsReturn
import Definitions.Def_APFOriginalRelative_coordinate
import Theorems.Thm_APFOriginalRelative_coordinate_members
import Theorems.Thm_APFOriginalRelative_coordinate_comp
import Theorems.Thm_APFOriginalRelative_coordinate_graph
import Theorems.Thm_APFSourceBoundHistory_source_bridge
import Theorems.Thm_APFNativeLedgerHistory_source_graph
import Mathlib.Tactic
set_option autoImplicit false
open APFTypedHistory APFHistorySource APFTF1 APFOriginalProcess APFOriginalSource
open APFUpstreamOccupant APFPaper1.Foundation APFOriginalFinitePossibilities APFOriginalAdmission
open APFObservedProcess APFOriginalRelative
variable {Γ : Type*} {Raw FullProcess Resource : Γ → Type*}
variable [∀ γ, AddCommMonoid (Resource γ)] [∀ γ, Preorder (Resource γ)]
variable {T : OriginalTyping Γ FullProcess} {P : ∀ γ, Set (FullProcess γ)}
variable {A : ∀ γ, Account (R := Resource γ) (P γ)}
variable (U : UseSource (Raw := Raw) T P A) (S : APFIdentityHistoryBinding.OriginalSource U)
variable {γ : Γ} (x : Raw γ)
local notation "L₀" => language U S.toHistoryMeaning x
local notation "B₀" => APFNativeLedgerHistory.graph U S.toHistoryMeaning x
local notation "hc₀" => And.right (And.right (And.right (APFSourceBoundHistory.source_bridge U S x)))
local notation "hb₀" => And.left (And.right (And.right (APFNativeLedgerHistory.source_graph U S x)))
Formal statement
theorem APFNativeLedgerHistory.original_coordinate_whole
{b c : ReachableContext L₀ B₀} (q q0 q1 : Arrow b c)
(hF : qForget q.val=qForget q0.val) (hF1 : qForget q1.val=qForget q0.val)
(p t : SupportedWord L₀ B₀ b.val b.val)
(hp : classOf p=(mul hc₀ hb₀ (coordinate hc₀ hb₀ q q0) (coordinate hc₀ hb₀ q0 q1)).val)
(ht : classOf t=(coordinate hc₀ hb₀ q q1).val) :
IsReturn (coordinate hc₀ hb₀ q q0) ∧ IsReturn (coordinate hc₀ hb₀ q0 q1) ∧
IsReturn (coordinate hc₀ hb₀ q q1) ∧
Comp (coordinate hc₀ hb₀ q q0).val (coordinate hc₀ hb₀ q0 q1).val (coordinate hc₀ hb₀ q q1).val ∧
(∀ h0 : Word T γ b.val, L₀ b.val h0 → ∀ δ (u : Word T b.val δ) v,
(∃ p0 : ProtocolView (P γ),
S.toHistoryMeaning.denotes (Path.append (Path.append h0 p.val) u) p0.val ∧
p0.val ∈ Profile U γ x ∧ APFResourceIdentity.affordable (A:=A) p0 ∧
v=APFResourceIdentity.wholeBill (A:=A) p0) ↔
(∃ p0 : ProtocolView (P γ),
S.toHistoryMeaning.denotes (Path.append (Path.append h0 t.val) u) p0.val ∧
p0.val ∈ Profile U γ x ∧ APFResourceIdentity.affordable (A:=A) p0 ∧
v=APFResourceIdentity.wholeBill (A:=A) p0)) := by
sorry
Source
Accepted OriginalRelative source SHA d13cfccfed025844aeb7c6a6e0815373bd9ee5580d28d9dd8a9aa745315c2f06; independent scientific acceptance174f8cab15c6b20719b151c7d0d2a546504aeaee0531ab32e09d4f6276b7dbfa.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.