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.HodgeConjecture.DegreeTwo.SmoothDVR |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.DVRNeighborhood |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Rational.Coordinates |
| 4 | |
| 5 | /-! # Divisor Equations -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorEquations.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DegreeTwo: actual local equations with the algebraic divisor multiplicity |
| 13 | |
| 14 | Smoothness supplies the DVR at a codimension-one point. Its uniformizer and |
| 15 | unit lift to an affine neighborhood inside any specified open. The exponent |
| 16 | is the existing algebraic order, and for a bundle section it is exactly the |
| 17 | coefficient of its already constructed rational-section divisor. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- A nonzero rational function on a smooth integral scheme is, near a |
| 25 | codimension-one point, a regular unit times a uniformizer to its actual order. -/ |
| 26 | theorem smooth_rationalFunction_local_equation {K : Type u} [Field K] |
| 27 | {X : Scheme.{u}} [IsIntegral X] [AlgebraicGeometry.IsNoetherian X] |
| 28 | (f : X ⟶ Spec (.of K)) [Smooth f] (x : X) (hx : coheight x = 1) |
| 29 | (V : X.Opens) (hxV : x ∈ V) (g : X.functionField) (hg : g ≠ 0) : |
| 30 | ∃ (U : X.Opens) (_ : U ∈ X.affineOpens) (hxU : x ∈ U) (_ : U ≤ V) |
| 31 | (p : Γ(X, U)) (v : Γ(X, U)ˣ), |
| 32 | Irreducible (X.presheaf.germ U x hxU p) ∧ |
| 33 | letI : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 34 | g = X.germToFunctionField U v * (X.germToFunctionField U p) ^ (X.ord g x) := by |
| 35 | let : IsDiscreteValuationRing (X.presheaf.stalk x) := SmoothDVR.Constructions.smoothScheme_stalk_isDiscreteValuationRing f x hx |
| 36 | obtain ⟨π, hπ⟩ := IsDiscreteValuationRing.exists_irreducible (X.presheaf.stalk x) |
| 37 | obtain ⟨W, _, hxW, p, v, hp, he⟩ := |
| 38 | Divisors.LineBundles.DVRNeighborhood.BundleCycles.rationalFunction_DVR_neighborhood X x hx π hπ g hg |
| 39 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, hUWV⟩ := X.isBasis_affineOpens.exists_subset_of_mem_open |
| 40 | (show x ∈ W ⊓ V from ⟨hxW, hxV⟩) (W ⊓ V).isOpen |
| 41 | let hUW : U ≤ W := hUWV.trans inf_le_left |
| 42 | let q : Γ(X, U) := X.presheaf.map (homOfLE hUW).op p |
| 43 | let w : Γ(X, U)ˣ := Units.map (X.presheaf.map (homOfLE hUW).op).hom.toMonoidHom v |
| 44 | refine ⟨U, hU, hxU, hUWV.trans inf_le_right, q, w, ?_, ?_⟩ |
| 45 | · have hq : X.presheaf.germ U x hxU q = π := |
| 46 | (X.presheaf.germ_res_apply (homOfLE hUW) x hxU p).trans hp |
| 47 | rw [hq] |
| 48 | exact hπ |
| 49 | · let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 50 | let : Nonempty W := ⟨⟨x, hxW⟩⟩ |
| 51 | change g = X.germToFunctionField U |
| 52 | (X.presheaf.map (homOfLE hUW).op (v : Γ(X, W))) * |
| 53 | (X.germToFunctionField U (X.presheaf.map (homOfLE hUW).op p)) ^ (X.ord g x) |
| 54 | rw [DivisorClass.Chern.Rational.Coordinates.Construction.germToFunctionField_restrict, |
| 55 | DivisorClass.Chern.Rational.Coordinates.Construction.germToFunctionField_restrict] |
| 56 | exact he |
| 57 | |
| 58 | /-- For the actual rational section, this exponent is precisely the |
| 59 | already-defined divisor coefficient, in any algebraic frame through the point. -/ |
| 60 | theorem rationalSection_local_equation {X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 61 | (L : DivisorClass.Chern.Line.Bundles.AlgebraicLineBundle X) [IsIntegral X.carrier] |
| 62 | (x : X.carrier) (hx : coheight x = 1) (i : X.carrier) (hxi : x ∈ L.trivializingOpen i) : |
| 63 | ∃ (U : X.carrier.Opens) (_ : U ∈ X.carrier.affineOpens) (hxU : x ∈ U) |
| 64 | (_ : U ≤ L.trivializingOpen i) (p : Γ(X.carrier, U)) (v : Γ(X.carrier, U)ˣ), |
| 65 | Irreducible (X.carrier.presheaf.germ U x hxU p) ∧ |
| 66 | letI : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 67 | (L.rationalSectionCoordinate i : X.carrier.functionField) = |
| 68 | X.carrier.germToFunctionField U v * |
| 69 | (X.carrier.germToFunctionField U p) ^ (L.rationalSectionOrder x) := by |
| 70 | let : Smooth X.structureMap := X.smooth |
| 71 | obtain ⟨U, hU, hxU, hUi, p, v, hp, he⟩ := smooth_rationalFunction_local_equation |
| 72 | X.structureMap x hx (L.trivializingOpen i) hxi (L.rationalSectionCoordinate i) |
| 73 | (L.rationalSectionCoordinate_ne_zero i) |
| 74 | refine ⟨U, hU, hxU, hUi, p, v, hp, ?_⟩ |
| 75 | rw [L.rationalSectionOrder_in_chart x i hxi] |
| 76 | exact he |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.DivisorEquations.Constructions |