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.RatioSubopens |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.CommonCoordinateOpen |
| 3 | |
| 4 | /-! # Ratios -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Ratios |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Projective frame transition functions on every common subopen of two standard charts. -/ |
| 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 projectiveFrameRatio (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (i j : Fin (n + 1)) |
| 19 | (hi : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) (hj : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {j}) : |
| 20 | Γ(Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I), V) := |
| 21 | Coordinate.RatioSubopens.coordinateRatioOn I V {i, j} (by rw [ProjectiveCoordinate.Cover.coordinateProjectiveChartOpen_pair]; exact le_inf hi hj) |
| 22 | i j (Finset.mem_insert_self _ _) |
| 23 | |
| 24 | theorem projectiveFrameRatio_eq_on (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) |
| 25 | (s : Finset (Fin (n + 1))) (hV : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I s) |
| 26 | (i j : Fin (n + 1)) (hi : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) |
| 27 | (hj : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {j}) (hsi : i ∈ s) (hsj : j ∈ s) : |
| 28 | projectiveFrameRatio I V i j hi hj = Coordinate.RatioSubopens.coordinateRatioOn I V s hV i j hsi := by |
| 29 | have h : ({i, j} : Finset (Fin (n + 1))) ⊆ s := by |
| 30 | intro a ha |
| 31 | rcases Finset.mem_insert.mp ha with rfl | ha |
| 32 | · exact hsi |
| 33 | · exact Finset.mem_singleton.mp ha ▸ hsj |
| 34 | exact Coordinate.RatioSubopens.coordinateRatioOn_change I V h hV i j (Finset.mem_insert_self _ _) |
| 35 | |
| 36 | theorem projectiveFrameRatio_self (V : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (i : Fin (n + 1)) |
| 37 | (hi : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) : projectiveFrameRatio I V i i hi hi = 1 := |
| 38 | Coordinate.RatioSubopens.coordinateRatioOn_self I V _ _ i _ |
| 39 | |
| 40 | theorem projectiveFrameRatio_restrict (V W : (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).Opens) (h : W ≤ V) |
| 41 | (i j : Fin (n + 1)) (hi : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {i}) |
| 42 | (hj : V ≤ ProjectiveChart.SectionCoordinates.coordinateProjectiveChartOpen I {j}) : |
| 43 | (Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)).presheaf.map (homOfLE h).op (projectiveFrameRatio I V i j hi hj) = |
| 44 | projectiveFrameRatio I W i j (h.trans hi) (h.trans hj) := |
| 45 | Coordinate.RatioSubopens.coordinateRatioOn_restrict I V W h _ _ i j _ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveFrame.Ratios |