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.ProjectiveCoordinate.Nonvanishing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.SectionCoordinateValues |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OpenFrame.GeneratorNaturality |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.FromSectionValue |
| 5 | |
| 6 | /-! # Section Frames -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.SectionFrames |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual homogeneous coordinate sections form the standard chart |
| 13 | frames. Their frame coordinates are the genuine coordinate-ratio |
| 14 | functions on the projective quotient. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 19 | |
| 20 | instance projectiveCoordinateSection_chart_isIso (i : Fin (n + 1)) : |
| 21 | IsIso (Ample.LineBundles.pullbackSection (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).ι (GlobalSections.projectiveCoordinateSection I i)) := by |
| 22 | rw [← Nonvanishing.projectiveCoordinateSection_nonvanishing I i] |
| 23 | infer_instance |
| 24 | |
| 25 | theorem projectiveCoordinateSectionFamily_covers : |
| 26 | ∀ x : Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (GlobalSections.projectiveCoordinateSection I i) := by |
| 27 | intro x |
| 28 | obtain ⟨i, hi⟩ := ProjectiveTwisting.Bundle.projectiveTwistingCover I x |
| 29 | refine ⟨i.down, ?_⟩ |
| 30 | rw [Nonvanishing.projectiveCoordinateSection_nonvanishing] |
| 31 | exact hi |
| 32 | |
| 33 | private theorem projectiveCoordinateSection_chart_value (i k : Fin (n + 1)) : |
| 34 | (GlobalSections.projectiveCoordinateSection I k).app (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) |
| 35 | (1 : Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i})) = |
| 36 | OpenFrame.SectionGenerators.openFrameGenerator (ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1) |
| 37 | (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) (ULift.up i) le_rfl |
| 38 | (Coordinate.RatioSections.coordinateRatioSection I {i} i k (Finset.mem_singleton_self i)) := by |
| 39 | have hc := congrFun (GlobalSections.projectiveCoordinateSection_tuple I k) (ULift.up i) |
| 40 | exact (OpenFrame.SectionCoordinateValues.openFrameSection_app_of_tuple (ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1) |
| 41 | (GlobalSections.projectiveCoordinateSection I k) (ULift.up i)).trans |
| 42 | (congrArg (OpenFrame.SectionGenerators.openFrameGenerator (ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1) |
| 43 | (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) (ULift.up i) le_rfl) hc) |
| 44 | |
| 45 | private theorem frameCoordinate_from_generator {Y : Scheme.{u}} {M : Y.Modules} |
| 46 | (U : Y.Opens) (s t : Line.Bundles.structureModule Y ⟶ M) [IsIso (Ample.LineBundles.pullbackSection U.ι s)] |
| 47 | (r : Γ(Y, U)) (v : Γ(Y, U) → Γ(M, U)) |
| 48 | (hs : s.app U (1 : Γ(Y, U)) = v 1) |
| 49 | (ht : t.app U (1 : Γ(Y, U)) = v r) (hv : r • v 1 = v r) : |
| 50 | Frame.Coordinates.frameCoordinate (Ample.LineBundles.pullbackSection U.ι s) (Ample.LineBundles.pullbackSection U.ι t) = U.topIso.inv r := by |
| 51 | apply Coordinate.FromSectionValue.local_frameCoordinate_eq_of_value_on_open U s t (U.topIso.inv r) |
| 52 | rw [show U.topIso.hom (U.topIso.inv r) = r from |
| 53 | ConcreteCategory.congr_hom U.topIso.inv_hom_id r, hs, ht] |
| 54 | exact hv.symm |
| 55 | |
| 56 | theorem projectiveCoordinateSection_frameCoordinate (i j : Fin (n + 1)) : |
| 57 | Frame.Coordinates.frameCoordinate |
| 58 | (Ample.LineBundles.pullbackSection (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).ι (GlobalSections.projectiveCoordinateSection I i)) |
| 59 | (Ample.LineBundles.pullbackSection (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).ι (GlobalSections.projectiveCoordinateSection I j)) = |
| 60 | (ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}).topIso.inv |
| 61 | (Coordinate.RatioSections.coordinateRatioSection I {i} i j (Finset.mem_singleton_self i)) := by |
| 62 | let U := ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i} |
| 63 | let D := ProjectiveTwisting.Bundle.projectiveTwistingTransitions I 1 |
| 64 | let r := Coordinate.RatioSections.coordinateRatioSection I {i} i j (Finset.mem_singleton_self i) |
| 65 | have hv := projectiveCoordinateSection_chart_value I i |
| 66 | have hs : (GlobalSections.projectiveCoordinateSection I i).app U (1 : Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), U)) = |
| 67 | OpenFrame.SectionGenerators.openFrameGenerator D U (ULift.up i) le_rfl 1 := by |
| 68 | simpa only [Coordinate.RatioSections.coordinateRatioSection_self] using hv i |
| 69 | have ht := hv j |
| 70 | exact frameCoordinate_from_generator U |
| 71 | (GlobalSections.projectiveCoordinateSection I i) (GlobalSections.projectiveCoordinateSection I j) r |
| 72 | (OpenFrame.SectionGenerators.openFrameGenerator D U (ULift.up i) le_rfl) hs ht |
| 73 | (OpenFrame.GeneratorNaturality.openFrameGenerator_smul_one D U (ULift.up i) le_rfl r) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveCoordinate.SectionFrames |