Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.Place |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Branches |
| 3 | |
| 4 | /-! # Local Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.LocalMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A function vanishing in a local ring defines an actual map from |
| 11 | the parameter's zero local ring, with its prescribed fraction-field map. -/ |
| 12 | |
| 13 | open IsLocalRing |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.Place OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CurveParameter OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.Branches |
| 16 | |
| 17 | variable (k B : Type) [Field k] [CommRing B] [IsLocalRing B] [Algebra k B] |
| 18 | (b : B) (hb : b ∈ maximalIdeal B) |
| 19 | |
| 20 | include hb |
| 21 | |
| 22 | theorem aeval_isUnit (p : Polynomial k) (hp : p ∈ (ProjectionFormula.Polynomial.Place.zeroIdeal k).primeCompl) : |
| 23 | IsUnit (Polynomial.aeval b p) := by |
| 24 | have hc : p.coeff 0 ≠ 0 := by |
| 25 | intro h |
| 26 | exact hp (Ideal.mem_span_singleton.mpr (Polynomial.X_dvd_iff.mpr h)) |
| 27 | apply (residue_ne_zero_iff_isUnit _).mp |
| 28 | have he := Polynomial.aeval_algHom_apply (IsScalarTower.toAlgHom k B (ResidueField B)) b p |
| 29 | change Polynomial.aeval (algebraMap B (ResidueField B) b) p = |
| 30 | algebraMap B (ResidueField B) (Polynomial.aeval b p) at he |
| 31 | have hz : algebraMap B (ResidueField B) b = 0 := (residue_eq_zero_iff b).mpr hb |
| 32 | rw [hz, ← Polynomial.coeff_zero_eq_aeval_zero'] at he |
| 33 | change algebraMap B (ResidueField B) (Polynomial.aeval b p) ≠ 0 |
| 34 | rw [← he] |
| 35 | exact (map_ne_zero_iff _ (algebraMap k (ResidueField B)).injective).mpr hc |
| 36 | |
| 37 | def localMap : ProjectionFormula.Polynomial.Place.localRing k →+* B := |
| 38 | IsLocalization.lift (M := (ProjectionFormula.Polynomial.Place.zeroIdeal k).primeCompl) |
| 39 | (g := (Polynomial.aeval b).toRingHom) |
| 40 | (fun p => aeval_isUnit k B b hb p p.property) |
| 41 | |
| 42 | theorem localMap_algebraMap (p : Polynomial k) : |
| 43 | localMap k B b hb (algebraMap (Polynomial k) (ProjectionFormula.Polynomial.Place.localRing k) p) = Polynomial.aeval b p := |
| 44 | IsLocalization.lift_eq _ p |
| 45 | |
| 46 | variable (L : Type) [Field L] [Algebra k L] [Algebra B L] [IsScalarTower k B L] |
| 47 | (g : L) (hg : Transcendental k g) (hbg : algebraMap B L b = g) |
| 48 | |
| 49 | include hbg |
| 50 | |
| 51 | theorem localMap_field : |
| 52 | letI := CurveParameter.polynomialAlgebra k L g |
| 53 | letI := CurveParameter.fractionAlgebra k L g hg |
| 54 | letI := Branches.localAlgebra k L g hg |
| 55 | (algebraMap B L).comp (localMap k B b hb) = algebraMap (ProjectionFormula.Polynomial.Place.localRing k) L := by |
| 56 | let := CurveParameter.polynomialAlgebra k L g |
| 57 | let := CurveParameter.fractionAlgebra k L g hg |
| 58 | let := Branches.localAlgebra k L g hg |
| 59 | let := Branches.localTower k L g hg |
| 60 | let : FaithfulSMul (Polynomial k) L := |
| 61 | (faithfulSMul_iff_algebraMap_injective (Polynomial k) L).mpr (CurveParameter.polynomialAlgebra_injective k L g hg) |
| 62 | let : IsScalarTower (Polynomial k) (FractionRing (Polynomial k)) L := |
| 63 | FractionRing.isScalarTower_liftAlgebra (Polynomial k) L |
| 64 | apply IsLocalization.ringHom_ext (ProjectionFormula.Polynomial.Place.zeroIdeal k).primeCompl |
| 65 | apply RingHom.ext |
| 66 | intro p |
| 67 | change algebraMap B L (localMap k B b hb (algebraMap (Polynomial k) (ProjectionFormula.Polynomial.Place.localRing k) p)) = |
| 68 | algebraMap (ProjectionFormula.Polynomial.Place.localRing k) L (algebraMap (Polynomial k) (ProjectionFormula.Polynomial.Place.localRing k) p) |
| 69 | rw [localMap_algebraMap, IsScalarTower.algebraMap_apply (ProjectionFormula.Polynomial.Place.localRing k) (FractionRing (Polynomial k)) L, |
| 70 | ← IsScalarTower.algebraMap_apply (Polynomial k) (ProjectionFormula.Polynomial.Place.localRing k) (FractionRing (Polynomial k)), |
| 71 | ← IsScalarTower.algebraMap_apply] |
| 72 | exact (Polynomial.aeval_algHom_apply (IsScalarTower.toAlgHom k B L) b p).symm.trans |
| 73 | (congrArg (fun x : L => Polynomial.aeval x p) hbg) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.LocalMap |