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.Foundations.Scheme.ClosedProjective |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveVectorPoint |
| 4 | |
| 5 | /-! # Positive Projective Ambient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PositiveProjectiveAmbient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual projective presentation admits a positive-dimensional projective ambient space, including zero-dimensional presentations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem projectiveZeroCoordinate_eq_top : Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 0 0 = ⊤ := by |
| 16 | apply top_unique |
| 17 | intro x _ |
| 18 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen 0 x |
| 19 | have h : i = 0 := Fin.ext (by omega) |
| 20 | exact h ▸ hi |
| 21 | |
| 22 | theorem projectiveZeroToBase_isIso : IsIso (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 0) := by |
| 23 | let : IsEmpty {j : Fin (0 + 1) // j ≠ 0} := |
| 24 | ⟨fun j => j.property (Fin.ext (by omega))⟩ |
| 25 | have : IsIso (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 0 0).ι := by |
| 26 | rw [projectiveZeroCoordinate_eq_top] |
| 27 | change IsIso (Foundations.Scheme.ProjectiveSpace.projectiveSpace 0).topIso.hom |
| 28 | infer_instance |
| 29 | have : IsIso ((Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 0 0).ι ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 0) := by |
| 30 | rw [← Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoAffineSpace_over 0 0] |
| 31 | infer_instance |
| 32 | exact IsIso.of_isIso_comp_left (Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen 0 0).ι (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 0) |
| 33 | |
| 34 | def projectiveLineBasePoint : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace 1 := |
| 35 | Foundations.Scheme.ProjectiveVectorPoint.projectiveVectorPoint (fun _ : Fin 2 => (1 : ℂ)) (by |
| 36 | intro h |
| 37 | exact one_ne_zero (congrFun h 0)) |
| 38 | |
| 39 | theorem projectiveLineBasePoint_over : |
| 40 | projectiveLineBasePoint ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1 = 𝟙 Foundations.Scheme.ProjectiveSpace.complexBase := |
| 41 | Foundations.Scheme.ProjectiveVectorPoint.projectiveVectorPoint_over_base _ _ |
| 42 | |
| 43 | theorem projectiveLineBasePoint_closed : IsClosedImmersion projectiveLineBasePoint := by |
| 44 | have : IsClosedImmersion (projectiveLineBasePoint ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) := by |
| 45 | rw [projectiveLineBasePoint_over] |
| 46 | infer_instance |
| 47 | exact IsClosedImmersion.of_comp projectiveLineBasePoint (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 48 | |
| 49 | theorem exists_positive_projective_embedding {X : Scheme.{0}} {g : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 50 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X g) : |
| 51 | ∃ (n : ℕ) (i : X ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace (n + 1)), |
| 52 | IsClosedImmersion i ∧ i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (n + 1) = g := by |
| 53 | rcases P with ⟨n, i, hi, hg⟩ |
| 54 | cases n with |
| 55 | | zero => |
| 56 | have := projectiveZeroToBase_isIso |
| 57 | have := projectiveLineBasePoint_closed |
| 58 | refine ⟨0, i ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 0 ≫ projectiveLineBasePoint, inferInstance, ?_⟩ |
| 59 | rw [Category.assoc, Category.assoc, projectiveLineBasePoint_over, Category.comp_id] |
| 60 | exact hg |
| 61 | | succ n => exact ⟨n, i, hi, hg⟩ |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.Comparison.Betti.PositiveProjectiveAmbient |