Additivity defect of `C(·,2)`: `C(r + s, 2) = C(r,2) + C(s,2) + r s`.
ProvedTypeDensity.chooseTwo_addtype-density
Additivity defect of C(·,2): C(r + s, 2) = C(r,2) + C(s,2) + r s.
Preamble
import Definitions.Def_TypeDensity_Basic import Definitions.Def_TypeDensity_Reciprocity_Defs import Theorems.Thm_TypeDensity_two_mul_chooseTwo import Mathlib.FieldTheory.RatFunc.Basic import Mathlib.MeasureTheory.Measure.Haar.Unique import Mathlib.NumberTheory.ArithmeticFunction.Moebius import Mathlib.NumberTheory.Padics.PadicIntegers import Mathlib.RingTheory.IntegralClosure.IntegralRestrict import Mathlib.RingTheory.MvPowerSeries.Basic import Mathlib.RingTheory.RamificationInertia.Basic import Mathlib.Topology.Algebra.Nonarchimedean.AdicTopology import Mathlib.FieldTheory.RatFunc.AsPolynomial import Mathlib.RingTheory.PowerSeries.Expand import Mathlib.RingTheory.PowerSeries.Log set_option autoImplicit false open TypeDensity
Formal statement
theorem TypeDensity.chooseTwo_add (r s : ℕ) :
(chooseTwo (r + s) : ℤ) = chooseTwo r + chooseTwo s + r * s := by sorrySource
TypeDensity/Reciprocity/Defs.lean#L262-L266