Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Coefficient formula for a finite product of laws `∏ⱼ Dl j`, and vanishing of the coefficients of a law at types that do not occur in it.

Proved
TypeDensity.law_coeff_prod_formula

by asving · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

type-density

This gives the coefficient formula for a finite product of laws ∏ⱼ Dl j, and the vanishing of the coefficients of a law at types that do not occur in it.

Preamble
import Definitions.Def_TypeDensity_Basic
import Definitions.Def_TypeDensity_Formula_LawAlgebra
import Theorems.Thm_TypeDensity_lawInterp_coeff
import Theorems.Thm_TypeDensity_law_coeff_mul
import Theorems.Thm_TypeDensity_sum_piFinset_succ
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.Finite.GaloisField
import Mathlib.RingTheory.AdicCompletion.Algebra
import Mathlib.RingTheory.RegularLocalRing.Defs
set_option autoImplicit false

open TypeDensity
open scoped BigOperators ENNReal
Formal statement
theorem TypeDensity.law_coeff_prod_formula (L : ℕ) (Dl : Fin L → Law) (σ : FactorType) (q : ℚ) :
    ((lawCoeff (lawProd (List.ofFn Dl)) σ).eval q =
        ∑ τ ∈ Fintype.piFinset (fun j ↦ ((Dl j).map Prod.fst).toFinset),
          (if σ = ∑ j, τ j then ∏ j, (lawCoeff (Dl j) (τ j)).eval q else 0)) ∧
      ∀ (M : Law) (τ : FactorType), τ ∉ (M.map Prod.fst).toFinset →
        (lawCoeff M τ).eval q = 0 := by sorry
Source
TypeDensity/Formula/LawAlgebra.lean#L607-L633

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me