theoremfield_point_equation {n : ℕ} (θ : Fin n →K) (p : K[X][X])
{L : Type u} [FieldL] [AlgebraKL]
(f : CoordinateRingK θ p →ₐ[K] L) :
let g := f.comp (Ideal.Quotient.mkₐ K (fiberIdeal K θ p))
proof · 32
lines
(pencil (algebraMap KL∘ θ) ((universalMatrix K n).map g)).det =
Bivariate.map (algebraMap KL) p :=by
classical
intro g
have hz (a b : ℕ) : g
((((pencil (MvPolynomial.C∘ θ) (universalMatrix K n)).det -
Bivariate.map MvPolynomial.C p).coeff a).coeff b) = 0:=by
change f (Ideal.Quotient.mk _ _) = 0havehm : ((((pencil (MvPolynomial.C∘ θ) (universalMatrix K n)).det -
Bivariate.map MvPolynomial.C p).coeff a).coeff b) ∈ fiberIdeal K θ p :=Ideal.subset_span (Set.mem_range_self (a,b))
rw [Ideal.Quotient.eq_zero_iff_mem.mpr hm, _root_.map_zero]
havehmap : Bivariate.map g.toRingHom
((pencil (MvPolynomial.C∘ θ) (universalMatrix K n)).det -
Bivariate.map MvPolynomial.C p) = 0:=by
ext a b
simp only [Bivariate.map, Polynomial.coe_mapRingHom,
Polynomial.coeff_map, Polynomial.coeff_zero]
exact hz a b
have heq := sub_eq_zero.mp ((RingHom.map_sub (Bivariate.map g.toRingHom)
(pencil (MvPolynomial.C∘ θ) (universalMatrix K n)).det
(Bivariate.map MvPolynomial.C p)).symm.trans hmap)
havehθ : g.toRingHom ∘ (MvPolynomial.C∘ θ) = algebraMap KL∘ θ :=by
ext i
exact g.commutes (θ i)
havehp : Bivariate.map g.toRingHom (Bivariate.map MvPolynomial.C p) =
Bivariate.map (algebraMap KL) p :=by
ext a b
simp only [Bivariate.map, Polynomial.coe_mapRingHom, Polynomial.coeff_map]
exact g.commutes _
rw [map_determinant,hθ,hp] at heq
exact heq
rintro y ⟨p, rfl⟩
change f p ∈F
induction p usingMvPolynomial.induction_on with
| C c => simpa only [MvPolynomial.algHom_C] usingF.algebraMap_mem c
| add p q hp hq => simpa only [map_add] usingF.add_mem hp hq
| mul_X p i hp => simpa only [map_mul] usingF.mul_mem hp (h i)
classical
let Ω :=AlgebraicClosureLletι : L→ₐ[K] Ω :=IsScalarTower.toAlgHom KL Ω
let f' := ι.comp f
let g := f'.comp (Ideal.Quotient.mkₐ K (fiberIdeal K θ p))
letA:= (universalMatrix K (k+1)).map g
havehe : (pencil (algebraMap K Ω ∘ θ) A).det =
Bivariate.map (algebraMap K Ω) p := field_point_equation θ p f'
havehp : p ≠0:=by
intro hp
rw [hp, _root_.map_zero] at he
exact determinant_ne_zero _ _ he
obtain ⟨F,hF,hAF⟩ :=DeterminantFibers.matrix_field_bound θ hθ A hk p hp he
havehg : g.range ≤F.toSubalgebra :=by
apply range_le_of_variables_mem
rintro ⟨i,j⟩
exact hAF i j
leth : f.range →ₐ[K] Ω := ι.comp f.range.val
havehmem : ∀ z, h z ∈F.toSubalgebra :=by
rintro ⟨z,x,hx⟩
obtain ⟨q,rfl⟩ :=Ideal.Quotient.mk_surjective x
apply hg
exact ⟨q, by exact congrArg ι hx⟩
let hFmap := h.codRestrict F.toSubalgebra hmem
havehinj : Function.Injective hFmap :=by
intro x y heq
apply Subtype.ext
exact (FaithfulSMul.algebraMap_injective L Ω) (congrArg Subtype.val heq)
exact (trdeg_le_of_injective hFmap hinj).trans hF
Ideal.span (Set.range (fun ij => pderiv ij (Selector.diagonalCoefficient
(Matrix.of fun a b => (MvPolynomial.X (a,b) :
MvPolynomial (Fin (k+1) ×Fin (k+1)) K)) (fun i =>MvPolynomial.C (θ i)) q)))