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.DVRMultiplicity |
| 2 | |
| 3 | /-! # DVR Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.DVRNeighborhood.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # LineBundleCycles: regular neighborhood equations for DVR factorizations |
| 11 | |
| 12 | A unit in a local ring has an actual unit representative on an affine |
| 13 | neighborhood. Combining this with a regular representative of a uniformizer |
| 14 | lifts the DVR factorization of a rational function to regular functions on |
| 15 | one affine open, with exponent equal to its actual algebraic divisor order. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace _root_.Order |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | /-- A local unit is represented by a genuine regular unit on an affine neighborhood. -/ |
| 23 | theorem stalkUnit_affine_representative (X : Scheme.{u}) (x : X) (u : (X.presheaf.stalk x)ˣ) : |
| 24 | ∃ (U : X.Opens) (_ : U ∈ X.affineOpens) (hxU : x ∈ U) (v : Γ(X, U)ˣ), |
| 25 | X.presheaf.germ U x hxU v = u := by |
| 26 | obtain ⟨W, hxW, a, ha⟩ := X.presheaf.exists_germ_eq (u : X.presheaf.stalk x) |
| 27 | obtain ⟨_, ⟨A, hA, rfl⟩, hxA, hAW⟩ := X.isBasis_affineOpens.exists_subset_of_mem_open hxW W.isOpen |
| 28 | let aA : Γ(X, A) := X.presheaf.map (homOfLE hAW).op a |
| 29 | have haA : X.presheaf.germ A x hxA aA = u := |
| 30 | (X.presheaf.germ_res_apply (homOfLE hAW) x hxA a).trans ha |
| 31 | have hxU : x ∈ X.basicOpen aA := by |
| 32 | apply (Scheme.mem_basicOpen X aA x hxA).mpr |
| 33 | exact haA.symm ▸ u.isUnit |
| 34 | obtain ⟨v, hv⟩ := X.toRingedSpace.isUnit_res_basicOpen aA |
| 35 | refine ⟨X.basicOpen aA, hA.basicOpen aA, hxU, v, ?_⟩ |
| 36 | rw [hv] |
| 37 | exact (X.presheaf.germ_res_apply (homOfLE (X.basicOpen_le aA)) x hxU aA).trans haA |
| 38 | |
| 39 | /-- A local element and a local unit admit simultaneous regular representatives |
| 40 | on one actual affine neighborhood. -/ |
| 41 | theorem stalkElement_unit_affine_representatives (X : Scheme.{u}) (x : X) |
| 42 | (π : X.presheaf.stalk x) (u : (X.presheaf.stalk x)ˣ) : |
| 43 | ∃ (U : X.Opens) (_ : U ∈ X.affineOpens) (hxU : x ∈ U) |
| 44 | (p : Γ(X, U)) (v : Γ(X, U)ˣ), |
| 45 | X.presheaf.germ U x hxU p = π ∧ X.presheaf.germ U x hxU v = u := by |
| 46 | obtain ⟨P, hxP, p, hp⟩ := X.presheaf.exists_germ_eq π |
| 47 | obtain ⟨V, _, hxV, v, hv⟩ := stalkUnit_affine_representative X x u |
| 48 | obtain ⟨_, ⟨U, hU, rfl⟩, hxU, hUPV⟩ := |
| 49 | X.isBasis_affineOpens.exists_subset_of_mem_open |
| 50 | (show x ∈ P ⊓ V from ⟨hxP, hxV⟩) (P ⊓ V).isOpen |
| 51 | let hUP : U ≤ P := hUPV.trans inf_le_left |
| 52 | let hUV : U ≤ V := hUPV.trans inf_le_right |
| 53 | refine ⟨U, hU, hxU, X.presheaf.map (homOfLE hUP).op p, |
| 54 | Units.map (X.presheaf.map (homOfLE hUV).op).hom.toMonoidHom v, ?_, ?_⟩ |
| 55 | · exact (X.presheaf.germ_res_apply (homOfLE hUP) x hxU p).trans hp |
| 56 | · exact (X.presheaf.germ_res_apply (homOfLE hUV) x hxU (v : Γ(X, V))).trans hv |
| 57 | |
| 58 | /-- The actual divisor coefficient is the exponent in an equality of rational |
| 59 | functions represented by a regular equation and a unit on an affine neighborhood. -/ |
| 60 | theorem rationalFunction_DVR_neighborhood (X : Scheme.{u}) [IsIntegral X] |
| 61 | [AlgebraicGeometry.IsNoetherian X] (x : X) (hx : coheight x = 1) |
| 62 | [IsDiscreteValuationRing (X.presheaf.stalk x)] |
| 63 | (π : X.presheaf.stalk x) (hπ : Irreducible π) (f : X.functionField) (hf : f ≠ 0) : |
| 64 | ∃ (U : X.Opens) (_ : U ∈ X.affineOpens) (hxU : x ∈ U) |
| 65 | (p : Γ(X, U)) (v : Γ(X, U)ˣ), |
| 66 | X.presheaf.germ U x hxU p = π ∧ |
| 67 | letI : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 68 | f = X.germToFunctionField U v * (X.germToFunctionField U p) ^ (X.ord f x) := by |
| 69 | obtain ⟨u, hu⟩ := DVRMultiplicity.BundleCycles.rationalFunction_DVR_factorization X x hx π hπ f hf |
| 70 | obtain ⟨U, hU, hxU, p, v, hp, hv⟩ := stalkElement_unit_affine_representatives X x π u |
| 71 | refine ⟨U, hU, hxU, p, v, hp, ?_⟩ |
| 72 | let : Nonempty U := ⟨⟨x, hxU⟩⟩ |
| 73 | have hpF : X.germToFunctionField U p = algebraMap (X.presheaf.stalk x) X.functionField π := |
| 74 | (Scheme.algebraMap_germ_eq_germToFunctionField X hxU p).symm.trans |
| 75 | (congrArg (algebraMap (X.presheaf.stalk x) X.functionField) hp) |
| 76 | have hvF : X.germToFunctionField U v = algebraMap (X.presheaf.stalk x) X.functionField u := |
| 77 | (Scheme.algebraMap_germ_eq_germToFunctionField X hxU (v : Γ(X, U))).symm.trans |
| 78 | (congrArg (algebraMap (X.presheaf.stalk x) X.functionField) hv) |
| 79 | rw [hpF, hvF] |
| 80 | exact hu |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Divisors.LineBundles.DVRNeighborhood.BundleCycles |