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.Plucker.ChartRelations |
| 2 | |
| 3 | /-! # Chart Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Plucker.ChartPoints.Grassmannian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The affine charts of the homogeneous Plücker relation ideal classify exactly |
| 11 | the normalized quotient matrices, over arbitrary coefficient rings. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.MvPolynomial |
| 15 | |
| 16 | universe u v w z |
| 17 | |
| 18 | variable {R : Type u} [CommRing R] {B : Type z} [CommRing B] |
| 19 | variable {ι : Type v} {ν : Type w} [Fintype ι] [DecidableEq ι] |
| 20 | |
| 21 | def PluckerChartPoint (φ : R →+* B) (a : ι → ν) := |
| 22 | {p : (ι → ν) → B // p a = 1 ∧ ∀ f ∈ Ideal.Grassmannian.pluckerIdeal (R := R) (ι := ι) (ν := ν), eval₂ φ p f = 0} |
| 23 | |
| 24 | def pluckerChartMatrix (a : ι → ν) (p : (ι → ν) → B) : Matrix ι ν B := |
| 25 | fun i v => p (Function.update a i v) |
| 26 | |
| 27 | omit [Fintype ι] in |
| 28 | theorem eval₂_pivotRelation (φ : R →+* B) (p : (ι → ν) → B) (a : ι → ν) (i j : ι) : |
| 29 | eval₂ φ p (ChartRelations.Grassmannian.pluckerPivotRelation a i j) = |
| 30 | p (Function.update a i (a j)) - if i = j then p a else 0 := by |
| 31 | change eval₂Hom φ p (ChartRelations.Grassmannian.pluckerPivotRelation a i j) = _ |
| 32 | rw [ChartRelations.Grassmannian.pluckerPivotRelation, map_sub, eval₂Hom_X'] |
| 33 | by_cases h : i = j <;> simp only [h, ite_true, ite_false, eval₂Hom_X', map_zero] |
| 34 | |
| 35 | theorem eval₂_chartRelation (φ : R →+* B) (p : (ι → ν) → B) (a b : ι → ν) : |
| 36 | eval₂ φ p (ChartRelations.Grassmannian.pluckerChartRelation a b) = p a * Determinants.Grassmannian.maximalMinor (pluckerChartMatrix a p) b - |
| 37 | p a ^ Fintype.card ι * p b := by |
| 38 | let E := eval₂Hom φ p |
| 39 | let M : Matrix ι ι (MvPolynomial (ι → ν) R) := fun i j => X (Function.update a i (b j)) |
| 40 | have hM : E.mapMatrix M = |
| 41 | Normalized.Matrices.Grassmannian.selectedColumns b (pluckerChartMatrix a p) := by |
| 42 | ext i j |
| 43 | exact eval₂Hom_X' φ p _ |
| 44 | change E (ChartRelations.Grassmannian.pluckerChartRelation a b) = _ |
| 45 | rw [ChartRelations.Grassmannian.pluckerChartRelation, map_sub, map_mul, map_mul, map_pow] |
| 46 | have hdet := (E.map_det M).trans (congrArg Matrix.det hM) |
| 47 | change E (X a) * E M.det - E (X a) ^ Fintype.card ι * E (X b) = _ |
| 48 | rw [hdet] |
| 49 | simp only [E, eval₂Hom_X'] |
| 50 | rfl |
| 51 | |
| 52 | theorem pluckerChartMatrix_normalized (φ : R →+* B) (a : ι → ν) (p : PluckerChartPoint φ a) : |
| 53 | Normalized.Matrices.Grassmannian.IsNormalized a (pluckerChartMatrix a p.val) := by |
| 54 | ext i j |
| 55 | have h := p.property.2 _ (ChartRelations.Grassmannian.pluckerPivotRelation_mem (R := R) a i j) |
| 56 | rw [eval₂_pivotRelation, p.property.1, sub_eq_zero] at h |
| 57 | exact h |
| 58 | |
| 59 | theorem pluckerChartMatrix_minors (φ : R →+* B) (a : ι → ν) (p : PluckerChartPoint φ a) (b : ι → ν) : |
| 60 | Determinants.Grassmannian.maximalMinor (pluckerChartMatrix a p.val) b = p.val b := by |
| 61 | have h := p.property.2 _ (ChartRelations.Grassmannian.pluckerChartRelation_mem (R := R) a b) |
| 62 | rw [eval₂_chartRelation, p.property.1, one_mul, one_pow, one_mul, sub_eq_zero] at h |
| 63 | exact h |
| 64 | |
| 65 | /-- Inverting and normalizing a Plücker coordinate produces precisely the |
| 66 | ordinary affine quotient-matrix chart. -/ |
| 67 | def pluckerChartPointEquiv (φ : R →+* B) (a : ι → ν) : |
| 68 | PluckerChartPoint φ a ≃ {Q : Matrix ι ν B // Normalized.Matrices.Grassmannian.IsNormalized a Q} where |
| 69 | toFun p := ⟨pluckerChartMatrix a p.val, pluckerChartMatrix_normalized φ a p⟩ |
| 70 | invFun Q := ⟨Determinants.Grassmannian.maximalMinor Q.val, Determinants.Grassmannian.maximalMinor_normalized a Q.val Q.property, by |
| 71 | intro f hf |
| 72 | simpa only [mul_one] using Relations.Grassmannian.pluckerIdeal_vanish φ Q.val 1 f hf⟩ |
| 73 | left_inv p := Subtype.ext (funext (pluckerChartMatrix_minors φ a p)) |
| 74 | right_inv Q := Subtype.ext (Determinants.Grassmannian.replacementMinors_of_normalized a Q.val Q.property) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Plucker.ChartPoints.Grassmannian |