Cofactors indexed by a finite set #
The cofactor of an indexed family on a finset subtype is exactly the product over that
finset with the distinguished index erased. This is Finset.prod_erase_attach in the
crtCofactor API and requires no positivity or nonzero hypotheses.
Main results #
Cslib.crtCofactor_finset: the subtype cofactor as an erased-finset product.
theorem Cslib.crtCofactor_finset {α : Type u_1} [DecidableEq α] (s : Finset α) (f : α → ℤ) (p : ↥s) :
Replace the subtype-indexed CRT cofactor by the corresponding erased-finset product.