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.Veronese.AffineChartNaturality |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 3 | |
| 4 | /-! # Projective Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Veronese.ProjectiveIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Veronese scheme morphism is an isomorphism: its restrictions |
| 11 | to a covering family of target charts are the constructed ring isomorphisms. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped Classical |
| 14 | universe u |
| 15 | variable {R A : Type u} [CommRing R] [CommRing A] [Algebra R A] |
| 16 | variable (g : ℕ → Submodule R A) [GradedAlgebra g] (N : ℕ) [NeZero N] |
| 17 | |
| 18 | theorem veroneseSchemeMorphism_restrict_isIso {d : ℕ} (hd : 0 < d) |
| 19 | (f : Subalgebra.veroneseSubalgebra g N) (hf : f ∈ Grading.veroneseGrading g N d) : |
| 20 | IsIso (SchemeMorphism.veroneseSchemeMorphism g N ∣_ Proj.basicOpen (Grading.veroneseGrading g N) f) := by |
| 21 | let src := Proj.basicOpenIsoSpec g f.val hf (Nat.mul_pos (Nat.pos_of_ne_zero (NeZero.ne N)) hd) |
| 22 | let tgt := Proj.basicOpenIsoSpec (Grading.veroneseGrading g N) f hf hd |
| 23 | let a := Spec.map (CommRingCat.ofHom (AffineChartEquivalence.veroneseAwayMap g N f)) |
| 24 | have : IsIso (CommRingCat.ofHom (AffineChartEquivalence.veroneseAwayMap g N f)) := |
| 25 | (AffineChartEquivalence.veroneseAwayEquiv g N f hf).toCommRingCatIso.isIso_hom |
| 26 | have hdiag : src.inv ≫ (SchemeMorphism.veroneseSchemeMorphism g N ∣_ Proj.basicOpen (Grading.veroneseGrading g N) f) = |
| 27 | a ≫ tgt.inv := by |
| 28 | apply (cancel_mono (Proj.basicOpen (Grading.veroneseGrading g N) f).ι).mp |
| 29 | erw [Category.assoc, morphismRestrict_ι] |
| 30 | exact AffineChartNaturality.veronese_awayι_comp_map g N hd f hf |
| 31 | have hcomp : IsIso (src.inv ≫ |
| 32 | (SchemeMorphism.veroneseSchemeMorphism g N ∣_ Proj.basicOpen (Grading.veroneseGrading g N) f)) := by |
| 33 | rw [hdiag] |
| 34 | infer_instance |
| 35 | exact (isIso_comp_left_iff src.inv _).mp hcomp |
| 36 | |
| 37 | instance veroneseSchemeMorphism_isIso : IsIso (SchemeMorphism.veroneseSchemeMorphism g N) := by |
| 38 | let U (j : ProjectiveChartCover.positiveVeroneseChartIndex g N) := |
| 39 | Proj.basicOpen (Grading.veroneseGrading g N) (ProjectiveChartCover.positiveVeroneseChartElement g N j) |
| 40 | have hcover : iSup U = ⊤ := by |
| 41 | apply top_le_iff.mp |
| 42 | intro x _ |
| 43 | exact TopologicalSpace.Opens.mem_iSup.mpr (ProjectiveChartCover.veronese_regraded_charts_cover g N x) |
| 44 | apply (IsZariskiLocalAtTarget.iff_of_iSup_eq_top (P := MorphismProperty.isomorphisms Scheme) U hcover).mpr |
| 45 | intro j |
| 46 | exact veroneseSchemeMorphism_restrict_isIso g N j.1.property (ProjectiveChartCover.positiveVeroneseChartElement g N j) j.2.property |
| 47 | |
| 48 | def veroneseProjectiveIso : Proj g ≅ Proj (Grading.veroneseGrading g N) := asIso (SchemeMorphism.veroneseSchemeMorphism g N) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Veronese.ProjectiveIsomorphism |