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.BrutalFiltration |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.SpectralIsomorphisms |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.BrutalTensorSpectralSequence |
| 4 | |
| 5 | /-! # Stable Page -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.StablePage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For a bounded tail filtration, sufficiently late native spectral |
| 12 | pages identify with the graded pieces defined by its fixed endpoints. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.ComposableArrows |
| 18 | |
| 19 | abbrev arrow {a b : ℤ} (h : a ≤ b) : (a : EInt) ⟶ (b : EInt) := |
| 20 | homOfLE (WithBotTop.coe_le_coe.mpr h) |
| 21 | |
| 22 | variable (R : Type) [CommRing R] (A K : CochainComplex (ModuleCat.{0} R) ℤ) |
| 23 | |
| 24 | def term (d : ℕ) (q n : ℤ) (hqa : -1 ≤ q) (hqb : q + 1 ≤ (d : ℤ)) : ModuleCat.{0} R := |
| 25 | (Tensor.SpectralObject.abelian R K (BrutalFiltration.filtration R A)).E |
| 26 | (arrow hqa) (arrow (show q ≤ q + 1 by omega)) (arrow hqb) (n - 1) n (n + 1) |
| 27 | |
| 28 | def iso (d : ℕ) (hl : ∀ i, i < -(d : ℤ) → IsZero (A.X i)) |
| 29 | (hu : ∀ i, 0 < i → IsZero (A.X i)) (r : ℤ) (hr : (d : ℤ) + 3 ≤ r) |
| 30 | (p q : ℤ) (hqa : -1 ≤ q) (hqb : q + 1 ≤ (d : ℤ)) : |
| 31 | ((BrutalTensorSpectralSequence.spectralSequence R A K).page r (by omega)).X (p, q) ≅ |
| 32 | term R A K d q (p + q) hqa hqb := by |
| 33 | let D := BrutalFiltration.filtration R A |
| 34 | let X := Tensor.SpectralObject.abelian R K D |
| 35 | let f₁ : ((q - r + 2 : ℤ) : EInt) ⟶ (q : EInt) := arrow (by omega) |
| 36 | let f₂ : (q : EInt) ⟶ ((q + 1 : ℤ) : EInt) := arrow (by omega) |
| 37 | let f₃ : ((q + 1 : ℤ) : EInt) ⟶ ((q + r - 1 : ℤ) : EInt) := arrow (by omega) |
| 38 | let g₁ : ((-1 : ℤ) : EInt) ⟶ (q : EInt) := arrow hqa |
| 39 | let g₃ : ((q + 1 : ℤ) : EInt) ⟶ ((d : ℤ) : EInt) := arrow hqb |
| 40 | let α : mk₃ f₁ f₂ f₃ ⟶ mk₃ g₁ f₂ f₃ := |
| 41 | homMk₃ (arrow (show q - r + 2 ≤ -1 by omega)) (𝟙 _) (𝟙 _) (𝟙 _) |
| 42 | let β : mk₃ g₁ f₂ g₃ ⟶ mk₃ g₁ f₂ f₃ := |
| 43 | homMk₃ (𝟙 _) (𝟙 _) (𝟙 _) (arrow (show (d : ℤ) ≤ q + r - 1 by omega)) |
| 44 | have hα : ∀ t, IsIso (D.map (α.app t)) := by |
| 45 | intro t |
| 46 | fin_cases t |
| 47 | · exact BrutalFiltration.Bounds.inclusion_isIso_below R A 0 (q - r + 2) (-1) |
| 48 | (by omega) hu (by omega) |
| 49 | · change IsIso (D.map (𝟙 _)); infer_instance |
| 50 | · change IsIso (D.map (𝟙 _)); infer_instance |
| 51 | · change IsIso (D.map (𝟙 _)); infer_instance |
| 52 | have hβ : ∀ t, IsIso (D.map (β.app t)) := by |
| 53 | intro t |
| 54 | fin_cases t |
| 55 | · change IsIso (D.map (𝟙 _)); infer_instance |
| 56 | · change IsIso (D.map (𝟙 _)); infer_instance |
| 57 | · change IsIso (D.map (𝟙 _)); infer_instance |
| 58 | · exact BrutalFiltration.Bounds.inclusion_isIso_above R A (-(d : ℤ)) (d : ℤ) (q + r - 1) |
| 59 | (by omega) hl (by omega) |
| 60 | let : IsIso (X.map f₁ f₂ f₃ g₁ f₂ f₃ α ((p + q) - 1) (p + q) ((p + q) + 1)) := |
| 61 | SpectralIsomorphisms.E_map_isIso R K D _ _ _ _ _ _ α hα (p + q) |
| 62 | let : IsIso (X.map g₁ f₂ g₃ g₁ f₂ f₃ β ((p + q) - 1) (p + q) ((p + q) + 1)) := |
| 63 | SpectralIsomorphisms.E_map_isIso R K D _ _ _ _ _ _ β hβ (p + q) |
| 64 | exact X.spectralSequencePageXIso Abelian.SpectralObject.coreE₂Cohomological r (by omega) (p, q) |
| 65 | (((q - r + 2 : ℤ) : EInt)) (q : EInt) ((q + 1 : ℤ) : EInt) ((q + r - 1 : ℤ) : EInt) |
| 66 | rfl rfl rfl rfl ((p + q) - 1) (p + q) ((p + q) + 1) rfl ≪≫ |
| 67 | asIso (X.map f₁ f₂ f₃ g₁ f₂ f₃ α ((p + q) - 1) (p + q) ((p + q) + 1) (sub_add_cancel _ _) rfl) ≪≫ |
| 68 | (asIso (X.map g₁ f₂ g₃ g₁ f₂ f₃ β ((p + q) - 1) (p + q) ((p + q) + 1) (sub_add_cancel _ _) rfl)).symm |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tensor.StablePage |