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.Coordinate.SingletonChartRingMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.CoefficientRecovery |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.SectionFrames |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.StandardChartEvaluation |
| 5 | |
| 6 | /-! # Quotient Coordinate Chart -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Canonical.QuotientCoordinateChart |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual quotient inclusion on a standard open is the normalized |
| 13 | projective chart map of its canonical coordinate-section ratios. Its |
| 14 | coefficient map is the original structural coefficient map. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 20 | |
| 21 | def coordinateSectionChartValues (i j : Fin (n + 1)) : |
| 22 | Γ((ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).toScheme, ⊤) := |
| 23 | (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).topIso.inv |
| 24 | (Coordinate.RatioSections.coordinateRatioSection I {i} i j (Finset.mem_singleton_self i)) |
| 25 | |
| 26 | theorem coordinateSectionChartValues_pivot (i : Fin (n + 1)) : coordinateSectionChartValues I i i = 1 := by |
| 27 | unfold coordinateSectionChartValues |
| 28 | rw [Coordinate.RatioSections.coordinateRatioSection_self, map_one] |
| 29 | |
| 30 | def coordinateSectionChartCoefficients (i : Fin (n + 1)) : |
| 31 | R →+* Γ((ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).toScheme, ⊤) := |
| 32 | ((ProjectiveChart.GlobalSectionMap.projectiveChartGlobalSectionMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I) (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}))).comp |
| 33 | (Coordinate.SingletonChartRingMap.coordinateSingletonChartRingMap I i)).comp (algebraMap R (ProjectiveChart.Evaluation.projectiveChartRing R n i)) |
| 34 | |
| 35 | theorem projectiveQuotientInclusion_coordinateChart (i : Fin (n + 1)) : |
| 36 | (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).ι ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I = |
| 37 | ProjectiveChart.Evaluation.projectiveChartMap (coordinateSectionChartCoefficients I i) (coordinateSectionChartValues I i) i |
| 38 | (coordinateSectionChartValues_pivot I i) := by |
| 39 | let Q := HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I |
| 40 | let g := HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.gradedQuotientMap I |
| 41 | let hg := HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.irrelevant_quotient_le_map I |
| 42 | let f := g (HilbertScheme.Presentations.LaurentMonomials.ProjectiveCech.inversionMonomial R {i}) |
| 43 | let U := ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i} |
| 44 | have hf : f ∈ Q 1 := by |
| 45 | have hh := HilbertScheme.Presentations.Flat.ProjectiveCoordinatePieces.GradedHilbert.quotient_inversionMonomial_homogeneous I {i} |
| 46 | simp only [Finset.card_singleton] at hh |
| 47 | exact hh |
| 48 | let a := Segre.StandardChartRingMap.homogeneousAwayEquivOfEq Q (Coordinate.SingletonChartRingMap.coordinateSingletonDenominator_eq I i) |
| 49 | let ψ := ProjectiveChart.GlobalSectionMap.projectiveChartGlobalSectionMap Q f |
| 50 | let φ := ψ.comp a.toRingHom |
| 51 | have hC (r : R) : φ (HomogeneousLocalization.Away.map g (X i) |
| 52 | (algebraMap R (ProjectiveChart.Evaluation.projectiveChartRing R n i) r)) = coordinateSectionChartCoefficients I i r := rfl |
| 53 | have hX (j : Fin (n + 1)) : φ (HomogeneousLocalization.Away.map g (X i) |
| 54 | (HilbertScheme.Presentations.Dehomogenization.GradedHilbert.dehomogenize i (X j))) = coordinateSectionChartValues I i j := by |
| 55 | change ProjectiveChart.GlobalSectionMap.projectiveChartGlobalSectionMap Q f |
| 56 | (Coordinate.SingletonChartRingMap.coordinateSingletonChartRingMap I i (HilbertScheme.Presentations.Dehomogenization.GradedHilbert.dehomogenize i (X j))) = _ |
| 57 | rw [Coordinate.SingletonChartRingMap.coordinateSingletonChartRingMap_coordinate] |
| 58 | rfl |
| 59 | have hmap : Spec.map (CommRingCat.ofHom φ) = |
| 60 | Spec.map (CommRingCat.ofHom ψ) ≫ Spec.map (CommRingCat.ofHom a.toRingHom) := |
| 61 | Spec.map_comp (CommRingCat.ofHom a.toRingHom) (CommRingCat.ofHom ψ) |
| 62 | have hpoint : U.toScheme.toSpecΓ ≫ Spec.map (CommRingCat.ofHom φ) ≫ |
| 63 | Proj.awayι Q (g (X i)) (g.map_mem (isHomogeneous_X R i)) Nat.zero_lt_one = U.ι := by |
| 64 | rw [hmap, Category.assoc, |
| 65 | Segre.StandardChartEvaluation.homogeneousAwayEquivOfEq_awayι Q (Coordinate.SingletonChartRingMap.coordinateSingletonDenominator_eq I i) |
| 66 | (g.map_mem (isHomogeneous_X R i)) hf Nat.zero_lt_one] |
| 67 | exact (Category.assoc _ _ _).symm.trans |
| 68 | (ProjectiveChart.GlobalSectionMap.projectiveChartGlobalSectionMap_awayι Q f hf Nat.zero_lt_one) |
| 69 | have h := ProjectiveChart.MapRecognition.projectiveMap_chart_of_coordinates Q g hg (coordinateSectionChartCoefficients I i) |
| 70 | (coordinateSectionChartValues I i) i (coordinateSectionChartValues_pivot I i) φ hC hX |
| 71 | exact (congrArg (fun k => k ≫ Proj.map g hg) hpoint).symm.trans h |
| 72 | |
| 73 | theorem coordinateSectionChartCoefficients_structural (i : Fin (n + 1)) : |
| 74 | coordinateSectionChartCoefficients I i = |
| 75 | Coefficient.ModulePresheaf.schemeCoefficientMap ((ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).ι ≫ HilbertScheme.Presentations.Projective.Flatness.GradedHilbert.projectiveStructureMap (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) := by |
| 76 | let U := ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i} |
| 77 | let c := coordinateSectionChartCoefficients I i |
| 78 | let v := coordinateSectionChartValues I i |
| 79 | let hv := coordinateSectionChartValues_pivot I i |
| 80 | calc |
| 81 | c = Coefficient.ModulePresheaf.schemeCoefficientMap (ProjectiveChart.Evaluation.projectiveChartMap c v i hv ≫ (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom) := |
| 82 | (ProjectiveChart.CoefficientRecovery.projectiveChartMap_structural_coefficients c v i hv).symm |
| 83 | _ = Coefficient.ModulePresheaf.schemeCoefficientMap ((U.ι ≫ HilbertScheme.Presentations.Projective.Quotient.GradedHilbert.projectiveQuotientInclusion I) ≫ (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom) := |
| 84 | congrArg (fun k => Coefficient.ModulePresheaf.schemeCoefficientMap (k ≫ (Projective.ProjectivePresentations.affineProjectiveSpace R n).hom)) |
| 85 | (projectiveQuotientInclusion_coordinateChart I i).symm |
| 86 | _ = _ := by rw [Category.assoc, Projective.CoefficientPullback.projectiveQuotientInclusion_standard_over] |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Canonical.QuotientCoordinateChart |