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.RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme |
| 5 | |
| 6 | /-! # Section Evaluation -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.Projective.SectionEvaluation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual evaluation of the algebraic hyperplane-frame coordinates. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | theorem projective_away_section_value (n : ℕ) (i : Fin (n + 1)) |
| 17 | (a : AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i →+* ℂ) (r : AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i) |
| 18 | (hp : (Spec.map (CommRingCat.ofHom a) ≫ Proj.awayι (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 19 | (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by omega)) (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) : |
| 20 | Complex.SectionEvaluation.complexSectionValue (Spec.map (CommRingCat.ofHom a) ≫ Proj.awayι (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 21 | (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by omega)) (AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) hp |
| 22 | ((Proj.awayToSection (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)) r) = a r := by |
| 23 | let U := AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i |
| 24 | let e := Proj.basicOpenIsoSpec (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) |
| 25 | (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by omega) |
| 26 | change Complex.SectionEvaluation.complexSectionValue ((Spec.map (CommRingCat.ofHom a) ≫ e.inv) ≫ U.ι) U hp |
| 27 | ((Proj.awayToSection (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)) r) = _ |
| 28 | rw [Complex.SectionEvaluation.complexSectionValue_open] |
| 29 | have hsection : U.topIso.inv ((Proj.awayToSection (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)) r) = |
| 30 | e.hom.appTop ((Scheme.ΓSpecIso (.of (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i))).inv r) := by |
| 31 | change _ = (Proj.basicOpenToSpec (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)).appTop _ |
| 32 | rw [show (Proj.basicOpenToSpec (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)).appTop = |
| 33 | (Scheme.ΓSpecIso _).hom ≫ Proj.awayToSection (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) ≫ U.topIso.inv |
| 34 | from Proj.basicOpenToSpec_app_top _ _] |
| 35 | simp only [CommRingCat.comp_apply, Iso.inv_hom_id_apply] |
| 36 | rfl |
| 37 | rw [hsection] |
| 38 | exact Complex.SectionEvaluation.complexSectionValue_affineIso e a r |
| 39 | |
| 40 | theorem projective_affine_localEquation_value (n : ℕ) (i j : Fin (n + 1)) |
| 41 | (z : {j : Fin (n + 1) // j ≠ i} → ℂ) |
| 42 | (hp : AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveAffinePoint n i z (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) : |
| 43 | Complex.SectionEvaluation.complexSectionValue (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveAffinePoint n i z) (AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) hp |
| 44 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := ℂ) i j) = |
| 45 | AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne i z j := by |
| 46 | let a : AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartRing n i →+* ℂ := (MvPolynomial.eval z).comp (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i) |
| 47 | have hpoint : AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveAffinePoint n i z = Spec.map (CommRingCat.ofHom a) ≫ |
| 48 | Proj.awayι (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i) (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) (by omega) := by |
| 49 | rw [AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveAffinePoint, AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap, AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec_inv_ι, |
| 50 | ← Category.assoc, ← Spec.map_comp] |
| 51 | rfl |
| 52 | revert hp |
| 53 | rw [hpoint] |
| 54 | intro hp |
| 55 | rw [AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation_eq_isLocalizationElem] |
| 56 | change Complex.SectionEvaluation.complexSectionValue _ _ _ ((Proj.awayToSection (AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveGrading n) (MvPolynomial.X i)) |
| 57 | (HomogeneousLocalization.Away.isLocalizationElem (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) |
| 58 | (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n j))) = _ |
| 59 | rw [projective_away_section_value] |
| 60 | change MvPolynomial.eval z (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartToPolynomial n i |
| 61 | (HomogeneousLocalization.Away.isLocalizationElem (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n i) |
| 62 | (AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveVariable_homogeneous n j))) = _ |
| 63 | rw [AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveChartToPolynomial_isLocalizationElem, |
| 64 | AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.eval_dehomogenize, MvPolynomial.eval_X] |
| 65 | |
| 66 | theorem projective_localEquation_value (n : ℕ) (i j : Fin (n + 1)) |
| 67 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 68 | (hi : AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i p) : |
| 69 | Complex.SectionEvaluation.complexSectionValue (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left (AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) |
| 70 | ((AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_mem_coordinateOpen n i p).mpr hi) |
| 71 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := ℂ) i j) = |
| 72 | AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.coordinates i p j := by |
| 73 | have hpoint := congrArg (fun q : AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectiveSchemeComplexPoints n => q.left) |
| 74 | (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_on_patch n i ⟨p, hi⟩) |
| 75 | change (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left = |
| 76 | AlgebraicGeometry.Foundations.Scheme.ProjectiveChartPoint.projectiveAffinePoint n i (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveAffineChart i ⟨p, hi⟩) at hpoint |
| 77 | have hp := (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_mem_coordinateOpen n i p).mpr hi |
| 78 | change Complex.SectionEvaluation.complexSectionValue _ _ hp _ = _ |
| 79 | revert hp |
| 80 | rw [hpoint] |
| 81 | intro hp |
| 82 | rw [projective_affine_localEquation_value] |
| 83 | exact congrFun (AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.insertOne_affineChart i p hi) j |
| 84 | |
| 85 | theorem projective_transitionUnit_value (n : ℕ) (i k : Fin (n + 1)) |
| 86 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 87 | (hp : (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ |
| 88 | AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k) : |
| 89 | Complex.SectionEvaluation.complexSectionValue (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left |
| 90 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k) hp |
| 91 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := ℂ) i k : |
| 92 | Γ(AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n, AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k)) = |
| 93 | AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.coordinates i p k := by |
| 94 | change Complex.SectionEvaluation.complexSectionValue _ _ hp ((AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n).presheaf.map |
| 95 | (homOfLE (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := ℂ) i k)).op |
| 96 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateHyperplaneLocalEquation (R := ℂ) i k)) = _ |
| 97 | rw [Complex.SectionEvaluation.complexSectionValue_restrict] |
| 98 | exact projective_localEquation_value n i k p |
| 99 | ((AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint_mem_coordinateOpen n i p).mp |
| 100 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap_le_left (R := ℂ) i k hp)) |
| 101 | |
| 102 | theorem projective_transitionUnit_zpow_value (n : ℕ) (i k : Fin (n + 1)) |
| 103 | (p : Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 104 | (hp : (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ |
| 105 | AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k) (d : ℤ) : |
| 106 | Complex.SectionEvaluation.complexSectionValue (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n p).left |
| 107 | (AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k) hp |
| 108 | ((AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenTransitionUnit (R := ℂ) i k ^ d : |
| 109 | Γ(AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n, AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k)ˣ) : |
| 110 | Γ(AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n, AlgebraicGeometry.SheafCohomology.Projective.CoordinateExtensions.MvPolynomial.coordinateOpenOverlap (R := ℂ) i k)) = |
| 111 | AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.coordinates i p k ^ d := by |
| 112 | rw [Complex.SectionEvaluation.complexRingHom_units_zpow, projective_transitionUnit_value] |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.RepresentationTheory.Theta.Geometric.Projective.SectionEvaluation |