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.CommonStage |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.Diagram |
| 3 | import OAI.ArithmeticGeometry.Models.DiagramComposition |
| 4 | |
| 5 | /-! # Generic Morphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericMorphisms.Coefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Generalization of the proved GenericMorphisms construction to a |
| 12 | general coefficient ring for smooth proper complex group-scheme families. |
| 13 | |
| 14 | Descent of finite sets of maps in fixed generic fibers, with one natural |
| 15 | comparison for all objects. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.NumberField |
| 19 | |
| 20 | universe u v w |
| 21 | |
| 22 | open OAI.ArithmeticGeometry.Models.SpreadingOut.Diagram.Construction |
| 23 | |
| 24 | open OAI.ArithmeticGeometry.Models.DiagramComposition.Constructions.Foundations |
| 25 | |
| 26 | structure CoefficientGenericComparisonData |
| 27 | {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t : Finset K} (h : s ⊆ t) where |
| 28 | iso : Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ⋙ |
| 29 | Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) ≅ |
| 30 | Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) |
| 31 | component (M : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 32 | (iso.app M).hom = |
| 33 | (Over.isoMk (Morphisms.Coefficients.genericModelLift_cartesian |
| 34 | (X := (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj M) M |
| 35 | (pullback.fst M.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) (.of_hasPullback _ _) h).isoPullback.symm |
| 36 | (Morphisms.Coefficients.genericModelLift_cartesian |
| 37 | (X := (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj M) M |
| 38 | (pullback.fst M.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 39 | (.of_hasPullback _ _) h).isoPullback_inv_snd).hom |
| 40 | |
| 41 | theorem coefficientGenericComparisonData_exists |
| 42 | {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t : Finset K} (h : s ⊆ t) : |
| 43 | Nonempty (CoefficientGenericComparisonData (R₀ := R₀) h) := by |
| 44 | refine ⟨{ |
| 45 | iso := ArithmeticGeometry.Models.DiagramComposition.Constructions.Foundations.baseChangeDiagramIso (𝟭 _) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) |
| 46 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap_comp R₀ K h) |
| 47 | component := fun M ↦ ?_ |
| 48 | }⟩ |
| 49 | rfl |
| 50 | |
| 51 | def coefficientGenericComparison {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t : Finset K} (h : s ⊆ t) : |
| 52 | Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h) ⋙ |
| 53 | Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) ≅ |
| 54 | Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s) := |
| 55 | (coefficientGenericComparisonData_exists (R₀ := R₀) h).some.iso |
| 56 | |
| 57 | def coefficientGenericComparisonAt {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t : Finset K} |
| 58 | (h : s ⊆ t) (M : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 59 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t)).obj |
| 60 | ((Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj M) ≅ |
| 61 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj M := |
| 62 | (coefficientGenericComparison (R₀ := R₀) h).app M |
| 63 | |
| 64 | theorem coefficientGenericComparison_hom |
| 65 | {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s t : Finset K} (h : s ⊆ t) |
| 66 | (M : Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) : |
| 67 | ((coefficientGenericComparison (R₀ := R₀) h).app M).hom = |
| 68 | (Over.isoMk (Morphisms.Coefficients.genericModelLift_cartesian |
| 69 | (X := (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj M) M |
| 70 | (pullback.fst M.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) (.of_hasPullback _ _) h).isoPullback.symm |
| 71 | (Morphisms.Coefficients.genericModelLift_cartesian |
| 72 | (X := (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj M) M |
| 73 | (pullback.fst M.hom (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)) |
| 74 | (.of_hasPullback _ _) h).isoPullback_inv_snd).hom := |
| 75 | (coefficientGenericComparisonData_exists (R₀ := R₀) h).some.component M |
| 76 | |
| 77 | theorem finite_generic_morphisms_descend |
| 78 | {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] {s : Finset K} {ι : Type v} {α : Type w} [Finite α] |
| 79 | (M : ι → Over (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s)) |
| 80 | (hM : ∀ i, ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (M i).hom) |
| 81 | (src dst : α → ι) |
| 82 | (a : ∀ j, (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj (M (src j)) ⟶ |
| 83 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s)).obj (M (dst j))) : |
| 84 | ∃ (t : Finset K) (h : s ⊆ t) |
| 85 | (b : ∀ j, (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj (M (src j)) ⟶ |
| 86 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K h)).obj (M (dst j))), |
| 87 | ∀ j, (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t)).map (b j) ≫ |
| 88 | ((coefficientGenericComparison (R₀ := R₀) h).app (M (dst j))).hom = |
| 89 | ((coefficientGenericComparison (R₀ := R₀) h).app (M (src j))).hom ≫ a j := by |
| 90 | let g := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K s |
| 91 | obtain ⟨t, h, b, hb⟩ := CommonStage.Coefficients.finite_morphisms_descend src dst |
| 92 | (fun i ↦ (Over.pullback g).obj (M i)) M hM |
| 93 | (fun i ↦ pullback.fst (M i).hom g) (fun i ↦ .of_hasPullback _ _) a |
| 94 | refine ⟨t, h, b, fun j ↦ ?_⟩ |
| 95 | rw [coefficientGenericComparison_hom, coefficientGenericComparison_hom] |
| 96 | have H := ArithmeticGeometry.Models.SpreadingOut.Diagram.Construction.cartesian_generic_iso_compatibility (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t) |
| 97 | _ _ (Morphisms.Coefficients.genericModelLift_cartesian (X := (Over.pullback g).obj (M (src j))) |
| 98 | (M (src j)) (pullback.fst _ g) (.of_hasPullback _ _) h) |
| 99 | (Morphisms.Coefficients.genericModelLift_cartesian (X := (Over.pullback g).obj (M (dst j))) |
| 100 | (M (dst j)) (pullback.fst _ g) (.of_hasPullback _ _) h) |
| 101 | (a j) (b j) (hb j) |
| 102 | exact H |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GenericMorphisms.Coefficients |