Products over the tuples with entries in a finite set #
A product over the tuples of Fin (n + 1) with all entries in a finite set s is a product over
the last entry and over the tuples of the first n entries (Fin.prod_piFinset_const_snoc).
Main results #
Fin.prod_piFinset_const_snoc,Fin.sum_piFinset_const_snoc: splitting off the last entry.
References #
From VP ≠ VNP over every field [Ant26], Appendix J.3: the sums over the cuts of
the letters of the tapes in the evaluator of the proof of Theorem J.3 (p. 54); source module
Nc.Grp.SumSeg.
theorem Fin.prod_piFinset_const_snoc {β : Type u_1} {M : Type u_2} [CommMonoid M] {n : ℕ} (s : Finset β) (f : (Fin (n + 1) → β) → M) :
∏ X ∈ Fintype.piFinset fun (x : Fin (n + 1)) => s, f X = ∏ Y ∈ s, ∏ X ∈ Fintype.piFinset fun (x : Fin n) => s, f (snoc X Y)
A product over the tuples of Fin (n + 1) with entries in s is a product over the last
entry and over the tuples of the first n entries.
theorem Fin.sum_piFinset_const_snoc {β : Type u_1} {M : Type u_2} [AddCommMonoid M] {n : ℕ} (s : Finset β) (f : (Fin (n + 1) → β) → M) :
∑ X ∈ Fintype.piFinset fun (x : Fin (n + 1)) => s, f X = ∑ Y ∈ s, ∑ X ∈ Fintype.piFinset fun (x : Fin n) => s, f (snoc X Y)
A sum over the tuples of Fin (n + 1) with entries in s is a sum over the
last entry and over the tuples of the first n entries.