AFTD Auto-Formalizing Theoretical Domains

WeightsN

abbrev

The type of edge-weight functions on a quantum graph on $N$ vertices with $D$ colours with values in $\alpha$.

Statement

abbrev WeightsN (N D : ℕ) (α : Type*) : Type _
Defined in
arXiv:2611.26300
Verified
23 Nov 2026
Axioms
none listed
Built on 1
  • EdgeNAn edge in an edge-coloured quantum graph on $N$ vertices with $D$ colours, specifying two vertices and their respective endpoint colours.
Used by 4
  • pmSumListAuxpmSumListAux takes a semiring α, natural numbers N and D, a weight function W : WeightsN N D α, a vertex coloring ι : Fin N → Fin D, a…
  • pmSumListGiven a semiring α, weights W : WeightsN N D α, a vertex coloring ι : Fin N → Fin D, and a vertex list L : List (Fin N), pmSumList W ι L…
  • EqSystemNThe proposition that an edge-weight function W : WeightsN N D α satisfies the monochromatic quantum graph system of equations: for every…
  • pmSumNGiven a semiring α, weights W : WeightsN N D α, and a coloring ι : Fin N → Fin D, pmSumN N D W ι is pmSumList W ι (vertices N), the sum…

Read back from the Lean

Given natural numbers N and D, and a type α, WeightsN N D α is defined as the type of functions from EdgeN N D to α.

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

/-- Edge weights on a quantum graph. -/
abbrev WeightsN (N D : ℕ) (α : Type*) : Type _ := EdgeN N D → α
See it in the graphDiscuss this resultChallenge it