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.Parameter.QuotientComplex |
| 2 | |
| 3 | /-! # Annihilated Parameter Complex -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Quotienting a complex by a scalar already annihilating every |
| 10 | term is an actual chain isomorphism, including its native homology. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | open scoped Pointwise TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (r : R) |
| 20 | |
| 21 | theorem submodule_eq_bot (M : ModuleCat.{u} R) (hM : ∀ m : M, r • m = 0) : |
| 22 | r • (⊤ : Submodule R M) = ⊥ := by |
| 23 | apply le_antisymm _ bot_le |
| 24 | intro m hm |
| 25 | obtain ⟨n, _, rfl⟩ := (Submodule.mem_smul_pointwise_iff_exists m r (⊤ : Submodule R M)).mp hm |
| 26 | exact hM n |
| 27 | |
| 28 | theorem tensor (M N : ModuleCat.{u} R) (hM : ∀ m : M, r • m = 0) : |
| 29 | ∀ t : M ⊗[R] N, r • t = 0 := by |
| 30 | intro t |
| 31 | induction t using TensorProduct.inductionOn with |
| 32 | | tmul m n => rw [TensorProduct.smul_tmul', hM m, TensorProduct.zero_tmul] |
| 33 | | add a b ha hb => rw [smul_add, ha, hb, add_zero] |
| 34 | |
| 35 | theorem projection_isIso (K : ChainComplex (ModuleCat.{u} R) ℕ) |
| 36 | (hK : ∀ i, ∀ m : K.X i, r • m = 0) : |
| 37 | IsIso (Parameter.QuotientComplex.projection R r K) := by |
| 38 | have h (i : ℕ) : IsIso ((Parameter.QuotientComplex.projection R r K).f i) := by |
| 39 | apply (ConcreteCategory.isIso_iff_bijective _).mpr |
| 40 | refine ⟨?_, Submodule.mkQ_surjective _⟩ |
| 41 | apply LinearMap.ker_eq_bot.mp |
| 42 | change (r • (⊤ : Submodule R (K.X i))).mkQ.ker = ⊥ |
| 43 | rw [Submodule.ker_mkQ] |
| 44 | exact submodule_eq_bot R r (K.X i) (hK i) |
| 45 | let := h |
| 46 | exact HomologicalComplex.Hom.isIso_of_components _ |
| 47 | |
| 48 | theorem homology_length (K : ChainComplex (ModuleCat.{u} R) ℕ) |
| 49 | (hK : ∀ i, ∀ m : K.X i, r • m = 0) (n : ℕ) : |
| 50 | Module.length R ((Parameter.QuotientComplex.complex R r K).homology n) = |
| 51 | Module.length R (K.homology n) := by |
| 52 | let := projection_isIso R r K hK |
| 53 | exact ((HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down ℕ) n).mapIso |
| 54 | (asIso (Parameter.QuotientComplex.projection R r K))).toLinearEquiv.length_eq.symm |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.AnnihilatedParameterComplex |