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.Divisors.LineBundles.DVRNeighborhood |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Normal.PointResidue |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FunctionFieldUnitGerm |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Point.SupportResidueEvaluation |
| 5 | |
| 6 | /-! # Rational Normal Unit Restriction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.RationalNormalUnitRestriction.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! # LineBundleCycles: an actual order-zero rational function is a regular unit near a normal divisor point -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.Order |
| 17 | |
| 18 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 19 | |
| 20 | theorem exists_regularUnit_neighborhood_of_order_zero (x : X) (hx : coheight x = 1) |
| 21 | [IsIntegrallyClosed (X.presheaf.stalk x)] (a : X.functionFieldˣ) (ha : X.ord a.val x = 0) : |
| 22 | ∃ (U : X.Opens) (_ : IsAffineOpen U) (hxU : x ∈ U) (u : Γ(X, U)ˣ), |
| 23 | letI : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 24 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm U u = a := by |
| 25 | let := Normal.PointResidue.BundleCycles.normal_stalk_isDVR X x hx |
| 26 | obtain ⟨π, hπ⟩ := IsDiscreteValuationRing.exists_irreducible (X.presheaf.stalk x) |
| 27 | obtain ⟨U, hU, hxU, _, u, _, hu⟩ := DVRNeighborhood.BundleCycles.rationalFunction_DVR_neighborhood X x hx π hπ a.val a.ne_zero |
| 28 | refine ⟨U, hU, hxU, u, ?_⟩ |
| 29 | let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 30 | apply Units.ext |
| 31 | change X.germToFunctionField U u.val = a.val |
| 32 | rw [ha, zpow_zero, mul_one] at hu |
| 33 | exact hu.symm |
| 34 | |
| 35 | end |
| 36 | |
| 37 | section |
| 38 | |
| 39 | /-! # LineBundleCycles: ordinary restriction of an actual order-zero rational function to its prime support -/ |
| 40 | |
| 41 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 42 | |
| 43 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 44 | (x : X) (hx : coheight x = 1) [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 45 | (g : X.functionFieldˣ) (hg : X.ord g.val x = 0) |
| 46 | |
| 47 | include hx hg in |
| 48 | theorem exists_normalOrderZeroUnit : |
| 49 | ∃ u : (X.presheaf.stalk x)ˣ, Units.map (algebraMap (X.presheaf.stalk x) X.functionField).toMonoidHom u = g := by |
| 50 | obtain ⟨U, _, hxU, u, hu⟩ := exists_regularUnit_neighborhood_of_order_zero X x hx g hg |
| 51 | let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 52 | refine ⟨Units.map (X.presheaf.germ U x hxU).hom.toMonoidHom u, ?_⟩ |
| 53 | apply Units.ext |
| 54 | change algebraMap (X.presheaf.stalk x) X.functionField (X.presheaf.germ U x hxU u.val) = g.val |
| 55 | rw [Scheme.algebraMap_germ_eq_germToFunctionField X hxU u.val] |
| 56 | exact congrArg (fun v : X.functionFieldˣ => v.val) hu |
| 57 | |
| 58 | def normalOrderZeroUnit : (X.presheaf.stalk x)ˣ := |
| 59 | (exists_normalOrderZeroUnit X x hx g hg).choose |
| 60 | |
| 61 | theorem normalOrderZeroUnit_spec : |
| 62 | Units.map (algebraMap (X.presheaf.stalk x) X.functionField).toMonoidHom |
| 63 | (normalOrderZeroUnit X x hx g hg) = g := |
| 64 | (exists_normalOrderZeroUnit X x hx g hg).choose_spec |
| 65 | |
| 66 | theorem normalOrderZeroUnit_unique (u : (X.presheaf.stalk x)ˣ) |
| 67 | (hu : Units.map (algebraMap (X.presheaf.stalk x) X.functionField).toMonoidHom u = g) : |
| 68 | u = normalOrderZeroUnit X x hx g hg := by |
| 69 | apply Units.ext |
| 70 | apply IsFractionRing.injective (X.presheaf.stalk x) X.functionField |
| 71 | exact congrArg (fun v : X.functionFieldˣ => v.val) |
| 72 | (hu.trans (normalOrderZeroUnit_spec X x hx g hg).symm) |
| 73 | |
| 74 | def normalRationalRestriction : (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)).functionFieldˣ := |
| 75 | Units.map (Point.SupportResidue.BundleCycles.pointSupportResidueIso X x).hom.hom.toMonoidHom |
| 76 | (Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom (normalOrderZeroUnit X x hx g hg)) |
| 77 | |
| 78 | theorem normalRationalRestriction_apply : (normalRationalRestriction X x hx g hg).val = |
| 79 | Point.SupportResidue.BundleCycles.pointSupportResidueFunction X x |
| 80 | (Units.map (IsLocalRing.residue (X.presheaf.stalk x)).toMonoidHom (normalOrderZeroUnit X x hx g hg)) := rfl |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! # LineBundleCycles: multiplication and actual regular-function evaluation for ordinary rational restriction -/ |
| 85 | |
| 86 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 87 | |
| 88 | variable (X : Scheme.{0}) [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 89 | (x : X) (hx : coheight x = 1) [IsIntegrallyClosed (X.presheaf.stalk x)] |
| 90 | |
| 91 | theorem normalOrderZeroUnit_mul (g h : X.functionFieldˣ) |
| 92 | (hg : X.ord g.val x = 0) (hh : X.ord h.val x = 0) (hgh : X.ord (g * h).val x = 0) : |
| 93 | normalOrderZeroUnit X x hx (g * h) hgh = |
| 94 | normalOrderZeroUnit X x hx g hg * normalOrderZeroUnit X x hx h hh := by |
| 95 | symm |
| 96 | apply normalOrderZeroUnit_unique X x hx (g * h) hgh |
| 97 | rw [map_mul, normalOrderZeroUnit_spec, normalOrderZeroUnit_spec] |
| 98 | |
| 99 | theorem normalRationalRestriction_mul (g h : X.functionFieldˣ) |
| 100 | (hg : X.ord g.val x = 0) (hh : X.ord h.val x = 0) (hgh : X.ord (g * h).val x = 0) : |
| 101 | normalRationalRestriction X x hx (g * h) hgh = |
| 102 | normalRationalRestriction X x hx g hg * normalRationalRestriction X x hx h hh := by |
| 103 | unfold normalRationalRestriction |
| 104 | rw [normalOrderZeroUnit_mul X x hx g h hg hh hgh, map_mul] |
| 105 | exact map_mul (Units.map (Point.SupportResidue.BundleCycles.pointSupportResidueIso X x).hom.hom.toMonoidHom) _ _ |
| 106 | |
| 107 | theorem normalRationalRestriction_regular (g : X.functionFieldˣ) (hg : X.ord g.val x = 0) |
| 108 | (a : Γ(X, ⊤)) (ha : IsUnit (X.presheaf.germ ⊤ x (by trivial) a)) |
| 109 | (hga : g.val = RegularDivisor.BundleCycles.globalFunctionFieldElement X a) : |
| 110 | (normalRationalRestriction X x hx g hg).val = |
| 111 | RegularDivisor.BundleCycles.globalFunctionFieldElement (CycleClass.Geometric.GenericPoint.reducedSupportScheme (irreducibleSetEquivPoints.symm x)) |
| 112 | ((CycleClass.Geometric.GenericPoint.reducedSupportι (irreducibleSetEquivPoints.symm x)).appTop a) := by |
| 113 | obtain ⟨u, hu⟩ := ha |
| 114 | have huf : Units.map (algebraMap (X.presheaf.stalk x) X.functionField).toMonoidHom u = g := by |
| 115 | apply Units.ext |
| 116 | change algebraMap (X.presheaf.stalk x) X.functionField u.val = g.val |
| 117 | rw [hu, Scheme.algebraMap_germ_eq_germToFunctionField X (by trivial) a] |
| 118 | exact hga.symm |
| 119 | rw [normalRationalRestriction_apply, ← normalOrderZeroUnit_unique X x hx g hg u huf] |
| 120 | exact Geometric.ResidueRegular.BundleCycles.pointSupportResidueFunction_regular X x a u hu |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.Divisors.LineBundles.RationalNormalUnitRestriction.BundleCycles |