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.Quotients.FiniteDescent.GlobalQuotientOf |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.QuotientTransitionsOpen |
| 3 | |
| 4 | /-! # Chart -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.Chart.Construction.ChartQuotients |
| 7 | |
| 8 | /-! |
| 9 | # Gluing local quotients without supplied quotient transitions |
| 10 | |
| 11 | Only the local quotients and their kernel pairs are input data. The transition |
| 12 | maps, their functor laws, and the cartesian quotient diagram are constructed |
| 13 | by effective descent and uniqueness. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | /-- Local quotient data on an open cover. The relation chart is the source |
| 21 | restriction of the original relation, with target in the same object chart. -/ |
| 22 | structure Data {R X : Scheme.{u}} (s t : R ⟶ X) (𝒰 : X.OpenCover) where |
| 23 | quotient : 𝒰.I₀ → Scheme.{u} |
| 24 | projection : ∀ i, 𝒰.X i ⟶ quotient i |
| 25 | finite : ∀ i, IsFinite (projection i) |
| 26 | flat : ∀ i, Flat (projection i) |
| 27 | finitelyPresented : ∀ i, LocallyOfFinitePresentation (projection i) |
| 28 | surjective : ∀ i, Surjective (projection i) |
| 29 | relation : 𝒰.I₀ → Scheme.{u} |
| 30 | inclusion : ∀ i, relation i ⟶ R |
| 31 | source : ∀ i, relation i ⟶ 𝒰.X i |
| 32 | target : ∀ i, relation i ⟶ 𝒰.X i |
| 33 | source_isPullback : ∀ i, IsPullback (source i) (inclusion i) (𝒰.f i) s |
| 34 | target_comp : ∀ i, target i ≫ 𝒰.f i = inclusion i ≫ t |
| 35 | kernelPair : ∀ i, IsKernelPair (projection i) (source i) (target i) |
| 36 | |
| 37 | namespace Data |
| 38 | |
| 39 | variable {R X : Scheme.{u}} {s t : R ⟶ X} {𝒰 : X.OpenCover} (d : Data s t 𝒰) |
| 40 | |
| 41 | instance (i : 𝒰.I₀) : IsFinite (d.projection i) := d.finite i |
| 42 | instance (i : 𝒰.I₀) : Flat (d.projection i) := d.flat i |
| 43 | instance (i : 𝒰.I₀) : LocallyOfFinitePresentation (d.projection i) := d.finitelyPresented i |
| 44 | instance (i : 𝒰.I₀) : Surjective (d.projection i) := d.surjective i |
| 45 | |
| 46 | variable [Category.{v} 𝒰.I₀] [𝒰.LocallyDirected] |
| 47 | |
| 48 | /-- The transition between source restrictions of the relation. -/ |
| 49 | noncomputable def relationMap {i j : 𝒰.I₀} (f : i ⟶ j) : d.relation i ⟶ d.relation j := |
| 50 | (d.source_isPullback j).lift (d.source i ≫ 𝒰.trans f) (d.inclusion i) (by |
| 51 | rw [Category.assoc, 𝒰.trans_map, (d.source_isPullback i).w]) |
| 52 | |
| 53 | @[reassoc (attr := simp)] |
| 54 | theorem relationMap_source {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 55 | d.relationMap f ≫ d.source j = d.source i ≫ 𝒰.trans f := |
| 56 | (d.source_isPullback j).lift_fst _ _ _ |
| 57 | |
| 58 | @[reassoc (attr := simp)] |
| 59 | theorem relationMap_inclusion {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 60 | d.relationMap f ≫ d.inclusion j = d.inclusion i := |
| 61 | (d.source_isPullback j).lift_snd _ _ _ |
| 62 | |
| 63 | theorem relationMap_isPullback {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 64 | IsPullback (d.source i) (d.relationMap f) (𝒰.trans f) (d.source j) := by |
| 65 | apply IsPullback.of_bot _ (d.relationMap_source f).symm (d.source_isPullback j) |
| 66 | simpa only [d.relationMap_inclusion, 𝒰.trans_map] using d.source_isPullback i |
| 67 | |
| 68 | theorem relationMap_target {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 69 | d.target i ≫ 𝒰.trans f = d.relationMap f ≫ d.target j := by |
| 70 | apply (cancel_mono (𝒰.f j)).mp |
| 71 | simp only [Category.assoc, 𝒰.trans_map, d.target_comp, d.relationMap_inclusion_assoc] |
| 72 | |
| 73 | theorem existsUnique_transition {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 74 | ∃! g : d.quotient i ⟶ d.quotient j, |
| 75 | d.projection i ≫ g = 𝒰.trans f ≫ d.projection j ∧ IsOpenImmersion g ∧ |
| 76 | IsPullback (d.projection i) (𝒰.trans f) g (d.projection j) := by |
| 77 | have : IsOpenImmersion (𝒰.trans f) := 𝒰.property_trans f |
| 78 | exact QuotientTransitionsOpen.Construction.QuotientTransitions.existsUnique_open_transition |
| 79 | (d.projection j) (d.kernelPair j) (𝒰.trans f) (d.relationMap f) |
| 80 | (d.source i) (d.target i) (d.relationMap_isPullback f) (d.relationMap_target f) |
| 81 | (d.projection i) (d.kernelPair i) |
| 82 | |
| 83 | /-- The canonical map between quotient charts. -/ |
| 84 | noncomputable def transition {i j : 𝒰.I₀} (f : i ⟶ j) : d.quotient i ⟶ d.quotient j := |
| 85 | (d.existsUnique_transition f).choose |
| 86 | |
| 87 | theorem transition_properties {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 88 | d.projection i ≫ d.transition f = 𝒰.trans f ≫ d.projection j ∧ |
| 89 | IsOpenImmersion (d.transition f) ∧ |
| 90 | IsPullback (d.projection i) (𝒰.trans f) (d.transition f) (d.projection j) := |
| 91 | (d.existsUnique_transition f).choose_spec.1 |
| 92 | |
| 93 | @[reassoc (attr := simp)] |
| 94 | theorem transition_fac {i j : 𝒰.I₀} (f : i ⟶ j) : |
| 95 | d.projection i ≫ d.transition f = 𝒰.trans f ≫ d.projection j := |
| 96 | (d.transition_properties f).1 |
| 97 | |
| 98 | instance {i j : 𝒰.I₀} (f : i ⟶ j) : IsOpenImmersion (d.transition f) := |
| 99 | (d.transition_properties f).2.1 |
| 100 | |
| 101 | /-- The quotient diagram; its identity and composition laws follow from |
| 102 | epimorphic local quotient projections. -/ |
| 103 | noncomputable def functor : 𝒰.I₀ ⥤ Scheme.{u} where |
| 104 | obj := d.quotient |
| 105 | map := d.transition |
| 106 | map_id i := by |
| 107 | apply (cancel_epi (d.projection i)).mp |
| 108 | rw [d.transition_fac, 𝒰.trans_id, Category.id_comp, Category.comp_id] |
| 109 | map_comp f g := by |
| 110 | apply (cancel_epi (d.projection _)).mp |
| 111 | rw [d.transition_fac, ← Category.assoc, d.transition_fac, Category.assoc, |
| 112 | d.transition_fac, ← Category.assoc, ← 𝒰.trans_comp] |
| 113 | |
| 114 | /-- The local quotient projections form a natural transformation. -/ |
| 115 | noncomputable def natTrans : 𝒰.functorOfLocallyDirected ⟶ d.functor where |
| 116 | app := d.projection |
| 117 | naturality _ _ f := (d.transition_fac f).symm |
| 118 | |
| 119 | theorem equifibered : d.natTrans.Equifibered := fun {_ _} f => |
| 120 | (d.transition_properties f).2.2.flip |
| 121 | |
| 122 | instance {i j : 𝒰.I₀} (f : i ⟶ j) : IsOpenImmersion (d.functor.map f) := |
| 123 | inferInstanceAs (IsOpenImmersion (d.transition f)) |
| 124 | |
| 125 | include d in |
| 126 | /-- Local quotient data alone suffice to build the global quotient. -/ |
| 127 | theorem exists_quotient [Small.{u} 𝒰.I₀] [Quiver.IsThin 𝒰.I₀] : |
| 128 | ∃ (Q : Scheme.{u}) (π : X ⟶ Q), |
| 129 | IsFinite π ∧ Flat π ∧ LocallyOfFinitePresentation π ∧ Surjective π ∧ |
| 130 | IsKernelPair π s t ∧ |
| 131 | ∀ (T : Scheme.{u}) (f : X ⟶ T), s ≫ f = t ≫ f → |
| 132 | ∃! g : Q ⟶ T, π ≫ g = f := |
| 133 | GlobalQuotientOf.Construction.GlobalQuotient.exists_of_cartesian_charts s t 𝒰 d.functor d.natTrans d.equifibered |
| 134 | d.finite d.flat d.finitelyPresented d.surjective d.relation d.inclusion |
| 135 | d.source d.target d.source_isPullback d.target_comp d.kernelPair |
| 136 | |
| 137 | end Data |
| 138 | |
| 139 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.Chart.Construction.ChartQuotients |