AlgebraicCurves.Places.Proofs.Place_exists_uniformizing_separating_form.AlgebraicCurve.Place.mwALGN_ordGe
Zero together with the elements whose order is at least the specified bound.
Source context 12 commands
Surrounding namespaces, section variables, and local commands at this declaration.
@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs.Place_exists_uniformizing_separating_form
open _root_.AlgebraicCurve
open _root_.Polynomial
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve.Place
open _root_.AlgebraicCurve
variable {k F : Type*} [Field k] [Field F] [Algebra k F]Lean source · full declaration
def mwALGN_ordGe (v : Place k F) (m : ℤ) : Submodule k F where
carrier := {x | x = 0 ∨ m ≤ v.ord x}
zero_mem' := Or.inl rfl
add_mem' := by
intro x y hx hy
simp only [Set.mem_ofPred_eq] at hx hy ⊢
by_cases hx0 : x = 0
· subst hx0
simpa only [zero_add] using hy
by_cases hy0 : y = 0
· subst hy0
simpa only [add_zero] using hx
by_cases hxy : x + y = 0
· exact Or.inl hxy
right
have hx' : m ≤ v.ord x := hx.resolve_left hx0
have hy' : m ≤ v.ord y := hy.resolve_left hy0
have h := v.min_ord_le_ord_add hx0 hy0 hxy
omega
smul_mem' := by
intro c x hx
simp only [Set.mem_ofPred_eq] at hx ⊢
by_cases hc : c = 0
· subst hc
exact Or.inl (zero_smul k x)
by_cases hx0 : x = 0
· subst hx0
exact Or.inl (smul_zero c)
right
rw [Algebra.smul_def, v.ord_mul ((_root_.map_ne_zero _).mpr hc) hx0,
_root_.AlgebraicCurve.Place.ord_algebraMap v c, zero_add]
exact hx.resolve_left hx0