The next reachable layer
Lax733996.SuccessorLayer · concepts/Lax733996/SuccessorLayer.lean · lax-733996
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
A vertex belongs to the next layer precisely when it is the source or has an incoming edge from the current layer.
Concept map
In the paper
- page 2 of this submission's paper
Lean source view on GitHub
| 1 | import Lax733996.Counting |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The next reachable layer |
| 6 | type: lemma |
| 7 | --- |
| 8 | A vertex belongs to the next layer precisely when it is the source or has |
| 9 | an incoming edge from the current layer. |
| 10 | -/ |
| 11 | |
| 12 | namespace Lax733996.SuccessorLayer |
| 13 | |
| 14 | open Lax733996.Reachability Counting |
| 15 | |
| 16 | axiom successor {N : ℕ} (G : Graph N) (a v : Fin N) (k : ℕ) : |
| 17 | v ∈ layer G a (k + 1) ↔ v = a ∨ ∃ u ∈ layer G a k, G u v = true |
| 18 | |
| 19 | end Lax733996.SuccessorLayer |
| 20 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments