Reading all source tables in a single final order

Lax977378.SourceTables · concepts/Lax977378/SourceTables.lean · lax-977378

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural Language Statement

    Lemma

    A history retains the endpoint choices of each refinement. Reading it backwards from a final table produces the earlier tables in that same order. The two successive tables satisfy both the exception closure and the rule identifying ordinary child blocks by parent and outer context.

    Concept map
    10 concepts; 5 descendants hidden
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax977378.SourceRun
    2
    3/-!
    4---
    5title: Reading all source tables in a single final order
    6type: lemma
    7---
    8A history retains the endpoint choices of each refinement. Reading it
    9backwards from a final table produces the earlier tables in that same order.
    10The two successive tables satisfy both the exception closure and the rule
    11identifying ordinary child blocks by parent and outer context.
    12-/
    13namespace Lax977378.SourceTables
    14open Lax977378.Logic Lax977378.OuterContexts Lax977378.Blocks Lax977378.SourceRun Lax977378.TagSafety
    15
    16structure Table {c} (G : Graph c) (a : LinearOrder (Fin G.size)) where
    17 n : Nat
    18 part : @Partition (Fin G.size) (Fin n) a inferInstance
    19 exceptions : Finset (Fin G.size)
    20
    21def Table.layer {c G a} (T : @Table c G a) : Layer G := ⟨T.n,T.part.block,T.exceptions⟩
    22
    23def Follows {c G a} (j : Nat) (P Q : @Table c G a) : Prop :=
    24 (∀ x, x ∈ Q.exceptions ↔ ∃ z, (z ∈ P.exceptions ∨ (∃ t, P.part.first t = z) ∨
    25 ∃ t, P.part.last t = z) ∧ within G (radius (j+1)) z x) ∧
    26 (∀ x y, Q.part.block x = Q.part.block y ↔ P.part.block x = P.part.block y ∧
    27 (x = y ∨ x ∉ Q.exceptions ∧ y ∉ Q.exceptions ∧ same G G a a (j+1) x y))
    28
    29axiom sourceTables {c K} (G : Graph c) (I L : Layer G) (hist : History G I K L)
    30 (onto : Function.Surjective L.row) :
    31 ∃ (a : LinearOrder (Fin G.size)) (T : Nat → Table G a),
    32 (T 0).layer = I ∧ (T K).layer = L ∧ ∀ j < K, Follows j (T j) (T (j+1))
    33
    34end Lax977378.SourceTables
    35
    Show Proof
    Builds on
    Used by
    From Mathlib

    none

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…