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.Rational.DivisorParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GraphPowerParameterRestriction |
| 3 | |
| 4 | /-! # Divisor Graph Parameter -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.DivisorGraphParameter.RationalDivisorGraphLocus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The closed division locus followed by the actual rigidified-frame |
| 11 | scheme represents the original divisor and normalized graph-power |
| 12 | comparison on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | variable {S : Scheme} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 18 | variable {A : Abelian.Schemes.AbelianScheme g S} (D : Dual.Data.DualAbelianData A) |
| 19 | variable (m : Abelian.Schemes.AbelianScheme.Isogeny A D.abelian) [Etale m.hom.left] |
| 20 | variable (qS : S ⟶ Spec (.of ℚ)) (d : ℕ) (hd : 0 < d) |
| 21 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L : Line.Bundles.LineBundle A.scheme.left) |
| 22 | |
| 23 | abbrev divisorBase : Over S := |
| 24 | DivisorParameter.RationalDivisionLocus.parameter A D.abelian m qS (2 * d) (Nat.mul_pos (by decide) hd) |
| 25 | |
| 26 | abbrev divisorIsogeny : |
| 27 | Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (divisorBase D m qS d hd).hom) |
| 28 | (D.pullback (divisorBase D m qS d hd).hom).abelian := |
| 29 | DivisorParameter.RationalDivisionLocus.isogeny A D.abelian m qS (2 * d) (Nat.mul_pos (by decide) hd) |
| 30 | |
| 31 | abbrev frameBase : Over (divisorBase D m qS d hd).left := |
| 32 | Affine.GraphPowerCompatibilityParameter.AffineRawGraphPower.parameter (A.pullback (divisorBase D m qS d hd).hom) |
| 33 | (D.pullback (divisorBase D m qS d hd).hom) (divisorIsogeny D m qS d hd).hom |
| 34 | (P.baseChange (divisorBase D m qS d hd).hom) |
| 35 | (L.pullback (pullback.fst A.scheme.hom (divisorBase D m qS d hd).hom)) d |
| 36 | |
| 37 | local instance divisorBase_closed : IsClosedImmersion (divisorBase D m qS d hd).hom := |
| 38 | DivisorParameter.RationalDivisionLocus.parameter_isClosedImmersion A D.abelian m qS |
| 39 | (2 * d) (Nat.mul_pos (by decide) hd) |
| 40 | |
| 41 | local instance frameBase_locallyOfFiniteType : |
| 42 | LocallyOfFiniteType (frameBase D m qS d hd P L).hom := |
| 43 | Affine.GraphPowerCompatibilityParameter.AffineRawGraphPower.parameter_locallyOfFiniteType |
| 44 | (A.pullback (divisorBase D m qS d hd).hom) |
| 45 | (D.pullback (divisorBase D m qS d hd).hom) (divisorIsogeny D m qS d hd).hom |
| 46 | (P.baseChange (divisorBase D m qS d hd).hom) |
| 47 | (L.pullback (pullback.fst A.scheme.hom (divisorBase D m qS d hd).hom)) d |
| 48 | |
| 49 | local instance frameBase_quasiCompact : QuasiCompact (frameBase D m qS d hd P L).hom := |
| 50 | Affine.GraphPowerCompatibilityParameter.AffineRawGraphPower.parameter_quasiCompact |
| 51 | (A.pullback (divisorBase D m qS d hd).hom) |
| 52 | (D.pullback (divisorBase D m qS d hd).hom) (divisorIsogeny D m qS d hd).hom |
| 53 | (P.baseChange (divisorBase D m qS d hd).hom) |
| 54 | (L.pullback (pullback.fst A.scheme.hom (divisorBase D m qS d hd).hom)) d |
| 55 | |
| 56 | local instance frameBase_mono : Mono (frameBase D m qS d hd P L).hom := |
| 57 | Affine.GraphPowerCompatibilityParameter.AffineRawGraphPower.parameter_mono |
| 58 | (A.pullback (divisorBase D m qS d hd).hom) |
| 59 | (D.pullback (divisorBase D m qS d hd).hom) (divisorIsogeny D m qS d hd).hom |
| 60 | (P.baseChange (divisorBase D m qS d hd).hom) |
| 61 | (L.pullback (pullback.fst A.scheme.hom (divisorBase D m qS d hd).hom)) d |
| 62 | |
| 63 | def parameter : Over S := |
| 64 | (Over.map (divisorBase D m qS d hd).hom).obj (frameBase D m qS d hd P L) |
| 65 | |
| 66 | def toDivisor : parameter D m qS d hd P L ⟶ divisorBase D m qS d hd := |
| 67 | Over.homMk (frameBase D m qS d hd P L).hom rfl |
| 68 | |
| 69 | instance parameter_locallyOfFiniteType : LocallyOfFiniteType (parameter D m qS d hd P L).hom := by |
| 70 | change LocallyOfFiniteType ((frameBase D m qS d hd P L).hom ≫ (divisorBase D m qS d hd).hom) |
| 71 | infer_instance |
| 72 | |
| 73 | instance parameter_quasiCompact : QuasiCompact (parameter D m qS d hd P L).hom := by |
| 74 | change QuasiCompact ((frameBase D m qS d hd P L).hom ≫ (divisorBase D m qS d hd).hom) |
| 75 | infer_instance |
| 76 | |
| 77 | instance parameter_mono : Mono (parameter D m qS d hd P L).hom := by |
| 78 | change Mono ((frameBase D m qS d hd P L).hom ≫ (divisorBase D m qS d hd).hom) |
| 79 | infer_instance |
| 80 | |
| 81 | instance parameter_locallyNoetherian : IsLocallyNoetherian (parameter D m qS d hd P L).left := |
| 82 | LocallyOfFiniteType.isLocallyNoetherian (parameter D m qS d hd P L).hom |
| 83 | |
| 84 | def isogeny : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (parameter D m qS d hd P L).hom) |
| 85 | (D.abelian.pullback (parameter D m qS d hd P L).hom) := |
| 86 | DivisorParameter.RationalDivisionLocus.isogenyAt A D.abelian m qS (2 * d) (Nat.mul_pos (by decide) hd) |
| 87 | (toDivisor D m qS d hd P L) |
| 88 | |
| 89 | theorem isogeny_division : |
| 90 | (A.pullback (parameter D m qS d hd P L).hom).multiplication (2 * d) ≫ |
| 91 | (isogeny D m qS d hd P L).hom = |
| 92 | (Over.pullback (parameter D m qS d hd P L).hom).map m.hom := |
| 93 | DivisorParameter.RationalDivisionLocus.isogenyAt_division A D.abelian m qS (2 * d) (Nat.mul_pos (by decide) hd) |
| 94 | (toDivisor D m qS d hd P L) |
| 95 | |
| 96 | instance isogeny_etale : Etale (isogeny D m qS d hd P L).hom.left := |
| 97 | Isogeny.ParameterPullback.isogenyParameterPullback_etale A D.abelian (divisorIsogeny D m qS d hd) |
| 98 | (toDivisor D m qS d hd P L) |
| 99 | |
| 100 | def isogenyAt {T : Over S} (c : T ⟶ parameter D m qS d hd P L) : |
| 101 | Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (D.abelian.pullback T.hom) := |
| 102 | Isogeny.ParameterPullback.isogenyParameterPullback A D.abelian (isogeny D m qS d hd P L) c |
| 103 | |
| 104 | theorem isogenyAt_division {T : Over S} (c : T ⟶ parameter D m qS d hd P L) : |
| 105 | (A.pullback T.hom).multiplication (2 * d) ≫ (isogenyAt D m qS d hd P L c).hom = |
| 106 | (Over.pullback T.hom).map m.hom := |
| 107 | Isogeny.ParameterPullback.isogenyParameterPullback_division A D.abelian (isogeny D m qS d hd P L) c (2 * d) m.hom |
| 108 | (isogeny_division D m qS d hd P L) |
| 109 | |
| 110 | theorem isogenyAt_eq {T : Over S} (c : T ⟶ parameter D m qS d hd P L) |
| 111 | (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (D.abelian.pullback T.hom)) |
| 112 | (hp : (A.pullback T.hom).multiplication (2 * d) ≫ p.hom = (Over.pullback T.hom).map m.hom) : |
| 113 | isogenyAt D m qS d hd P L c = p := |
| 114 | Isogeny.ParameterPullback.isogeny_eq_of_hom_eq (Isogeny.ParameterPullback.rational_divisor_unique (T.hom ≫ qS) |
| 115 | (A.pullback T.hom) (D.abelian.pullback T.hom) (2 * d) (Nat.mul_pos (by decide) hd) |
| 116 | (isogenyAt_division D m qS d hd P L c) hp) |
| 117 | |
| 118 | theorem parameter_hasPoint_iff_of_division {T : Over S} |
| 119 | (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (D.abelian.pullback T.hom)) |
| 120 | (hp : (A.pullback T.hom).multiplication (2 * d) ≫ p.hom = (Over.pullback T.hom).map m.hom) : |
| 121 | Nonempty (T ⟶ parameter D m qS d hd P L) ↔ |
| 122 | Nonempty (((A.zeroNormalizedBundle L).pullback (pullback.fst A.scheme.hom T.hom)).sheaf ≅ |
| 123 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback T.hom) p.hom).tensorPower d).sheaf) := by |
| 124 | let Z := divisorBase D m qS d hd |
| 125 | let Q := divisorIsogeny D m qS d hd |
| 126 | have he (z : T ⟶ Z) : Geometric.MorphismBaseChange.geometricFamilyMorphismBaseChange z Q.hom = p.hom := by |
| 127 | have h := congrArg Abelian.Schemes.AbelianScheme.Isogeny.hom |
| 128 | (DivisorParameter.RationalDivisionLocus.isogenyAt_eq A D.abelian m qS (2 * d) |
| 129 | (Nat.mul_pos (by decide) hd) z p hp) |
| 130 | exact (Isogeny.ParameterPullback.isogenyParameterPullback_hom A D.abelian Q z).symm.trans h |
| 131 | constructor |
| 132 | · rintro ⟨c⟩ |
| 133 | let z : T ⟶ Z := c ≫ toDivisor D m qS d hd P L |
| 134 | let x : Over.mk z.left ⟶ frameBase D m qS d hd P L := Over.homMk c.left rfl |
| 135 | have h := (Affine.GraphPowerParameterRestriction.AffineRawGraphPower.parameter_hasPoint_iff_restriction A D z Q.hom P L d).mp ⟨x⟩ |
| 136 | rw [he z] at h |
| 137 | exact h |
| 138 | · intro hpG |
| 139 | obtain ⟨z⟩ := DivisorParameter.RationalDivisionLocus.parameter_hasPoint_of_divisor A D.abelian m qS (2 * d) |
| 140 | (Nat.mul_pos (by decide) hd) p hp |
| 141 | obtain ⟨x⟩ := (Affine.GraphPowerParameterRestriction.AffineRawGraphPower.parameter_hasPoint_iff_restriction A D z Q.hom P L d).mpr |
| 142 | (by rw [he z]; exact hpG) |
| 143 | refine ⟨Over.homMk x.left ?_⟩ |
| 144 | change x.left ≫ ((frameBase D m qS d hd P L).hom ≫ Z.hom) = T.hom |
| 145 | have hx : x.left ≫ (frameBase D m qS d hd P L).hom = z.left := x.w |
| 146 | exact (Category.assoc _ _ _).symm.trans |
| 147 | ((congrArg (fun k : T.left ⟶ Z.left => k ≫ Z.hom) hx).trans z.w) |
| 148 | |
| 149 | theorem parameter_hasPoint_iff (T : Over S) : |
| 150 | Nonempty (T ⟶ parameter D m qS d hd P L) ↔ |
| 151 | ∃ p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (D.abelian.pullback T.hom), |
| 152 | ((A.pullback T.hom).multiplication (2 * d) ≫ p.hom = (Over.pullback T.hom).map m.hom) ∧ |
| 153 | Nonempty (((A.zeroNormalizedBundle L).pullback (pullback.fst A.scheme.hom T.hom)).sheaf ≅ |
| 154 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback T.hom) p.hom).tensorPower d).sheaf) := by |
| 155 | constructor |
| 156 | · rintro ⟨c⟩ |
| 157 | refine ⟨isogenyAt D m qS d hd P L c, isogenyAt_division D m qS d hd P L c, ?_⟩ |
| 158 | exact (parameter_hasPoint_iff_of_division D m qS d hd P L |
| 159 | (isogenyAt D m qS d hd P L c) (isogenyAt_division D m qS d hd P L c)).mp ⟨c⟩ |
| 160 | · rintro ⟨p, hp, hG⟩ |
| 161 | exact (parameter_hasPoint_iff_of_division D m qS d hd P L p hp).mpr hG |
| 162 | |
| 163 | def universalIso : |
| 164 | ((A.zeroNormalizedBundle L).pullback |
| 165 | (pullback.fst A.scheme.hom (parameter D m qS d hd P L).hom)).sheaf ≅ |
| 166 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback (parameter D m qS d hd P L).hom) |
| 167 | (isogeny D m qS d hd P L).hom).tensorPower d).sheaf := |
| 168 | Classical.choice ((parameter_hasPoint_iff_of_division D m qS d hd P L |
| 169 | (isogeny D m qS d hd P L) (isogeny_division D m qS d hd P L)).mp ⟨𝟙 _⟩) |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Rational.DivisorGraphParameter.RationalDivisorGraphLocus |