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

Lax307052.Recursion

Correctness of recursive reachability

concepts/Lax307052/Recursion.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

    At recursion depth kk, the search accepts exactly the vertex pairs joined by a walk of length at most 2k2^k.

    Lean source view on GitHub

    1import Lax307052.SplitWalk
    2
    3/-!
    4---
    5title: Correctness of recursive reachability
    6type: lemma
    7---
    8At recursion depth kk, the search accepts exactly the vertex pairs
    9joined by a walk of length at most 2k2^k.
    10-/
    11
    12namespace Lax307052.Recursion
    13
    14open Reachability
    15
    16axiom search_correct {N : ℕ} (G : Graph N) (k : ℕ) (a b : Fin N) :
    17 search G k a b = trueWithin (fun u v => G u v = true) (2 ^ k) a b
    18
    19end Lax307052.Recursion
    20
    Show Proof

    From Mathlib

    none

    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…