Correctness of the count sequence
Lax733996.CountingTrace · concepts/Lax733996/CountingTrace.lean · lax-733996
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The initial layer consists of the source. Inductive counting certifies exactly the successive layer sizes, including the final size after steps.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
In the paper
- page 2 of this submission's paper
Lean source view on GitHub
| 1 | import Lax733996.Counting |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Correctness of the count sequence |
| 6 | type: lemma |
| 7 | --- |
| 8 | The initial layer consists of the source. Inductive counting certifies |
| 9 | exactly the successive layer sizes, including the final size after steps. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax733996.CountingTrace |
| 13 | |
| 14 | open Lax733996.Reachability Counting |
| 15 | |
| 16 | axiom correct {N : ℕ} (G : Graph N) (a : Fin N) (counts : ℕ → ℕ) : |
| 17 | CountTrace G a counts ↔ ∀ k ≤ N, counts k = (layer G a k).card |
| 18 | |
| 19 | end Lax733996.CountingTrace |
| 20 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments