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.HomologyKernelCokernel |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.SecondShift |
| 3 | |
| 4 | /-! # One Second -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.OneSecond |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native Tor in degree one is the kernel of tensoring the inclusion |
| 11 | in a projective presentation of its second argument. -/ |
| 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) [Projective S.X₂] |
| 21 | |
| 22 | def kernelIso : (((Tor (ModuleCat R) 1).obj N).obj S.X₃) ≅ |
| 23 | ModuleCat.of R ((tensorLeft N).map S.f).hom.ker := by |
| 24 | let Q := projectiveResolution S.X₁ |
| 25 | let P := ResolutionAugment.resolution S hS Q |
| 26 | let F := tensorLeft N |
| 27 | let : HasKernel (F.map S.f) := HasLimit.mk ⟨_, ModuleCat.kernelIsLimit (F.map S.f)⟩ |
| 28 | let K := (F.mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex |
| 29 | let T := K.sc' 2 1 0 |
| 30 | have wp : T.f ≫ F.map (Q.π.f 0) = 0 := by |
| 31 | change F.map (Q.complex.d 1 0) ≫ F.map (Q.π.f 0) = 0 |
| 32 | rw [← F.map_comp, Q.complex_d_comp_π_f_zero, F.map_zero] |
| 33 | have hp : IsColimit (CokernelCofork.ofπ (F.map (Q.π.f 0)) wp) := |
| 34 | CokernelCofork.mapIsColimit _ Q.isColimitCokernelCofork F |
| 35 | have hg : F.map (Q.π.f 0) ≫ F.map S.f = T.g := by |
| 36 | change F.map (Q.π.f 0) ≫ F.map S.f = F.map (Q.π.f 0 ≫ S.f) |
| 37 | rw [F.map_comp] |
| 38 | exact P.isoLeftDerivedObj F 1 ≪≫ K.homologyIsoSc' 2 1 0 (by simp) (by simp) ≪≫ |
| 39 | HomologyKernelCokernel.homologyIsoKernel T (F.obj S.X₁) (F.map (Q.π.f 0)) wp hp |
| 40 | (F.map S.f) hg ≪≫ ModuleCat.kernelIsoKer (F.map S.f) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.OneSecond |