Agreement of all recursive calls in a common coloured and tagged ball

Lax977378.LocalCalls · concepts/Lax977378/LocalCalls.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

    At level zero the calculation reads the root data. At a positive level it compares root data, reads endpoint roles on the inspected ball, and invokes the preceding calculation at each ball vertex. A common named window with matching data supplies the whole recursive comparison, with consistent names.

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

    This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.

    Lean source view on GitHub

    1import Lax977378.WindowMap
    2import Lax977378.TagSafety
    3
    4/-!
    5---
    6title: Agreement of all recursive calls in a common coloured and tagged ball
    7type: lemma
    8---
    9At level zero the calculation reads the root data. At a positive level it
    10compares root data, reads endpoint roles on the inspected ball, and invokes
    11the preceding calculation at each ball vertex. A common named window with
    12matching data supplies the whole recursive comparison, with consistent names.
    13-/
    14namespace Lax977378.LocalCalls
    15open Lax977378.Logic Lax977378.OuterContexts Lax977378.RecordTests Lax977378.TagSafety
    16
    17def Calls {c} (A B : Graph c)
    18 (root ends : Nat → Fin A.size → Fin B.size → Prop) :
    19 Nat → Fin A.size → Fin B.size → Prop
    20 | 0,x,y => root 0 x y
    21 | i+1,x,y => root (i+1) x y ∧ ∃ h : Ball A (i+1) x ≃ Ball B (i+1) y,
    22 (∀ v, v.val = x ↔ (h v).val = y) ∧
    23 (∀ v w, A.edge v.val w.val ↔ B.edge (h v).val (h w).val) ∧
    24 ∀ v, ends (i+1) v.val (h v).val ∧ Calls A B root ends i v.val (h v).val
    25
    26axiom commonCalls {c} (W A B : Graph c) (mark : Finset (Fin W.size))
    27 (y : Fin W.size → Fin A.size) (z : Fin W.size → Fin B.size)
    28 (root ends : Nat → Fin A.size → Fin B.size → Prop) (i s : Nat)
    29 (wy : Window W A (s+radius i) mark y) (wz : Window W B (s+radius i) mark z)
    30 (data : ∀ j ≤ i, ∀ u, root j (y u) (z u) ∧ ends j (y u) (z u))
    31 (u : Fin W.size) (near : ∃ m ∈ mark, within W s m u) :
    32 Calls A B root ends i (y u) (z u)
    33
    34axiom innerCalls {c} (W A B : Graph c) (mark : Finset (Fin W.size))
    35 (y : Fin W.size → Fin A.size) (z : Fin W.size → Fin B.size)
    36 (root ends : Nat → Fin A.size → Fin B.size → Prop) (i s slack : Nat)
    37 (wy : Window W A (s+radius i+slack) mark y) (wz : Window W B (s+radius i+slack) mark z)
    38 (data : ∀ j ≤ i, ∀ u, (∃ m ∈ mark, within W (s+radius i) m u) →
    39 root j (y u) (z u) ∧ ends j (y u) (z u))
    40 (u : Fin W.size) (near : ∃ m ∈ mark, within W s m u) :
    41 Calls A B root ends i (y u) (z u)
    42
    43end Lax977378.LocalCalls
    44
    Show ProofShow Proof

    Discussion

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

    Loading discussion…