Draft — mutable and not usable as a dependency; its citation marks the draft state.

Lax307052.FiniteSearch

Deciding finite reachability

concepts/Lax307052/FiniteSearch.lean · lax-307052

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.

    Concept map

    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A

    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lemma

    Recursion depth log2N\lceil\log_2 N\rceil suffices to decide reachability in a graph with NN vertices.

    Lean source view on GitHub

    1import Lax307052.Recursion
    2import Lax307052.ShortPaths
    3import Mathlib.Data.Nat.Log
    4
    5/-!
    6---
    7title: Deciding finite reachability
    8type: lemma
    9---
    10Recursion depth log2N\lceil\log_2 N\rceil suffices to decide reachability
    11in a graph with NN vertices.
    12-/
    13
    14namespace Lax307052.FiniteSearch
    15
    16open Reachability
    17
    18axiom decides_reachability {N : ℕ} (G : Graph N) (a b : Fin N) :
    19 search G (Nat.clog 2 N) a b = trueReachable G a b
    20
    21end Lax307052.FiniteSearch
    22
    Show Proof

    Community review

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above; your ORCID profile must share a public name.

    0 comments

    Loading discussion…