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.AbelianModuli.HilbertConstruction.Isogeny.ParameterPullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.GroupDivisionLocus |
| 3 | |
| 4 | /-! # Divisor Parameter -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.DivisorParameter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual closed division-by-a-unit locus carries its universal |
| 11 | finite etale isogeny. Its classification retains every test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | section |
| 16 | |
| 17 | theorem unit_divisor_unique |
| 18 | {S : Scheme} {g h : ℕ} |
| 19 | (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) (n : ℕ) |
| 20 | (hnUnit : IsUnit (n : Γ(S, ⊤))) |
| 21 | {m p q : A.scheme ⟶ B.scheme} |
| 22 | (hp : A.multiplication n ≫ p = m) (hq : A.multiplication n ≫ q = m) : p = q := by |
| 23 | have hg := GroupDivisionLocus.unit_multiplication_geometry A n hnUnit |
| 24 | let : IsFinite (A.multiplication n).left := hg.1 |
| 25 | let : Flat (A.multiplication n).left := hg.2.1 |
| 26 | let : Surjective (A.multiplication n).left := hg.2.2.1 |
| 27 | let : EffectiveEpi (A.multiplication n).left := inferInstance |
| 28 | let : Epi (A.multiplication n) := Over.epi_of_epi_left _ |
| 29 | exact (cancel_epi (A.multiplication n)).mp (hp.trans hq.symm) |
| 30 | |
| 31 | end |
| 32 | |
| 33 | namespace UnitDivisionLocus |
| 34 | |
| 35 | variable {S : Scheme} [IsLocallyNoetherian S] {g h : ℕ} |
| 36 | variable (A : Abelian.Schemes.AbelianScheme g S) (B : Abelian.Schemes.AbelianScheme h S) |
| 37 | variable (m : Abelian.Schemes.AbelianScheme.Isogeny A B) (n : ℕ) (hnUnit : IsUnit (n : Γ(S, ⊤))) |
| 38 | |
| 39 | include hnUnit in |
| 40 | private theorem exists_parameter : |
| 41 | ∃ (Z : Over S) (j : Z ⟶ Over.mk (𝟙 S)), IsClosedImmersion j.left ∧ |
| 42 | ∀ T : Over S, |
| 43 | (∃! p : {f : (A.pullback T.hom).scheme ⟶ (B.pullback T.hom).scheme // IsMonHom f}, |
| 44 | (A.pullback T.hom).multiplication n ≫ p.val = (Over.pullback T.hom).map m.hom) ↔ |
| 45 | ∃! y : T ⟶ Z, y ≫ j = Over.mkIdTerminal.from T := |
| 46 | GroupDivisionLocus.unit_group_division_closed_locus A B n hnUnit m.hom |
| 47 | |
| 48 | def parameter : Over S := (exists_parameter A B m n hnUnit).choose |
| 49 | |
| 50 | def inclusion : parameter A B m n hnUnit ⟶ Over.mk (𝟙 S) := |
| 51 | (exists_parameter A B m n hnUnit).choose_spec.choose |
| 52 | |
| 53 | private theorem inclusion_spec : |
| 54 | IsClosedImmersion (inclusion A B m n hnUnit).left ∧ |
| 55 | ∀ T : Over S, |
| 56 | (∃! p : {f : (A.pullback T.hom).scheme ⟶ (B.pullback T.hom).scheme // IsMonHom f}, |
| 57 | (A.pullback T.hom).multiplication n ≫ p.val = (Over.pullback T.hom).map m.hom) ↔ |
| 58 | ∃! y : T ⟶ parameter A B m n hnUnit, |
| 59 | y ≫ inclusion A B m n hnUnit = Over.mkIdTerminal.from T := |
| 60 | (exists_parameter A B m n hnUnit).choose_spec.choose_spec |
| 61 | |
| 62 | instance parameter_isClosedImmersion : IsClosedImmersion (parameter A B m n hnUnit).hom := by |
| 63 | have he : (inclusion A B m n hnUnit).left = (parameter A B m n hnUnit).hom := by |
| 64 | have hw : (inclusion A B m n hnUnit).left ≫ 𝟙 S = (parameter A B m n hnUnit).hom := |
| 65 | (inclusion A B m n hnUnit).w |
| 66 | exact (Category.comp_id _).symm.trans hw |
| 67 | exact he ▸ (inclusion_spec A B m n hnUnit).1 |
| 68 | |
| 69 | instance parameter_locallyNoetherian : IsLocallyNoetherian (parameter A B m n hnUnit).left := |
| 70 | LocallyOfFiniteType.isLocallyNoetherian (parameter A B m n hnUnit).hom |
| 71 | |
| 72 | instance parameter_affine [IsAffine S] : IsAffine (parameter A B m n hnUnit).left := |
| 73 | isAffine_of_isAffineHom (parameter A B m n hnUnit).hom |
| 74 | |
| 75 | theorem parameter_hasPoint_iff (T : Over S) : |
| 76 | Nonempty (T ⟶ parameter A B m n hnUnit) ↔ |
| 77 | ∃! p : {f : (A.pullback T.hom).scheme ⟶ (B.pullback T.hom).scheme // IsMonHom f}, |
| 78 | (A.pullback T.hom).multiplication n ≫ p.val = (Over.pullback T.hom).map m.hom := by |
| 79 | constructor |
| 80 | · rintro ⟨y⟩ |
| 81 | apply ((inclusion_spec A B m n hnUnit).2 T).mpr |
| 82 | refine ⟨y, Over.mkIdTerminal.hom_ext _ _, ?_⟩ |
| 83 | intro z _ |
| 84 | apply Over.OverMorphism.ext |
| 85 | apply (cancel_mono (parameter A B m n hnUnit).hom).mp |
| 86 | exact z.w.trans y.w.symm |
| 87 | · intro hp |
| 88 | obtain ⟨y, _, _⟩ := ((inclusion_spec A B m n hnUnit).2 T).mp hp |
| 89 | exact ⟨y⟩ |
| 90 | |
| 91 | theorem parameter_hasPoint_of_divisor {T : Over S} |
| 92 | (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 93 | (hp : (A.pullback T.hom).multiplication n ≫ p.hom = (Over.pullback T.hom).map m.hom) : |
| 94 | Nonempty (T ⟶ parameter A B m n hnUnit) := by |
| 95 | apply (parameter_hasPoint_iff A B m n hnUnit T).mpr |
| 96 | refine ⟨⟨p.hom, inferInstance⟩, hp, ?_⟩ |
| 97 | intro z hz |
| 98 | exact Subtype.ext (unit_divisor_unique |
| 99 | (A.pullback T.hom) (B.pullback T.hom) n |
| 100 | (Abelian.Schemes.level_unit_under_base_change T.hom n hnUnit) hz hp) |
| 101 | |
| 102 | private theorem universal_division : |
| 103 | ∃! p : {f : (A.pullback (parameter A B m n hnUnit).hom).scheme ⟶ |
| 104 | (B.pullback (parameter A B m n hnUnit).hom).scheme // IsMonHom f}, |
| 105 | (A.pullback (parameter A B m n hnUnit).hom).multiplication n ≫ p.val = |
| 106 | (Over.pullback (parameter A B m n hnUnit).hom).map m.hom := |
| 107 | (parameter_hasPoint_iff A B m n hnUnit (parameter A B m n hnUnit)).mp ⟨𝟙 _⟩ |
| 108 | |
| 109 | def hom : (A.pullback (parameter A B m n hnUnit).hom).scheme ⟶ |
| 110 | (B.pullback (parameter A B m n hnUnit).hom).scheme := |
| 111 | (universal_division A B m n hnUnit).choose.val |
| 112 | |
| 113 | instance hom_isMonHom : IsMonHom (UnitDivisionLocus.hom A B m n hnUnit) := |
| 114 | (universal_division A B m n hnUnit).choose.property |
| 115 | |
| 116 | theorem hom_division : |
| 117 | (A.pullback (parameter A B m n hnUnit).hom).multiplication n ≫ UnitDivisionLocus.hom A B m n hnUnit = |
| 118 | (Over.pullback (parameter A B m n hnUnit).hom).map m.hom := |
| 119 | (universal_division A B m n hnUnit).choose_spec.1 |
| 120 | |
| 121 | variable [Etale m.hom.left] |
| 122 | |
| 123 | private theorem hom_geometry : IsFinite (UnitDivisionLocus.hom A B m n hnUnit).left ∧ |
| 124 | Etale (UnitDivisionLocus.hom A B m n hnUnit).left ∧ Surjective (UnitDivisionLocus.hom A B m n hnUnit).left := by |
| 125 | let b := (parameter A B m n hnUnit).hom |
| 126 | let mb : (A.pullback b).scheme ⟶ (B.pullback b).scheme := (m.pullback b).hom |
| 127 | let : IsFinite mb.left := (m.pullback b).finite |
| 128 | let : Etale mb.left := |
| 129 | MorphismProperty.overPullbackMap b m.hom (inferInstance : Etale m.hom.left) |
| 130 | let : Surjective mb.left := (m.pullback b).surjective |
| 131 | exact GroupDivisionLocus.unit_divisor_finite_etale (A.pullback b) (B.pullback b) n |
| 132 | (Abelian.Schemes.level_unit_under_base_change b n hnUnit) |
| 133 | mb (UnitDivisionLocus.hom A B m n hnUnit) (hom_division A B m n hnUnit) |
| 134 | |
| 135 | def isogeny : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (parameter A B m n hnUnit).hom) |
| 136 | (B.pullback (parameter A B m n hnUnit).hom) := by |
| 137 | let : Etale (UnitDivisionLocus.hom A B m n hnUnit).left := (hom_geometry A B m n hnUnit).2.1 |
| 138 | exact { hom := UnitDivisionLocus.hom A B m n hnUnit |
| 139 | preservesGroup := inferInstance |
| 140 | finite := (hom_geometry A B m n hnUnit).1 |
| 141 | flat := inferInstance |
| 142 | surjective := (hom_geometry A B m n hnUnit).2.2 } |
| 143 | |
| 144 | instance isogeny_etale : Etale (isogeny A B m n hnUnit).hom.left := |
| 145 | (hom_geometry A B m n hnUnit).2.1 |
| 146 | |
| 147 | def isogenyAt {T : Over S} (c : T ⟶ parameter A B m n hnUnit) : |
| 148 | Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom) := |
| 149 | Isogeny.ParameterPullback.isogenyParameterPullback A B (isogeny A B m n hnUnit) c |
| 150 | |
| 151 | theorem isogenyAt_division {T : Over S} (c : T ⟶ parameter A B m n hnUnit) : |
| 152 | (A.pullback T.hom).multiplication n ≫ (isogenyAt A B m n hnUnit c).hom = |
| 153 | (Over.pullback T.hom).map m.hom := |
| 154 | Isogeny.ParameterPullback.isogenyParameterPullback_division A B (isogeny A B m n hnUnit) c n m.hom |
| 155 | (hom_division A B m n hnUnit) |
| 156 | |
| 157 | theorem isogenyAt_eq {T : Over S} (c : T ⟶ parameter A B m n hnUnit) |
| 158 | (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (B.pullback T.hom)) |
| 159 | (hp : (A.pullback T.hom).multiplication n ≫ p.hom = (Over.pullback T.hom).map m.hom) : |
| 160 | isogenyAt A B m n hnUnit c = p := |
| 161 | Isogeny.ParameterPullback.isogeny_eq_of_hom_eq (unit_divisor_unique |
| 162 | (A.pullback T.hom) (B.pullback T.hom) n |
| 163 | (Abelian.Schemes.level_unit_under_base_change T.hom n hnUnit) (isogenyAt_division A B m n hnUnit c) hp) |
| 164 | |
| 165 | end UnitDivisionLocus |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.DivisorParameter |