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