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.HilbertScheme.Presentations.MatrixRank.Representation |
| 2 | |
| 3 | /-! # Equations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixRank.Equations.Grassmannian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The represented local rank condition is exactly local invertibility of a |
| 10 | pivot determinant together with vanishing of its explicit polynomial residual. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {ι μ ν : Type u} [Fintype ι] [DecidableEq ι] |
| 16 | variable {S : Scheme.{u}} (M : Over S) (A : Matrix ν μ Γ(M.left, ⊤)) |
| 17 | |
| 18 | theorem matrixPivotChart_factorization_iff (p : MatrixPivot.Charts.Grassmannian.MatrixPivotIndex ι μ ν) |
| 19 | {T : Scheme.{u}} (x : T ⟶ M.left) : |
| 20 | MatrixPivot.Locus.Grassmannian.matrixPivotCondition (A.submatrix p.2 p.1) (A.submatrix p.2 id) |
| 21 | (A.submatrix id p.1) A x.appTop.hom ↔ |
| 22 | ∃! g : T ⟶ (MatrixPivot.Charts.Grassmannian.matrixPivotChart M A p).left, |
| 23 | g ≫ (MatrixPivot.Charts.Grassmannian.matrixPivotChartInclusion M A p).left = x := by |
| 24 | let XT : Over S := Over.mk (x ≫ M.hom) |
| 25 | let f : XT ⟶ M := Over.homMk x rfl |
| 26 | constructor |
| 27 | · intro hx |
| 28 | let g := MatrixPivot.Charts.Grassmannian.matrixPivotChartLift M A p f hx |
| 29 | have hg : g.left ≫ (MatrixPivot.Charts.Grassmannian.matrixPivotChartInclusion M A p).left = x := |
| 30 | congrArg Over.Hom.left (MatrixPivot.Charts.Grassmannian.matrixPivotChartLift_inclusion M A p f hx) |
| 31 | exact ⟨g.left, hg, |
| 32 | fun k hk => (cancel_mono (MatrixPivot.Charts.Grassmannian.matrixPivotChartInclusion M A p).left).mp (hk.trans hg.symm)⟩ |
| 33 | · rintro ⟨g, hg, _⟩ |
| 34 | let k : XT ⟶ MatrixPivot.Charts.Grassmannian.matrixPivotChart M A p := Over.homMk g (by |
| 35 | rw [← (MatrixPivot.Charts.Grassmannian.matrixPivotChartInclusion M A p).w, ← Category.assoc, hg] |
| 36 | rfl) |
| 37 | have hk : k ≫ MatrixPivot.Charts.Grassmannian.matrixPivotChartInclusion M A p = f := Over.OverMorphism.ext hg |
| 38 | have h := MatrixPivot.Charts.Grassmannian.matrixPivotChart_condition M A p k |
| 39 | rw [hk] at h |
| 40 | exact h |
| 41 | |
| 42 | theorem matrixRankLocalCondition_iff_equations {T : Over S} (x : T ⟶ M) : |
| 43 | Representation.Grassmannian.matrixRankLocalCondition (ι := ι) M A x ↔ |
| 44 | ∃ U : T.left.OpenCover.{u}, ∀ i, ∃ p : MatrixPivot.Charts.Grassmannian.MatrixPivotIndex ι μ ν, |
| 45 | MatrixPivot.Locus.Grassmannian.matrixPivotCondition (A.submatrix p.2 p.1) (A.submatrix p.2 id) |
| 46 | (A.submatrix id p.1) A (U.f i ≫ x.left).appTop.hom := by |
| 47 | constructor |
| 48 | · rintro ⟨U, hU⟩ |
| 49 | refine ⟨U, fun i => ?_⟩ |
| 50 | obtain ⟨p, g, hg⟩ := hU i |
| 51 | refine ⟨p, (matrixPivotChart_factorization_iff M A p _).mpr ?_⟩ |
| 52 | exact ⟨g, hg, |
| 53 | fun k hk => (cancel_mono (MatrixPivot.Charts.Grassmannian.matrixPivotChartInclusion M A p).left).mp (hk.trans hg.symm)⟩ |
| 54 | · rintro ⟨U, hU⟩ |
| 55 | refine ⟨U, fun i => ?_⟩ |
| 56 | obtain ⟨p, hp⟩ := hU i |
| 57 | obtain ⟨g, hg, _⟩ := (matrixPivotChart_factorization_iff M A p _).mp hp |
| 58 | exact ⟨p, g, hg⟩ |
| 59 | |
| 60 | theorem matrixRankRepresentation_equations {T : Over S} (x : T ⟶ M) : |
| 61 | (∃ U : T.left.OpenCover.{u}, ∀ i, ∃ p : MatrixPivot.Charts.Grassmannian.MatrixPivotIndex ι μ ν, |
| 62 | MatrixPivot.Locus.Grassmannian.matrixPivotCondition (A.submatrix p.2 p.1) (A.submatrix p.2 id) |
| 63 | (A.submatrix id p.1) A (U.f i ≫ x.left).appTop.hom) ↔ |
| 64 | ∃! y : T ⟶ Data.Grassmannian.matrixRankOver (ι := ι) M A, y ≫ Data.Grassmannian.matrixRankParameterMap M A = x := |
| 65 | (matrixRankLocalCondition_iff_equations M A x).symm.trans (Representation.Grassmannian.matrixRankLocalCondition_iff_lift M A x) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.MatrixRank.Equations.Grassmannian |