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.Tor.OneFirst |
| 2 | |
| 3 | /-! # Acyclic Shift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.AcyclicShift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Native Tor dimension shifting only needs the indicated Tor groups |
| 10 | of the middle term to vanish. This applies to exact tensor images of |
| 11 | presentations even when those images are not projective. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] (N : ModuleCat.{u} R) |
| 20 | (S : ShortComplex (ModuleCat R)) (hS : S.ShortExact) |
| 21 | |
| 22 | def shiftIso (n : ℕ) |
| 23 | (h₁ : IsZero (((Tor (ModuleCat R) (n + 2)).obj S.X₂).obj N)) |
| 24 | (h₂ : IsZero (((Tor (ModuleCat R) (n + 1)).obj S.X₂).obj N)) : |
| 25 | (((Tor (ModuleCat R) (n + 2)).obj S.X₃).obj N) ≅ |
| 26 | (((Tor (ModuleCat R) (n + 1)).obj S.X₁).obj N) := by |
| 27 | let : Mono (ExactSequence.connecting R N S hS (n + 1)) := |
| 28 | (ExactSequence.exact_before_connecting R N S hS (n + 1)).mono_g |
| 29 | (h₁.eq_of_src _ _) |
| 30 | let : Epi (ExactSequence.connecting R N S hS (n + 1)) := |
| 31 | (ExactSequence.exact_after_connecting R N S hS (n + 1)).epi_f |
| 32 | (h₂.eq_of_tgt _ _) |
| 33 | let := isIso_of_mono_of_epi (ExactSequence.connecting R N S hS (n + 1)) |
| 34 | exact asIso (ExactSequence.connecting R N S hS (n + 1)) |
| 35 | |
| 36 | def kernelIso (h₁ : IsZero (((Tor (ModuleCat R) 1).obj S.X₂).obj N)) : |
| 37 | (((Tor (ModuleCat R) 1).obj S.X₃).obj N) ≅ |
| 38 | ModuleCat.of R ((tensorRight N).map S.f).hom.ker := by |
| 39 | let δ := ExactSequence.connecting R N S hS 0 |
| 40 | let : Mono δ := (ExactSequence.exact_before_connecting R N S hS 0).mono_g |
| 41 | (h₁.eq_zero_of_src _) |
| 42 | let e₁ := Flat.torZeroIso R S.X₁ N |
| 43 | let e₂ := Flat.torZeroIso R S.X₂ N |
| 44 | let g := (tensorRight N).map S.f |
| 45 | let : HasKernel g := HasLimit.mk ⟨_, ModuleCat.kernelIsLimit g⟩ |
| 46 | have hw : (δ ≫ e₁.hom) ≫ g = 0 := by |
| 47 | rw [Category.assoc, ← OneFirst.zero_naturality R N S.f, ← Category.assoc, |
| 48 | ExactSequence.connecting_comp, zero_comp] |
| 49 | let T := ShortComplex.mk (δ ≫ e₁.hom) g hw |
| 50 | let e : ShortComplex.mk δ (((Tor (ModuleCat R) 0).map S.f).app N) |
| 51 | (ExactSequence.connecting_comp R N S hS 0) ≅ T := |
| 52 | ShortComplex.isoMk (Iso.refl _) e₁ e₂ (by simp [T]) |
| 53 | (OneFirst.zero_naturality R N S.f).symm |
| 54 | have hT : T.Exact := ShortComplex.exact_of_iso e |
| 55 | (ExactSequence.exact_after_connecting R N S hS 0) |
| 56 | let : Mono T.f := inferInstanceAs (Mono (δ ≫ e₁.hom)) |
| 57 | exact (limit.isoLimitCone ⟨_, hT.fIsKernel⟩).symm ≪≫ ModuleCat.kernelIsoKer g |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.AcyclicShift |