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.Picard.ThetaConstruction.RelativeFrameClassification |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.PolarizationGraphPower |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.PowerBaseChange |
| 4 | |
| 5 | /-! # Graph Power Compatibility Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GraphPowerCompatibilityParameter.AffineRawGraphPower |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual graph-power comparison locus over any affine Noetherian |
| 12 | base. The native projective rigidified-frame scheme classifies the |
| 13 | comparison on every test scheme, without positivity, type, or level data. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | universe u |
| 18 | |
| 19 | variable {S : Scheme.{u}} {g : ℕ} |
| 20 | variable (A : Abelian.Schemes.AbelianScheme g S) (D : Dual.Data.DualAbelianData A) |
| 21 | variable (p : A.scheme ⟶ D.abelian.scheme) [IsMonHom p] |
| 22 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L : Line.Bundles.LineBundle A.scheme.left) (d : ℕ) |
| 23 | |
| 24 | def differenceBundle : Line.Bundles.LineBundle A.scheme.left := |
| 25 | (A.zeroNormalizedBundle L).tensor |
| 26 | ((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d).reciprocalFrameBundle |
| 27 | |
| 28 | omit [IsMonHom p] in |
| 29 | theorem differenceBundle_class : |
| 30 | Line.Bundles.LineBundle.classOf (differenceBundle A D p L d) = |
| 31 | Line.Bundles.LineBundle.classOf (A.zeroNormalizedBundle L) * |
| 32 | (Line.Bundles.LineBundle.classOf ((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d))⁻¹ := by |
| 33 | rw [differenceBundle, Line.Bundles.LineBundle.classOf_tensor, Line.Bundles.LineBundle.classOf_reciprocalFrameBundle] |
| 34 | |
| 35 | def differenceBundle_zeroIso : |
| 36 | ((differenceBundle A D p L d).pullback η[A.scheme].left).sheaf ≅ |
| 37 | Line.Bundles.structureModule S := by |
| 38 | have hL : Line.Bundles.LineBundle.pullbackClass η[A.scheme].left |
| 39 | (Line.Bundles.LineBundle.classOf (A.zeroNormalizedBundle L)) = 1 := |
| 40 | Quotient.sound ⟨A.zeroNormalizedBundle_zeroIso L⟩ |
| 41 | have hz : (Line.Bundles.LineBundle.pullbackClassMonoidHom η[A.scheme].left) |
| 42 | (Line.Bundles.LineBundle.classOf (PoincareGraph.Bundles.poincareGraphBundle D p)) = 1 := |
| 43 | Quotient.sound ⟨PoincareGraph.Fibers.poincareGraphBundle_zeroIso D p⟩ |
| 44 | have hzpow : Line.Bundles.LineBundle.pullbackClass η[A.scheme].left |
| 45 | (Line.Bundles.LineBundle.classOf ((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d)) = 1 := by |
| 46 | rw [Line.Bundles.LineBundle.classOf_tensorPower] |
| 47 | change (Line.Bundles.LineBundle.pullbackClassMonoidHom η[A.scheme].left) |
| 48 | (Line.Bundles.LineBundle.classOf (PoincareGraph.Bundles.poincareGraphBundle D p) ^ d) = 1 |
| 49 | rw [map_pow, hz, one_pow] |
| 50 | have h : Line.Bundles.LineBundle.classOf ((differenceBundle A D p L d).pullback η[A.scheme].left) = 1 := by |
| 51 | change Line.Bundles.LineBundle.pullbackClass η[A.scheme].left |
| 52 | (Line.Bundles.LineBundle.classOf (differenceBundle A D p L d)) = 1 |
| 53 | rw [differenceBundle_class A D p L d] |
| 54 | change (Line.Bundles.LineBundle.pullbackClassMonoidHom η[A.scheme].left) (_ * _⁻¹) = 1 |
| 55 | rw [map_mul, map_inv] |
| 56 | change Line.Bundles.LineBundle.pullbackClass η[A.scheme].left |
| 57 | (Line.Bundles.LineBundle.classOf (A.zeroNormalizedBundle L)) * |
| 58 | (Line.Bundles.LineBundle.pullbackClass η[A.scheme].left |
| 59 | (Line.Bundles.LineBundle.classOf ((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d)))⁻¹ = 1 |
| 60 | rw [hL, hzpow, inv_one, mul_one] |
| 61 | exact Classical.choice (Quotient.exact h) |
| 62 | |
| 63 | omit [IsMonHom p] in |
| 64 | theorem differenceBundle_trivial_iff {Y : Scheme.{u}} (f : Y ⟶ A.scheme.left) : |
| 65 | Nonempty (Line.Bundles.structureModule Y ≅ ((differenceBundle A D p L d).pullback f).sheaf) ↔ |
| 66 | Nonempty (((A.zeroNormalizedBundle L).pullback f).sheaf ≅ |
| 67 | (((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d).pullback f).sheaf) := by |
| 68 | have hc : Line.Bundles.LineBundle.classOf ((differenceBundle A D p L d).pullback f) = |
| 69 | Line.Bundles.LineBundle.classOf ((A.zeroNormalizedBundle L).pullback f) * |
| 70 | (Line.Bundles.LineBundle.classOf (((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d).pullback f))⁻¹ := by |
| 71 | change Line.Bundles.LineBundle.pullbackClass f (Line.Bundles.LineBundle.classOf (differenceBundle A D p L d)) = _ |
| 72 | rw [differenceBundle_class A D p L d] |
| 73 | change (Line.Bundles.LineBundle.pullbackClassMonoidHom f) (_ * _⁻¹) = _ |
| 74 | rw [map_mul, map_inv] |
| 75 | rfl |
| 76 | constructor |
| 77 | · rintro ⟨e⟩ |
| 78 | have h : Line.Bundles.LineBundle.classOf ((differenceBundle A D p L d).pullback f) = 1 := |
| 79 | Quotient.sound ⟨e.symm⟩ |
| 80 | rw [hc, mul_inv_eq_one] at h |
| 81 | exact Quotient.exact h |
| 82 | · intro he |
| 83 | have h : Line.Bundles.LineBundle.classOf ((A.zeroNormalizedBundle L).pullback f) = |
| 84 | Line.Bundles.LineBundle.classOf (((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d).pullback f) := Quotient.sound he |
| 85 | have hq : Line.Bundles.LineBundle.classOf ((differenceBundle A D p L d).pullback f) = 1 := by |
| 86 | rw [hc, h, mul_inv_cancel] |
| 87 | exact ⟨(Classical.choice (Quotient.exact hq)).symm⟩ |
| 88 | |
| 89 | def powerBaseChangeIso {T : Scheme.{u}} (b : T ⟶ S) : |
| 90 | (((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d).pullback |
| 91 | (pullback.fst A.scheme.hom b)).sheaf ≅ |
| 92 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback b) ((Over.pullback b).map p)).tensorPower d).sheaf := |
| 93 | (PoincareGraph.Bundles.poincareGraphBundle D p).powerBaseChangeIso (pullback.fst A.scheme.hom b) d ≪≫ |
| 94 | (TensorPower.Maps.tensorPowerFunctor _ d).mapIso (PoincareGraph.Bundles.poincareGraphBundle_baseChangeIso D p b).symm |
| 95 | |
| 96 | variable [IsAffine S] [IsLocallyNoetherian S] |
| 97 | |
| 98 | local instance affineGraphPower_noetherianSections : IsNoetherianRing Γ(S, ⊤) := |
| 99 | IsLocallyNoetherian.component_noetherian ⟨⊤, isAffineOpen_top S⟩ |
| 100 | |
| 101 | def parameter : Over S := |
| 102 | FormalGeometry.Completion.Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme A.scheme P |
| 103 | (differenceBundle A D p L d) η[A.scheme].left η[A.scheme].w |
| 104 | (differenceBundle_zeroIso A D p L d) |
| 105 | |
| 106 | instance parameter_locallyOfFiniteType : LocallyOfFiniteType (parameter A D p P L d).hom := |
| 107 | FormalGeometry.Completion.Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme_locallyOfFiniteType A.scheme P |
| 108 | (differenceBundle A D p L d) η[A.scheme].left η[A.scheme].w |
| 109 | (differenceBundle_zeroIso A D p L d) |
| 110 | |
| 111 | instance parameter_quasiCompact : QuasiCompact (parameter A D p P L d).hom := |
| 112 | FormalGeometry.Completion.Projective.RigidifiedFrames.Construction.projectiveLineBundleRigidifiedFrameScheme_quasiCompact A.scheme P |
| 113 | (differenceBundle A D p L d) η[A.scheme].left η[A.scheme].w |
| 114 | (differenceBundle_zeroIso A D p L d) |
| 115 | |
| 116 | instance parameter_mono : Mono (parameter A D p P L d).hom := |
| 117 | Picard.ThetaConstruction.RelativeFrameClassification.Geometric.relativeProjective_projectiveRigidifiedFrame_mono P |
| 118 | η[A.scheme].left η[A.scheme].w (differenceBundle_zeroIso A D p L d) |
| 119 | |
| 120 | theorem parameter_cartesian_hasPoint_iff |
| 121 | {Y T : Scheme.{u}} (f : Y ⟶ A.scheme.left) (ρ : Y ⟶ T) |
| 122 | (b : T ⟶ S) (hp : IsPullback f ρ A.scheme.hom b) : |
| 123 | Nonempty (Over.mk b ⟶ parameter A D p P L d) ↔ |
| 124 | Nonempty (((A.zeroNormalizedBundle L).pullback f).sheaf ≅ |
| 125 | (((PoincareGraph.Bundles.poincareGraphBundle D p).tensorPower d).pullback f).sheaf) := by |
| 126 | have h := Picard.ThetaConstruction.RelativeFrameClassification.Geometric.relativeProjective_projectiveRigidifiedFrame_hasPoint_iff_trivialClass |
| 127 | P η[A.scheme].left η[A.scheme].w (differenceBundle_zeroIso A D p L d) f ρ b hp |
| 128 | refine h.trans ?_ |
| 129 | constructor |
| 130 | · intro hc |
| 131 | exact (differenceBundle_trivial_iff A D p L d f).mp |
| 132 | ⟨(Classical.choice (Quotient.exact hc)).symm⟩ |
| 133 | · intro hc |
| 134 | obtain ⟨e⟩ := (differenceBundle_trivial_iff A D p L d f).mpr hc |
| 135 | exact Quotient.sound ⟨e.symm⟩ |
| 136 | |
| 137 | theorem parameter_hasPoint_iff (T : Over S) : |
| 138 | Nonempty (T ⟶ parameter A D p P L d) ↔ |
| 139 | Nonempty (((A.zeroNormalizedBundle L).pullback |
| 140 | (pullback.fst A.scheme.hom T.hom)).sheaf ≅ |
| 141 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback T.hom) |
| 142 | ((Over.pullback T.hom).map p)).tensorPower d).sheaf) := by |
| 143 | have h := parameter_cartesian_hasPoint_iff A D p P L d |
| 144 | (pullback.fst A.scheme.hom T.hom) (pullback.snd A.scheme.hom T.hom) |
| 145 | T.hom (IsPullback.of_hasPullback A.scheme.hom T.hom) |
| 146 | constructor |
| 147 | · intro hp |
| 148 | exact ⟨Classical.choice (h.mp hp) ≪≫ AffineRawGraphPower.powerBaseChangeIso A D p d T.hom⟩ |
| 149 | · rintro ⟨e⟩ |
| 150 | exact h.mpr ⟨e ≪≫ (AffineRawGraphPower.powerBaseChangeIso A D p d T.hom).symm⟩ |
| 151 | |
| 152 | def parameterPointEquiv (T : Over S) : |
| 153 | (T ⟶ parameter A D p P L d) ≃ |
| 154 | PLift (Nonempty (((A.zeroNormalizedBundle L).pullback |
| 155 | (pullback.fst A.scheme.hom T.hom)).sheaf ≅ |
| 156 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback T.hom) |
| 157 | ((Over.pullback T.hom).map p)).tensorPower d).sheaf)) where |
| 158 | toFun f := ⟨(parameter_hasPoint_iff A D p P L d T).mp ⟨f⟩⟩ |
| 159 | invFun h := Classical.choice ((parameter_hasPoint_iff A D p P L d T).mpr h.down) |
| 160 | left_inv f := by |
| 161 | apply Over.OverMorphism.ext |
| 162 | apply (cancel_mono (parameter A D p P L d).hom).mp |
| 163 | exact Over.w _ |>.trans f.w.symm |
| 164 | right_inv _ := Subsingleton.elim _ _ |
| 165 | |
| 166 | def universalIso : |
| 167 | ((A.zeroNormalizedBundle L).pullback |
| 168 | (pullback.fst A.scheme.hom (parameter A D p P L d).hom)).sheaf ≅ |
| 169 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback (parameter A D p P L d).hom) |
| 170 | ((Over.pullback (parameter A D p P L d).hom).map p)).tensorPower d).sheaf := |
| 171 | Classical.choice ((parameter_hasPoint_iff A D p P L d (parameter A D p P L d)).mp ⟨𝟙 _⟩) |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.GraphPowerCompatibilityParameter.AffineRawGraphPower |