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.PELModuli.CMPoints.ArithmeticCoefficientEnlargement |
| 2 | |
| 3 | /-! # Empty Coefficient Base -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.EmptyCoefficientBase |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The empty finite-coefficient stage is the original arithmetic ring. |
| 10 | This allows Foundations's fixed-model extension theorem to retain a supplied |
| 11 | arithmetic model instead of replacing it by a newly chosen model. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable {R F : Type} [CommRing R] [Field F] [Algebra R F] |
| 16 | |
| 17 | def emptyCoefficientEquiv (hi : Function.Injective (algebraMap R F)) : |
| 18 | ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R F ∅ ≃ₐ[R] R := |
| 19 | (Subalgebra.equivOfEq _ _ (by simp [ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing])).trans (Algebra.botEquivOfInjective hi) |
| 20 | |
| 21 | theorem emptyCoefficientEquiv_symm (hi : Function.Injective (algebraMap R F)) : |
| 22 | (emptyCoefficientEquiv hi).symm.toRingHom = algebraMap R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R F ∅) := by |
| 23 | apply RingHom.ext |
| 24 | intro a |
| 25 | exact (emptyCoefficientEquiv hi).symm.toAlgHom.commutes a |
| 26 | |
| 27 | def coefficientStructureMap (s : Finset F) : ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R F s ⟶ Spec (.of R) := |
| 28 | Spec.map (CommRingCat.ofHom (algebraMap R (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R F s))) |
| 29 | |
| 30 | theorem emptyCoefficientStructureMap_isIso (hi : Function.Injective (algebraMap R F)) : |
| 31 | IsIso (coefficientStructureMap (R := R) (F := F) ∅) := by |
| 32 | let e := Scheme.Spec.mapIso (emptyCoefficientEquiv hi).toRingEquiv.toCommRingCatIso.symm.op |
| 33 | have he : e.hom = coefficientStructureMap (R := R) (F := F) ∅ := by |
| 34 | change Spec.map (CommRingCat.ofHom (emptyCoefficientEquiv hi).symm.toRingHom) = _ |
| 35 | rw [emptyCoefficientEquiv_symm] |
| 36 | rfl |
| 37 | rw [← he] |
| 38 | infer_instance |
| 39 | |
| 40 | theorem genericBaseMap_structure (s : Finset F) : |
| 41 | ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R F s ≫ coefficientStructureMap s = |
| 42 | Spec.map (CommRingCat.ofHom (algebraMap R F)) := by |
| 43 | dsimp only [coefficientStructureMap, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientCocone] |
| 44 | rw [← Spec.map_comp] |
| 45 | rfl |
| 46 | |
| 47 | theorem coefficientBaseMap_structure {s t : Finset F} (h : s ⊆ t) : |
| 48 | ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R F h ≫ coefficientStructureMap s = coefficientStructureMap t := by |
| 49 | dsimp only [coefficientStructureMap, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap, ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientDiagram] |
| 50 | rw [← Spec.map_comp] |
| 51 | rfl |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.EmptyCoefficientBase |