lemma
proved
term proof
mem_toMoves_of_coeff_ne_zero
No prose has been written for this declaration yet. The Lean source and graph data below render
without it.
generate prose now
formal statement (Lean)
420lemma mem_toMoves_of_coeff_ne_zero (nf : NormalForm) {pair : ℕ} {prim : Primitive}
421 (hsupp : pair ∈ nf.supportPairs) (hcoeff : nf.coeff pair prim ≠ 0) :
422 ⟨pair, prim, nf.coeff pair prim⟩ ∈ toMoves nf := by
proof body
Term-mode proof.
423 classical
424 unfold toMoves
425 have hpair : pair ∈ pairList nf := (pairList_mem).2 hsupp
426 exact List.mem_flatMap.mpr
427 ⟨pair, hpair, rowMoves_mem_of_coeff_ne_zero (nf := nf) (pair := pair) (prim := prim) hcoeff⟩
428
429/-- The mapped pair list produced by `toMoves` contains any supported pair with non-zero coeff. -/
used by (1)
From the project-wide theorem graph. These declarations reference this one in their body.
depends on (10)
Lean names referenced from this declaration's body.
-
contains
in IndisputableMonolith.Ethics.StakeGraph
decl_use
-
NormalForm
in IndisputableMonolith.Ethics.Virtues.NormalForm
decl_use
-
pairList
in IndisputableMonolith.Ethics.Virtues.NormalForm
decl_use
-
pairList_mem
in IndisputableMonolith.Ethics.Virtues.NormalForm
decl_use
-
Primitive
in IndisputableMonolith.Ethics.Virtues.NormalForm
decl_use
-
rowMoves_mem_of_coeff_ne_zero
in IndisputableMonolith.Ethics.Virtues.NormalForm
decl_use
-
toMoves
in IndisputableMonolith.Ethics.Virtues.NormalForm
decl_use
-
Primitive
in IndisputableMonolith.Masses.SectorPrimitive
decl_use
-
contains
in IndisputableMonolith.Numerics.Interval.Basic
decl_use
-
coeff
in IndisputableMonolith.Pipelines
decl_use