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.CoefficientFractionRing |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.AffineGeometricCriterion |
| 3 | |
| 4 | /-! # Geometric Coefficient Shrink -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricCoefficientShrink.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Enlarge the finite coefficient ring to remove all bad fibers of an |
| 11 | affine model whose good fibers are controlled by one base element. -/ |
| 12 | |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem coefficient_model_integral_fibers_after_enlargement |
| 18 | (R K : Type u) [CommRing R] [Field K] [Algebra R K] |
| 19 | (s : Finset K) (C : Type u) [CommRing C] [Algebra (CoefficientSystem.Constructions.Foundations.coefficientRing R K s) C] |
| 20 | (r : CoefficientSystem.Constructions.Foundations.coefficientRing R K s) (hr : r ≠ 0) |
| 21 | (hgood : ∀ (L : Type u) [Field L] [Algebra (CoefficientSystem.Constructions.Foundations.coefficientRing R K s) L], |
| 22 | algebraMap (CoefficientSystem.Constructions.Foundations.coefficientRing R K s) L r ≠ 0 → |
| 23 | IsDomain (L ⊗[CoefficientSystem.Constructions.Foundations.coefficientRing R K s] C)) : |
| 24 | ∃ (t : Finset K) (h : s ⊆ t), |
| 25 | letI : Algebra (CoefficientSystem.Constructions.Foundations.coefficientRing R K s) (CoefficientSystem.Constructions.Foundations.coefficientRing R K t) := |
| 26 | (CoefficientFractionRing.Construction.coefficientRingInclusion R K h).toAlgebra |
| 27 | ∀ (L : Type u) [Field L] [Algebra (CoefficientSystem.Constructions.Foundations.coefficientRing R K t) L], |
| 28 | IsDomain (L ⊗[CoefficientSystem.Constructions.Foundations.coefficientRing R K t] |
| 29 | (CoefficientSystem.Constructions.Foundations.coefficientRing R K t ⊗[CoefficientSystem.Constructions.Foundations.coefficientRing R K s] C)) := by |
| 30 | obtain ⟨t, h, hu⟩ := CoefficientFractionRing.Construction.coefficient_element_becomes_unit R K s r hr |
| 31 | let S := CoefficientSystem.Constructions.Foundations.coefficientRing R K s |
| 32 | let T := CoefficientSystem.Constructions.Foundations.coefficientRing R K t |
| 33 | let ψ : S →+* T := CoefficientFractionRing.Construction.coefficientRingInclusion R K h |
| 34 | let : Algebra S T := ψ.toAlgebra |
| 35 | refine ⟨t, h, ?_⟩ |
| 36 | intro L _ _ |
| 37 | let : Algebra S L := ((algebraMap T L).comp ψ).toAlgebra |
| 38 | have : IsScalarTower S T L := IsScalarTower.of_algebraMap_eq' rfl |
| 39 | have hunit : IsUnit (algebraMap S L r) := hu.map (algebraMap T L) |
| 40 | have : IsDomain (L ⊗[S] C) := hgood L hunit.ne_zero |
| 41 | let e := Algebra.TensorProduct.cancelBaseChange S T L L C |
| 42 | exact Function.Injective.isDomain e.toRingHom e.injective |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricCoefficientShrink.Construction |