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.OpenImmersion |
| 2 | import OAI.ArithmeticGeometry.Models.BaseChange |
| 3 | import OAI.ArithmeticGeometry.Models.ModelFiniteness |
| 4 | |
| 5 | /-! # Open Immersion Stages -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.OpenImmersionStages.Constructions.Foundations |
| 8 | |
| 9 | /-! Changing the coefficient ring of an open-immersion model. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open scoped _root_.NumberField |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {K : Type u} [Field K] |
| 17 | |
| 18 | structure OpenImmersionAtBase (s : Finset K) |
| 19 | {W X : Over (Spec (CommRingCat.of K))} (f : W ⟶ X) where |
| 20 | source : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s) |
| 21 | target : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K s) |
| 22 | sourceFP : Scheme.Constructions.Foundations.FinitePresentationMorphism source.hom |
| 23 | targetFP : Scheme.Constructions.Foundations.FinitePresentationMorphism target.hom |
| 24 | inclusion : source ⟶ target |
| 25 | openInclusion : IsOpenImmersion inclusion.left |
| 26 | pSource : W.left ⟶ source.left |
| 27 | pTarget : X.left ⟶ target.left |
| 28 | sourceCartesian : IsPullback pSource W.hom source.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 29 | targetCartesian : IsPullback pTarget X.hom target.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) |
| 30 | compatibility : pSource ≫ inclusion.left = f.left ≫ pTarget |
| 31 | |
| 32 | noncomputable def OpenImmersionAtBase.enlarge {s t : Finset K} (h : s ⊆ t) |
| 33 | {W X : Over (Spec (CommRingCat.of K))} {f : W ⟶ X} (M : OpenImmersionAtBase s f) : |
| 34 | OpenImmersionAtBase t f := by |
| 35 | let B := Over.pullback (CoefficientSystem.Constructions.Foundations.coefficientBaseMap (𝓞 K) K h) |
| 36 | let : IsOpenImmersion M.inclusion.left := M.openInclusion |
| 37 | have hopen : IsOpenImmersion (B.map M.inclusion).left := |
| 38 | MorphismProperty.IsStableUnderBaseChange.of_isPullback |
| 39 | (FoundationsPullback.Constructions.pullback_over_map_isPullback _ M.inclusion).flip inferInstance |
| 40 | exact { |
| 41 | source := B.obj M.source |
| 42 | target := B.obj M.target |
| 43 | sourceFP := ModelFiniteness.Constructions.Foundations.baseChange_finitePresentation _ _ M.sourceFP |
| 44 | targetFP := ModelFiniteness.Constructions.Foundations.baseChange_finitePresentation _ _ M.targetFP |
| 45 | inclusion := B.map M.inclusion |
| 46 | openInclusion := hopen |
| 47 | pSource := ModelMorphisms.Constructions.Foundations.genericModelLift M.source M.pSource M.sourceCartesian.w h |
| 48 | pTarget := ModelMorphisms.Constructions.Foundations.genericModelLift M.target M.pTarget M.targetCartesian.w h |
| 49 | sourceCartesian := ModelMorphisms.Constructions.Foundations.genericModelLift_cartesian M.source M.pSource M.sourceCartesian h |
| 50 | targetCartesian := ModelMorphisms.Constructions.Foundations.genericModelLift_cartesian M.target M.pTarget M.targetCartesian h |
| 51 | compatibility := BaseChange.Constructions.Foundations.genericModelLift_map M.source M.target M.pSource M.pTarget |
| 52 | M.sourceCartesian.w M.targetCartesian.w f M.inclusion M.compatibility h } |
| 53 | |
| 54 | theorem open_immersion_has_stage |
| 55 | {W X : Over (Spec (CommRingCat.of K))} (f : W ⟶ X) |
| 56 | [IsOpenImmersion f.left] [CompactSpace W.left] (M : Foundations.Constructions.CoefficientModel K X) : |
| 57 | ∃ s, Nonempty (OpenImmersionAtBase s f) := by |
| 58 | obtain ⟨L⟩ := OpenImmersion.Constructions.Foundations.open_immersion_has_model f M |
| 59 | exact ⟨L.ambient.coefficients, ⟨{ |
| 60 | source := L.source |
| 61 | target := L.ambient.model |
| 62 | sourceFP := L.sourceFP |
| 63 | targetFP := L.ambient.finitePresentation |
| 64 | inclusion := L.inclusion |
| 65 | openInclusion := L.openInclusion |
| 66 | pSource := L.specialization |
| 67 | pTarget := L.ambient.specialization |
| 68 | sourceCartesian := L.cartesian |
| 69 | targetCartesian := L.ambient.cartesian |
| 70 | compatibility := L.compatibility.symm }⟩⟩ |
| 71 | |
| 72 | end OAI.ArithmeticGeometry.Models.OpenImmersionStages.Constructions.Foundations |