Definitions of TypeDensity.Etale.Defs
DefinitionTypeDensity_Etale_Defstype-density
The étale convention for the type densities
The published densities monicDensity, projectiveDensity (in TypeDensity.Basic) define the
type of a polynomial through finite integral closures (the reduced-algebra convention). This file
defines the densities under the étale convention, where the event is restricted to separable
polynomials (étale algebras K[X]/(f_a)), resp. to binary forms with finite étale zero scheme.
Main definitions
TypeDensity.IsEtaleFormTypeDensity.etaleMonicDensity,TypeDensity.etaleProjectiveDensity
Definition code
-- Generated by the TypeDensity exporter from TypeDensity/Etale/Defs.lean (namespace TypeDensity); do not edit.
import Definitions.Def_TypeDensity_Basic
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
set_option autoImplicit false
open MeasureTheory
open scoped ENNReal
namespace TypeDensity
section EtaleForm
variable (O : Type) [CommRing O] [IsDomain O]
/-- The binary form `F_a` is étale of degree `n` (its zero scheme in `ℙ¹_K` is finite étale of
degree `n`): nonzero, degree drop at most one (so the point at infinity has multiplicity at most
one), and separable dehomogenization `F_a(X,1)`. -/
def IsEtaleForm {n : ℕ} (a : Fin (n + 1) → O) : Prop :=
affinePolynomial O a ≠ 0 ∧ n - (affinePolynomial O a).natDegree ≤ 1 ∧
(affinePolynomial O a).Separable
end EtaleForm
section EtaleMeasure
variable (O : Type) [CommRing O] [IsDomain O]
[TopologicalSpace O] [IsTopologicalRing O] [CompactSpace O] [T2Space O]
[SecondCountableTopology O]
[MeasurableSpace O] [BorelSpace O]
/-- The monic probability of type `σ` under the étale convention: the event is restricted to
separable polynomials, i.e. to étale algebras `K[X]/(f_a)`. -/
noncomputable def etaleMonicDensity (n : ℕ) (σ : FactorType) : ℝ≥0∞ :=
coefficientMeasure O n
{a | (monicPolynomial O a).Separable ∧ HasPolynomialType O (monicPolynomial O a) σ}
/-- The projective probability of type `σ` under the étale convention. -/
noncomputable def etaleProjectiveDensity (n : ℕ) (σ : FactorType) : ℝ≥0∞ :=
coefficientMeasure O (n+1) {a | primitive O a ∧ IsEtaleForm O a ∧ HasBinaryType O a σ} /
coefficientMeasure O (n+1) {a | primitive O a}
end EtaleMeasure
end TypeDensity