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.IntersectionTheory.ProjectionFormula.Relative.ChartX |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.ScalarPullback |
| 3 | |
| 4 | /-! # Chart Pullback -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ChartPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Coefficient specialization pulls back each actual projective |
| 11 | coordinate chart to the same polynomial chart over the new coefficients. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ChartX.Projective |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ProjectiveLinear (space grading) |
| 20 | |
| 21 | theorem range_chart (R : Type) [CommRing R] (n : ℕ) (i : Fin (n + 1)) : |
| 22 | Set.range (ChartX.Projective.projectiveAffineChartMap R n i) = (ProjectiveI.Chart.projectiveCoordinateOpen R n i : Set (ProjectiveLinear.space R n)) := by |
| 23 | change Set.range ((ProjectiveI.Chart.projectiveCoordinateOpen R n i).ι ∘ (ChartX.Projective.projectiveCoordinateIsoSpec R n i).inv) = _ |
| 24 | rw [Set.range_comp, (ChartX.Projective.projectiveCoordinateIsoSpec R n i).inv.surjective.range_eq, Set.image_univ] |
| 25 | ext x |
| 26 | constructor |
| 27 | · rintro ⟨y, rfl⟩ |
| 28 | exact y.property |
| 29 | · intro hx |
| 30 | exact ⟨⟨x, hx⟩, rfl⟩ |
| 31 | |
| 32 | def cover (R : Type) [CommRing R] (n : ℕ) : (ProjectiveLinear.space R n).OpenCover := |
| 33 | Scheme.Cover.mkOfCovers (Fin (n + 1)) |
| 34 | (fun i => Spec (.of (ProjectiveChart.projectiveChartPolynomial R n i))) |
| 35 | (ChartX.Projective.projectiveAffineChartMap R n) (by |
| 36 | intro x |
| 37 | obtain ⟨i, hi⟩ := ProjectiveI.Chart.exists_mem_projectiveCoordinateOpen R n x |
| 38 | obtain ⟨y, hy⟩ := (Set.ext_iff.mp (range_chart R n i) x).mpr hi |
| 39 | exact ⟨i, y, hy⟩) (fun _ => inferInstance) |
| 40 | |
| 41 | theorem chart {R S : Type} [CommRing R] [CommRing S] (f : R →+* S) (n : ℕ) (i : Fin (n + 1)) : |
| 42 | IsPullback (Spec.map (CommRingCat.ofHom (MvPolynomial.map (σ := {j : Fin (n + 1) // j ≠ i}) f))) |
| 43 | (ChartX.Projective.projectiveAffineChartMap S n i) (ChartX.Projective.projectiveAffineChartMap R n i) |
| 44 | (ProjectiveI.Scalars.map f n) := by |
| 45 | apply IsOpenImmersion.isPullback |
| 46 | · exact ChartX.ScalarMap.chart f n i |
| 47 | · apply SetLike.coe_injective |
| 48 | change ProjectiveI.Scalars.map f n ⁻¹' Set.range (ChartX.Projective.projectiveAffineChartMap R n i) = |
| 49 | Set.range (ChartX.Projective.projectiveAffineChartMap S n i) |
| 50 | rw [range_chart, range_chart] |
| 51 | ext x |
| 52 | change MvPolynomial.X i ∉ ((ProjectiveI.Scalars.map f n) x).asHomogeneousIdeal ↔ |
| 53 | MvPolynomial.X i ∉ x.asHomogeneousIdeal |
| 54 | change ProjectiveI.Scalars.graded f n (MvPolynomial.X i) ∉ x.asHomogeneousIdeal ↔ _ |
| 55 | rw [ChartX.ScalarMap.graded_X] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Relative.ChartPullback |