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.ArithmeticGeometry.Models.SpreadingOut.GeometricCoefficientShrink |
| 2 | import OAI.ArithmeticGeometry.Models.Foundations |
| 3 | |
| 4 | /-! # Affine Geometric -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.AffineGeometric.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Good affine fibers yield a concrete geometrically connected coefficient |
| 11 | model with its generic-fiber isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct _root_.NumberField |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.ArithmeticGeometry.Models.Foundations.Constructions |
| 19 | |
| 20 | theorem coefficient_model_of_eventually_integral_affine |
| 21 | (K : Type u) [Field K] [NumberField K] (s : Finset K) |
| 22 | (C : Type u) [CommRing C] [Algebra (CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s) C] |
| 23 | [Algebra.FinitePresentation (CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s) C] |
| 24 | (r : CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s) (hr : r ≠ 0) |
| 25 | (hgood : ∀ (L : Type u) [Field L] [Algebra (CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s) L], |
| 26 | algebraMap (CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s) L r ≠ 0 → |
| 27 | IsDomain (L ⊗[CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s] C)) : |
| 28 | ∃ M : Foundations.Constructions.CoefficientModel K (Affine.Construction.affineOver K (K ⊗[CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s] C)), |
| 29 | GeometricallyConnected M.model.hom ∧ GeometricallyIrreducible M.model.hom := by |
| 30 | obtain ⟨t, h, hT⟩ := GeometricCoefficientShrink.Construction.coefficient_model_integral_fibers_after_enlargement (𝓞 K) K s C r hr hgood |
| 31 | let S := CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s |
| 32 | let T := CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K t |
| 33 | let ψ : S →+* T := CoefficientFractionRing.Construction.coefficientRingInclusion (𝓞 K) K h |
| 34 | let : Algebra S T := ψ.toAlgebra |
| 35 | have hSTK : IsScalarTower S T K := IsScalarTower.of_algebraMap_eq (fun a ↦ by |
| 36 | exact (CoefficientFractionRing.Construction.coefficientRingInclusion_coe (𝓞 K) K h a).symm) |
| 37 | let B := T ⊗[S] C |
| 38 | let N := Affine.Construction.affineOver T B |
| 39 | have : IsAffineHom N.hom := inferInstanceAs (IsAffineHom |
| 40 | (Spec.map (CommRingCat.ofHom (algebraMap T B)))) |
| 41 | have hfp : Scheme.Constructions.Foundations.FinitePresentationMorphism N.hom := ⟨inferInstance, inferInstance, inferInstance⟩ |
| 42 | let e : (Over.pullback (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K t)).obj N ≅ Affine.Construction.affineOver K (K ⊗[S] C) := |
| 43 | Affine.Construction.baseChangeAffineIso T K B ≪≫ Affine.Construction.affineOverIso (Algebra.TensorProduct.cancelBaseChange S T K K C) |
| 44 | refine ⟨⟨t, N, hfp, e⟩, ?_, ?_⟩ |
| 45 | · exact AffineGeometricCriterion.Construction.affine_geometricallyConnected_of_tensor_domains T B hT |
| 46 | · exact AffineGeometricCriterion.Construction.affine_geometricallyIrreducible_of_tensor_domains T B hT |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.ArithmeticGeometry.Models.SpreadingOut.AffineGeometric.Construction |