While this submission is a draft, it cannot be used by other submissions.

Periodic branch test for unfold-automata

Lax369799.UnfoldBranches · concepts/Lax369799/UnfoldBranches.lean · lax-369799

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

    Theorem

    On a finite system, checking the parity condition on ultimately periodic branches suffices for all infinite branches. Periodicity records both the vertex and the chosen outgoing direction.

    Concept map
    8 concepts; 1 descendant 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 Lax369799.PeriodicPaths
    2
    3/-!
    4---
    5title: Periodic branch test for unfold-automata
    6type: theorem
    7---
    8On a finite system, checking the parity condition on ultimately periodic
    9branches suffices for all infinite branches. Periodicity records both the
    10vertex and the chosen outgoing direction.
    11-/
    12namespace Lax369799.UnfoldBranches
    13open RankedSystems UnfoldAutomata
    14
    15def Periodic {A : RankedSet} {S : System A 0} (b : InfiniteBranch S) : Prop :=
    16 PeriodicPaths.UltimatelyPeriodic
    17 (fun n => (⟨b.vertex n, b.direction n⟩ : (v : S.val.Vertex) × Fin (Rank S v)))
    18
    19axiom periodic_test {A : RankedSet} (M : UnfoldAutomaton A) (S : System A 0) (r : Run M S) :
    20 (∀ b : InfiniteBranch S, Periodic b → M.condition.AcceptsInfinite
    21 (fun n => r.edgeType (b.vertex n) (b.direction n))) ↔
    22 (∀ b : InfiniteBranch S, M.condition.AcceptsInfinite
    23 (fun n => r.edgeType (b.vertex n) (b.direction n)))
    24
    25end Lax369799.UnfoldBranches
    26
    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…