EdgeN
structure
An edge in an edge-coloured quantum graph on $N$ vertices with $D$ colours, specifying two vertices and their respective endpoint colours.
Statement
structure EdgeN (N D : ℕ)- Defined in
- arXiv:2611.26300
- Verified
- 23 Nov 2026
- Axioms
- none listed
- Used by 2
Read back from the Lean
EdgeN N D defines a structure parameterized by two natural numbers N and D. An instance of EdgeN N D consists of four fields:
- v1 : Fin N
- v2 : Fin N
- c1 : Fin D
- c2 : Fin D
It derives decidable equality (DecidableEq).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- An edge connecting two vertices with specified endpoint colours in a quantum graph. -/ structure EdgeN (N D : ℕ) where v1 : Fin N v2 : Fin N c1 : Fin D c2 : Fin D deriving DecidableEq