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.Segre.ProductComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AffineProjective.CoordinatePreimages |
| 3 | |
| 4 | /-! # Projection Preimages -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.ProjectionPreimages |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The paired row and column chart opens pull back to exactly the Segre coordinate chart. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial _root_.HomogeneousLocalization _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : CommRingCat.{u}) {n m : ℕ} |
| 17 | |
| 18 | theorem segreHomogeneousChart_preimage_basicOpen |
| 19 | (p q : ChartProjections.SegreProjectiveIndex.{u} n m) : |
| 20 | (ProjectiveScheme.segreHomogeneousChartMap R p.1 p.2).left ⁻¹ᵁ |
| 21 | Proj.basicOpen (ChartCoordinates.segreQuotientGrading R) (ChartCoordinates.segreVariable R q).val = |
| 22 | PrimeSpectrum.basicOpen (ChartCoordinates.segreChartCoordinate R p.1 p.2 q) := by |
| 23 | have h := Proj.awayι_preimage_basicOpen (ChartCoordinates.segreQuotientGrading R) |
| 24 | (ChartCoordinates.segreVariable R p).property Nat.zero_lt_one (ChartCoordinates.segreVariable R q).property Nat.zero_lt_one |
| 25 | have he : HomogeneousLocalization.Away.isLocalizationElem |
| 26 | (ChartCoordinates.segreVariable R p).property (ChartCoordinates.segreVariable R q).property = |
| 27 | ChartCoordinates.segreChartCoordinate R p.1 p.2 q := by |
| 28 | have hc := (HilbertScheme.Presentations.Polynomial.ChartPresentation.PolynomialProjective.affineChartMap_homogeneous (HomogeneousRelations.segreHomogeneousIdeal R) p (isHomogeneous_X R q)).symm |
| 29 | simp only [HomogeneousLocalization.Away.isLocalizationElem, pow_one, ChartCoordinates.segreVariable] |
| 30 | exact hc |
| 31 | exact h.trans (congrArg PrimeSpectrum.basicOpen he) |
| 32 | |
| 33 | theorem segreChartProjections_preimage (p q : ChartProjections.SegreProjectiveIndex.{u} n m) : |
| 34 | (ChartProjections.segreRowChartMap R p ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (X q.1.down)) ⊓ |
| 35 | (ChartProjections.segreColumnChartMap R p ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R m) (X q.2.down)) = |
| 36 | (ProjectiveScheme.segreHomogeneousChartMap R p.1 p.2).left ⁻¹ᵁ |
| 37 | Proj.basicOpen (ChartCoordinates.segreQuotientGrading R) (ChartCoordinates.segreVariable R q).val := by |
| 38 | have hr := AffineProjective.CoordinatePreimages.affineProjectiveCoordinateMap_preimage R (ProjectiveCharts.SegreHomogeneousChart R p.1 p.2) |
| 39 | (fun a => ChartCoordinates.segreChartCoordinate R p.1 p.2 (ULift.up a, p.2)) p.1.down |
| 40 | (ChartCoordinates.segreChartCoordinate_pivot R p.1 p.2) q.1.down |
| 41 | have hc := AffineProjective.CoordinatePreimages.affineProjectiveCoordinateMap_preimage R (ProjectiveCharts.SegreHomogeneousChart R p.1 p.2) |
| 42 | (fun b => ChartCoordinates.segreChartCoordinate R p.1 p.2 (p.1, ULift.up b)) p.2.down |
| 43 | (ChartCoordinates.segreChartCoordinate_pivot R p.1 p.2) q.2.down |
| 44 | have he := congrArg₂ (fun U V => U ⊓ V) hr hc |
| 45 | exact he.trans ((PrimeSpectrum.basicOpen_mul |
| 46 | (ChartCoordinates.segreChartCoordinate R p.1 p.2 (q.1, p.2)) |
| 47 | (ChartCoordinates.segreChartCoordinate R p.1 p.2 (p.1, q.2))).symm.trans |
| 48 | ((congrArg PrimeSpectrum.basicOpen (ChartCoordinates.segreChartCoordinate_entry R p.1 q.1 p.2 q.2).symm).trans |
| 49 | (segreHomogeneousChart_preimage_basicOpen R p q).symm)) |
| 50 | |
| 51 | theorem segreProjections_preimage (q : ChartProjections.SegreProjectiveIndex.{u} n m) : |
| 52 | (ProjectionGluing.segreRowProjection R n m ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (X q.1.down)) ⊓ |
| 53 | (ProjectionGluing.segreColumnProjection R n m ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R m) (X q.2.down)) = |
| 54 | Proj.basicOpen (ChartCoordinates.segreQuotientGrading R) (ChartCoordinates.segreVariable R q).val := by |
| 55 | ext x |
| 56 | obtain ⟨i, j, y, rfl⟩ := ProjectiveScheme.segreHomogeneousCharts_cover R x |
| 57 | let p : ChartProjections.SegreProjectiveIndex.{u} n m := (i, j) |
| 58 | have hr := congrArg (fun f => f ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R n) (X q.1.down)) |
| 59 | (ProjectionGluing.segreRowProjection_chart R p) |
| 60 | have hc := congrArg (fun f => f ⁻¹ᵁ Proj.basicOpen (Projective.ProjectivePresentations.coordinateGrading R m) (X q.2.down)) |
| 61 | (ProjectionGluing.segreColumnProjection_chart R p) |
| 62 | have he := (congrArg₂ (fun U V => U ⊓ V) hr hc).trans (segreChartProjections_preimage R p q) |
| 63 | exact (congrArg (fun U => y ∈ U) he).to_iff |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Segre.ProjectionPreimages |