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.RatioSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionUnits |
| 3 | |
| 4 | /-! # Ratio Subopens -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.RatioSubopens |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coordinate ratios on arbitrary subopens, independent of enlarging the list of inverted coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R : Type u} [CommRing R] {n : ℕ} (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading R n)) |
| 17 | |
| 18 | def coordinateRatioOn (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (s : Finset (Fin (n + 1))) |
| 19 | (hV : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 20 | Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), V) := |
| 21 | (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE hV).op (RatioSections.coordinateRatioSection I s i j hi) |
| 22 | |
| 23 | theorem coordinateRatioOn_self (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (s : Finset (Fin (n + 1))) |
| 24 | (hV : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) (i : Fin (n + 1)) (hi : i ∈ s) : |
| 25 | coordinateRatioOn I V s hV i i hi = 1 := by |
| 26 | unfold coordinateRatioOn |
| 27 | rw [RatioSections.coordinateRatioSection_self] |
| 28 | exact ((Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE hV).op).hom.map_one |
| 29 | |
| 30 | theorem coordinateRatioOn_comp (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (s : Finset (Fin (n + 1))) |
| 31 | (hV : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) (i j k : Fin (n + 1)) (hi : i ∈ s) (hj : j ∈ s) : |
| 32 | coordinateRatioOn I V s hV i j hi * coordinateRatioOn I V s hV j k hj = |
| 33 | coordinateRatioOn I V s hV i k hi := by |
| 34 | exact (((Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE hV).op).hom.map_mul _ _).symm.trans |
| 35 | (congrArg ((Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE hV).op) |
| 36 | (RatioSections.coordinateRatioSection_comp I s i j k hi hj)) |
| 37 | |
| 38 | theorem coordinateRatioOn_change (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) |
| 39 | {s t : Finset (Fin (n + 1))} (h : s ⊆ t) (hV : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I t) |
| 40 | (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 41 | coordinateRatioOn I V s (hV.trans (ProjectiveChart.RestrictionCoordinates.coordinateProjectiveChartOpen_antitone I h)) i j hi = |
| 42 | coordinateRatioOn I V t hV i j (h hi) := by |
| 43 | exact (Relative.OpenFunctionUnits.openFunction_restriction_comp (ProjectiveChart.RestrictionCoordinates.coordinateProjectiveChartOpen_antitone I h) hV |
| 44 | (RatioSections.coordinateRatioSection I s i j hi)).symm.trans |
| 45 | (congrArg ((Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE hV).op) |
| 46 | (RatioSections.coordinateRatioSection_restriction I h i j hi)) |
| 47 | |
| 48 | theorem coordinateRatioOn_restrict (V W : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (h : W ≤ V) |
| 49 | (s : Finset (Fin (n + 1))) (hV : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) |
| 50 | (i j : Fin (n + 1)) (hi : i ∈ s) : |
| 51 | (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE h).op (coordinateRatioOn I V s hV i j hi) = |
| 52 | coordinateRatioOn I W s (h.trans hV) i j hi := |
| 53 | Relative.OpenFunctionUnits.openFunction_restriction_comp hV h (RatioSections.coordinateRatioSection I s i j hi) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coordinate.RatioSubopens |