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.AlgebraicTopology.Kunneth.TensorHomologyD |
| 2 | |
| 3 | /-! # Single Kunneth Component -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingleKunnethComponent.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual Künneth component when one factor has homology in a single degree. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 12 | open OAI.AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology |
| 13 | open scoped TensorProduct DirectSum |
| 14 | |
| 15 | theorem directSum_lof_component_eq {ι : Type} [DecidableEq ι] (M : ι → Type) |
| 16 | [∀ i, AddCommGroup (M i)] [∀ i, Module ℚ (M i)] (i₀ : ι) |
| 17 | (h : ∀ i, i ≠ i₀ → Subsingleton (M i)) (z : ⨁ i, M i) : |
| 18 | DirectSum.lof ℚ ι M i₀ (DirectSum.component ℚ ι M i₀ z) = z := by |
| 19 | classical |
| 20 | refine DirectSum.induction_on z ?_ (fun i x => ?_) (fun a b ha hb => ?_) |
| 21 | · rw [map_zero, map_zero] |
| 22 | · change DirectSum.lof ℚ ι M i₀ |
| 23 | (DirectSum.component ℚ ι M i₀ (DirectSum.lof ℚ ι M i x)) = DirectSum.lof ℚ ι M i x |
| 24 | by_cases hi : i = i₀ |
| 25 | · subst i |
| 26 | rw [DirectSum.component.lof_self] |
| 27 | · let : Subsingleton (M i) := h i hi |
| 28 | have hx : x = 0 := Subsingleton.elim _ _ |
| 29 | rw [hx, map_zero, map_zero, map_zero] |
| 30 | · rw [map_add, map_add, ha, hb] |
| 31 | |
| 32 | def directSumSingleComponentEquiv {ι : Type} [DecidableEq ι] (M : ι → Type) |
| 33 | [∀ i, AddCommGroup (M i)] [∀ i, Module ℚ (M i)] (i₀ : ι) |
| 34 | (h : ∀ i, i ≠ i₀ → Subsingleton (M i)) : M i₀ ≃ₗ[ℚ] (⨁ i, M i) := |
| 35 | LinearEquiv.ofBijective (DirectSum.lof ℚ ι M i₀) ⟨ |
| 36 | fun _ _ he => by |
| 37 | have hc := congrArg (DirectSum.component ℚ ι M i₀) he |
| 38 | simpa only [DirectSum.component.lof_self] using hc, |
| 39 | fun z => ⟨DirectSum.component ℚ ι M i₀ z,directSum_lof_component_eq M i₀ h z⟩⟩ |
| 40 | |
| 41 | variable (C D : ChainComplex (ModuleCat.{0} ℚ) ℕ) (p q : ℕ) |
| 42 | variable (hC : ∀ n, n ≠ p → IsZero (C.homology n)) |
| 43 | |
| 44 | include hC in |
| 45 | theorem singleKunneth_other_component_zero (ij : AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs (p+q)) |
| 46 | (hij : ij ≠ ⟨(p,q),rfl⟩) : |
| 47 | Subsingleton (C.homology ij.val.1 ⊗[ℚ] D.homology ij.val.2) := by |
| 48 | have hi : ij.val.1 ≠ p := by |
| 49 | intro hi |
| 50 | have hj : ij.val.2 = q := by have hs := ij.property; omega |
| 51 | apply hij |
| 52 | exact Subtype.ext (Prod.ext hi hj) |
| 53 | let := ModuleCat.subsingleton_of_isZero (hC ij.val.1 hi) |
| 54 | infer_instance |
| 55 | |
| 56 | def algebraicKunnethSingleLeftComponent : |
| 57 | (C.homology p ⊗[ℚ] D.homology q) ≃ₗ[ℚ] (C⊗D).homology (p+q) := |
| 58 | (directSumSingleComponentEquiv |
| 59 | (fun ij : AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs (p+q) => C.homology ij.val.1 ⊗[ℚ] D.homology ij.val.2) |
| 60 | ⟨(p,q),rfl⟩ (singleKunneth_other_component_zero C D p q hC)).trans |
| 61 | (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.algebraicKunneth C D (p+q)) |
| 62 | |
| 63 | theorem algebraicKunnethSingleLeftComponent_apply (z : C.homology p ⊗[ℚ] D.homology q) : |
| 64 | algebraicKunnethSingleLeftComponent C D p q hC z = |
| 65 | AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.algebraicKunneth C D (p+q) |
| 66 | (DirectSum.lof ℚ (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs (p+q)) |
| 67 | (fun ij => C.homology ij.val.1 ⊗[ℚ] D.homology ij.val.2) ⟨(p,q),rfl⟩ z) := rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SingleKunnethComponent.Constructions |