Invariance and characterization of reachability

Lax485149.ReachabilityInvariance · concepts/Lax485149/ReachabilityInvariance.lean · lax-485149

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

    Reachability of a marked target from a marked source is invariant under isomorphism of graphs, and a graph is a yes-instance of REACH exactly when some marked target is reachable from some marked source.

    Concept map
    20 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

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

    Lean source view on GitHub

    1import Lax904597.Problems
    2import Lax904597.Interpretations
    3import Lax904597.Relativized
    4import Lax904597.SecondOrder
    5import Lax904597.Classes
    6import Lax904597.Sat
    7import Lax485149.Problems
    8import Lax485149.Complement
    9import Lax485149.SecondOrderAtoms
    10import Lax485149.KromFragment
    11import Lax485149.TransitiveClosure
    12import Lax485149.DeterministicTransitiveClosure
    13import Lax485149.FirstOrderDefinability
    14import Lax485149.HeadAutomata
    15import Lax485149.Reachability
    16import Lax485149.DeterministicReachability
    17import Lax485149.TwoSat
    18import Lax485149.ClassNL
    19import Lax485149.ClassL
    20
    21/-!
    22---
    23title: Invariance and characterization of reachability
    24type: lemma
    25---
    26Reachability of a marked target from a marked source is invariant under
    27isomorphism of graphs, and a graph is a yes-instance of REACH exactly when
    28some marked target is reachable from some marked source.
    29-/
    30
    31namespace Lax485149.ReachabilityInvariance
    32
    33open FirstOrder FirstOrder.Language
    34open Lax904597.Problems Lax904597.Interpretations Lax904597.Relativized Lax904597.SecondOrder
    35open Lax904597.Classes Lax904597.Sat
    36open Lax485149.Problems Lax485149.Complement Lax485149.SecondOrderAtoms Lax485149.KromFragment
    37open Lax485149.TransitiveClosure Lax485149.DeterministicTransitiveClosure
    38open Lax485149.FirstOrderDefinability Lax485149.HeadAutomata Lax485149.Reachability
    39open Lax485149.DeterministicReachability Lax485149.TwoSat Lax485149.ClassNL Lax485149.ClassL
    40
    41/-- Reachability is isomorphism-invariant. -/
    42axiom reachable_iso : ∀ {A B : Type} [stGraph.Structure A] [stGraph.Structure B],
    43 (A ≃[stGraph] B) → (Reachable A ↔ Reachable B)
    44
    45/-- The yes-instances of REACH are exactly the graphs where a marked target is
    46reachable from a marked source. -/
    47axiom reach_iff : ∀ (A : Type) [stGraph.Structure A], REACH A ↔ Reachable A
    48
    49/-- The yes-instances of UNREACH are exactly the graphs where no marked target
    50is reachable from a marked source. -/
    51axiom unreach_iff : ∀ (A : Type) [stGraph.Structure A], UNREACH A ↔ ¬Reachable A
    52
    53end Lax485149.ReachabilityInvariance
    54
    Show ProofShow ProofShow Proof

    Discussion

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

    Loading discussion…