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.Geometry.ComplexTorus.RiemannProjectivity.AffineImageAlgebraEq |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothChart |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.ExactProjective |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart |
| 5 | import Mathlib.AlgebraicGeometry.Limits |
| 6 | |
| 7 | /-! # Closure Chart F -/ |
| 8 | |
| 9 | namespace OAI |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart |
| 14 | |
| 15 | /-! # RiemannProjectivity: the genuine affine pullback charts of the projective closure -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Set |
| 18 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure |
| 19 | |
| 20 | variable {n : ℕ} |
| 21 | |
| 22 | def scheme (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : Scheme := |
| 23 | pullback (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i) (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S) |
| 24 | |
| 25 | def toAffine (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 26 | scheme S i ⟶ Spec (.of (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)) := pullback.fst _ _ |
| 27 | |
| 28 | def toClosure (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 29 | scheme S i ⟶ ProjectiveClosureIs.Constructions.ProjectiveClosure.closureScheme S := pullback.snd _ _ |
| 30 | |
| 31 | instance toAffine_closed (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 32 | IsClosedImmersion (toAffine S i) := inferInstanceAs (IsClosedImmersion (pullback.fst _ _)) |
| 33 | |
| 34 | instance toClosure_open (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 35 | IsOpenImmersion (toClosure S i) := inferInstanceAs (IsOpenImmersion (pullback.snd _ _)) |
| 36 | |
| 37 | instance isAffine (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 38 | IsAffine (scheme S i) := OAI.AlgebraicGeometry.Foundations.Scheme.AffineClosedImmersion.affineClosedImmersion_source_isAffine (toAffine S i) |
| 39 | |
| 40 | instance isReduced (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 41 | IsReduced (scheme S i) := isReduced_of_isOpenImmersion (toClosure S i) |
| 42 | |
| 43 | def over (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : Over OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := |
| 44 | Over.mk (toAffine S i ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i) |
| 45 | |
| 46 | instance over_isAffine (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 47 | IsAffine (over S i).left := inferInstanceAs (IsAffine (scheme S i)) |
| 48 | |
| 49 | instance over_isReduced (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 50 | IsReduced (over S i).left := inferInstanceAs (IsReduced (scheme S i)) |
| 51 | |
| 52 | set_option backward.isDefEq.respectTransparency false in |
| 53 | def embedding (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 54 | over S i ⟶ OAI.AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) := |
| 55 | Over.homMk (toAffine S i) rfl |
| 56 | |
| 57 | instance embedding_closed (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 58 | IsClosedImmersion (embedding S i).left := inferInstanceAs (IsClosedImmersion (toAffine S i)) |
| 59 | |
| 60 | theorem toClosure_over (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 61 | toClosure S i ≫ (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureOver S).hom = (over S i).hom := by |
| 62 | change pullback.snd _ _ ≫ (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) = |
| 63 | pullback.fst _ _ ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i |
| 64 | rw [← Category.assoc, ← pullback.condition, Category.assoc, OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap_over] |
| 65 | |
| 66 | end Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart |
| 67 | |
| 68 | namespace Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureChartCover |
| 69 | |
| 70 | /-! # RiemannProjectivity: the polynomial affine charts cover the native projective closure -/ |
| 71 | |
| 72 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Set |
| 73 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure OAI.Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart |
| 74 | |
| 75 | variable {n : ℕ} |
| 76 | |
| 77 | def projectiveCover (n : ℕ) : (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n).OpenCover where |
| 78 | I₀ := Fin (n + 1) |
| 79 | X i := Spec (.of (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)) |
| 80 | f i := OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i |
| 81 | mem₀ := by |
| 82 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 83 | refine ⟨?_, inferInstance⟩ |
| 84 | intro x |
| 85 | obtain ⟨i, hi⟩ := OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen n x |
| 86 | refine ⟨i, (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).hom ⟨x, hi⟩, ?_⟩ |
| 87 | change ((OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).hom ≫ |
| 88 | (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv ≫ (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ι) ⟨x, hi⟩ = x |
| 89 | simp |
| 90 | |
| 91 | def cover (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) : |
| 92 | (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureScheme S).OpenCover := (projectiveCover n).pullback₂ (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S) |
| 93 | |
| 94 | theorem cover_f (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) (i : Fin (n + 1)) : |
| 95 | (cover S).f i = ClosureAffineChart.toClosure S i := rfl |
| 96 | |
| 97 | set_option backward.isDefEq.respectTransparency false in |
| 98 | theorem smooth (S : Set (Projectivization ℂ (Fin (n + 1) → ℂ))) |
| 99 | (h : ∀ i : Fin (n + 1), Smooth (ClosureAffineChart.over S i).hom) : Smooth (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureOver S).hom := by |
| 100 | apply IsZariskiLocalAtSource.of_openCover (P := @Smooth.{0}) (cover S) |
| 101 | intro i |
| 102 | rw [cover_f, ClosureAffineChart.toClosure_over] |
| 103 | exact h i |
| 104 | |
| 105 | end Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureChartCover |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI |