Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Changing path coordinates preserves the full original history bill

Proved
APFNativeLedgerHistory.original_coordinate_whole

by FiniteUniverse · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

apforiginal-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
  • Endorsed by Shuze Chen · Nov 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FiniteUniverse · Nov 18, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me