Comparison of different representatives of a recursive call

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

    Data read at each vertex can be represented by labels. Two source vertices matching the same target call can be compared by composing their local correspondences. A match at the full rank gives matches at every lower rank at the same centre.

    Concept map
    8 concepts; 8 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.LocalCalls
    2
    3/-!
    4---
    5title: Comparison of different representatives of a recursive call
    6type: lemma
    7---
    8Data read at each vertex can be represented by labels. Two source vertices
    9matching the same target call can be compared by composing their local
    10correspondences. A match at the full rank gives matches at every lower rank
    11at the same centre.
    12-/
    13namespace Lax977378.CallAgreement
    14open Lax977378.Logic Lax977378.LocalCalls
    15
    16def agrees {c} (A B : Graph c)
    17 (ra ea : Nat → Fin A.size → Nat) (rb eb : Nat → Fin B.size → Nat) :=
    18 Calls A B (fun j x y => ra j x = rb j y) (fun j x y => ea j x = eb j y)
    19
    20axiom compareReps {c} (A B : Graph c) (ra ea : Nat → Fin A.size → Nat)
    21 (rb eb : Nat → Fin B.size → Nat) (i : Nat) (x u : Fin A.size) (y : Fin B.size)
    22 (hx : agrees A B ra ea rb eb i x y) (hu : agrees A B ra ea rb eb i u y) :
    23 agrees A A ra ea ra ea i x u
    24
    25axiom lowerRanks {c} (A B : Graph c) (ra ea : Nat → Fin A.size → Nat)
    26 (rb eb : Nat → Fin B.size → Nat) (i j : Nat) (hj : j ≤ i) (x y)
    27 (h : agrees A B ra ea rb eb i x y) : agrees A B ra ea rb eb j x y
    28
    29end Lax977378.CallAgreement
    30
    Show ProofShow Proof

    Discussion

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

    Loading discussion…