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 Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FlatDescent |
| 4 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 5 | import Lean.Util.CollectAxioms |
| 6 | |
| 7 | /-! # Algebraically Closed Finite Points -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AlgebraicallyClosedFinitePoints.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Every field-valued point of a quasi-finite scheme over an |
| 14 | algebraically closed field is defined over that field. The result |
| 15 | retains the specified point and the exact factorization. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false in |
| 20 | theorem algebraicallyClosed_quasiFinite_point_factors |
| 21 | {k K : Type} [Field k] [IsAlgClosed k] [Field K] |
| 22 | {X : Scheme.{0}} (f : X ⟶ Spec (.of k)) [LocallyQuasiFinite f] [LocallyOfFiniteType f] |
| 23 | (u : Spec (.of K) ⟶ Spec (.of k)) (p : Spec (.of K) ⟶ X) (hp : p ≫ f = u) : |
| 24 | ∃ r : Spec (.of k) ⟶ X, r ≫ f = 𝟙 _ ∧ u ≫ r = p := by |
| 25 | have : IsLocallyArtinian X := IsLocallyArtinian.of_locallyQuasiFinite f |
| 26 | obtain ⟨⟨x, a⟩, rfl⟩ := (Scheme.SpecToEquivOfField K X).symm.surjective p |
| 27 | have hx : IsClosed ({x} : Set X) := isClosed_singleton |
| 28 | let e := residueFieldIsoBase f x hx |
| 29 | have he : X.fromSpecResidueField x ≫ f ≫ Spec.map e.hom = 𝟙 _ := by |
| 30 | rw [← Category.assoc, ← SpecMap_residueFieldIsoBase_inv f x hx, |
| 31 | ← Spec.map_comp, e.hom_inv_id, Spec.map_id] |
| 32 | refine ⟨pointOfClosedPoint f x hx, pointOfClosedPoint_comp f x hx, ?_⟩ |
| 33 | change u ≫ (Spec.map e.hom ≫ X.fromSpecResidueField x) = |
| 34 | Spec.map a ≫ X.fromSpecResidueField x |
| 35 | change (Spec.map a ≫ X.fromSpecResidueField x) ≫ f = u at hp |
| 36 | rw [← hp] |
| 37 | simpa only [Category.assoc, Category.id_comp] using |
| 38 | congrArg (fun q => Spec.map a ≫ q ≫ X.fromSpecResidueField x) he |
| 39 | |
| 40 | set_option backward.isDefEq.respectTransparency false in |
| 41 | theorem algebraicallyClosed_quasiFinite_points_bijective |
| 42 | {k K : Type} [Field k] [IsAlgClosed k] [Field K] |
| 43 | (X : Over (Spec (.of k))) [LocallyQuasiFinite X.hom] [LocallyOfFiniteType X.hom] |
| 44 | (u : Spec (.of K) ⟶ Spec (.of k)) : |
| 45 | Function.Bijective (fun r : Over.mk (𝟙 (Spec (.of k))) ⟶ X => |
| 46 | (Over.homMk u (Category.comp_id u) : Over.mk u ⟶ Over.mk (𝟙 _)) ≫ r) := by |
| 47 | have : Surjective u := ⟨Function.surjective_to_subsingleton _⟩ |
| 48 | constructor |
| 49 | · intro r s h |
| 50 | apply Over.OverMorphism.ext |
| 51 | exact (cancel_epi u).mp (congrArg Over.Hom.left h) |
| 52 | · intro p |
| 53 | obtain ⟨r, hr, he⟩ := algebraicallyClosed_quasiFinite_point_factors X.hom u p.left p.w |
| 54 | exact ⟨Over.homMk r hr, Over.OverMorphism.ext he⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.AlgebraicallyClosedFinitePoints.Construction |