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.IntegralModel.Coefficient.GenericIsomorphism |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.ComparisonIsomorphism |
| 3 | |
| 4 | /-! # Generic Cartesian -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericCartesian.Coefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual cartesian generic-fiber comparison becomes cartesian over |
| 11 | a finite enlargement of the coefficient ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem coefficient_generic_cartesian_after_enlargement |
| 16 | {R K : Type} [CommRing R] [Field K] [Algebra R K] {s : Finset K} |
| 17 | {W X Y Z : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R K s)} |
| 18 | (a : W ⟶ X) (b : W ⟶ Y) (f : X ⟶ Z) (g : Y ⟶ Z) |
| 19 | (hw : a ≫ f = b ≫ g) |
| 20 | (hW : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism W.hom) |
| 21 | (hP : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (pullback f g).hom) |
| 22 | (hc : IsPullback ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s)).map a) |
| 23 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s)).map b) |
| 24 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s)).map f) |
| 25 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s)).map g)) : |
| 26 | ∃ (t : Finset K) (hst : s ⊆ t), |
| 27 | IsPullback ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map a) |
| 28 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map b) |
| 29 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map f) |
| 30 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map g) := by |
| 31 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R K s) |
| 32 | let c : W ⟶ pullback f g := pullback.lift a b hw |
| 33 | have ha : F.map c ≫ F.map (pullback.fst f g) = F.map a := by |
| 34 | rw [← F.map_comp, pullback.lift_fst] |
| 35 | have hb : F.map c ≫ F.map (pullback.snd f g) = F.map b := by |
| 36 | rw [← F.map_comp, pullback.lift_snd] |
| 37 | have : IsIso (F.map c) := Cartesian.ComparisonIsomorphism.isIso_of_cartesian_comparison hc |
| 38 | ((IsPullback.of_hasPullback f g).map F) (F.map c) ha hb |
| 39 | obtain ⟨t, hst, hi⟩ := GenericIsomorphism.Coefficients.coefficient_generic_isIso_after_enlargement W (pullback f g) hW hP c |
| 40 | let H := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 41 | refine ⟨t, hst, Cartesian.ComparisonIsomorphism.isPullback_of_isIso_comparison ((IsPullback.of_hasPullback f g).map H) |
| 42 | (H.map c) ?_ ?_⟩ |
| 43 | · rw [← H.map_comp, pullback.lift_fst] |
| 44 | · rw [← H.map_comp, pullback.lift_snd] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericCartesian.Coefficients |