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.Crystalline.Cohomology.LargeZariski.Fibers |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.LargeZariski.TotalExists |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalComplexEdge |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalComplexDegreeZero |
| 5 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatComparison |
| 6 | |
| 7 | /-! # Sheaf Total Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Large.SheafTotalComparison.LargeSheafTotalComparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # Exact augmented rows compare with the total complex of native module sheaves |
| 15 | |
| 16 | Exact conservative fibers reduce the comparison to the proved |
| 17 | first-quadrant calculation for abelian groups. Every degree is included. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (R : Type (u + 1)) [CommRing R] (X : Scheme.{u}) |
| 25 | (K : HomologicalComplex₂ (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)) |
| 26 | (ComplexShape.up ℕ) (ComplexShape.up ℕ)) |
| 27 | (A : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u + 1} R)) ℕ) |
| 28 | (e : ∀ q, A.X q ⟶ (K.X q).X 0) |
| 29 | (he : ∀ q q', (ComplexShape.up ℕ).Rel q q' → e q ≫ (K.d q q').f 0 = A.d q q' ≫ e q') |
| 30 | (w : ∀ q, e q ≫ (K.X q).d 0 1 = 0) |
| 31 | (haug : ∀ q, (ShortComplex.mk (e q) ((K.X q).d 0 1) (w q)).Exact) |
| 32 | (hmono : ∀ q, Mono (e q)) |
| 33 | (hrows : ∀ q n, (K.X q).ExactAt (n + 1)) |
| 34 | |
| 35 | include haug hmono hrows in |
| 36 | theorem quasiIso : QuasiIso ((SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge K) A e he w) := by |
| 37 | constructor |
| 38 | intro n |
| 39 | cases n with |
| 40 | | zero => |
| 41 | exact Comparison.Betti.TotalComplexDegreeZero.horizontal_edge_quasiIsoAt_zero K A e he w (haug 0) hmono |
| 42 | | succ n => |
| 43 | apply LargeZariski.Fibers.LargeZariskiFibers.quasiIsoAt_of_underlying R X |
| 44 | intro x |
| 45 | let G := LargeZariski.Fibers.LargeZariskiFibers.underlying R X x |
| 46 | let M := Comparison.Betti.TotalComplexFunctor.mapBicomplex G K |
| 47 | have haug' (q : ℕ) : |
| 48 | (ShortComplex.mk (G.map (e q)) ((M.X q).d 0 1) |
| 49 | (Comparison.Betti.TotalComplexEdge.mappedHorizontalAugmentation_comp_d G K A e w q)).Exact := |
| 50 | (haug q).map G |
| 51 | have hmono' (q : ℕ) : Mono (G.map (e q)) := by |
| 52 | have : Mono (e q) := hmono q |
| 53 | infer_instance |
| 54 | have hrows' : SheafCohomology.Cech.ComplexUpNatNormalize.Projective.RowsExact M := by |
| 55 | intro q m |
| 56 | have h : (ShortComplex.mk ((K.X q).d m (m + 1)) ((K.X q).d (m + 1) (m + 2)) |
| 57 | ((K.X q).d_comp_d m (m + 1) (m + 2))).Exact := |
| 58 | ((K.X q).exactAt_iff' m (m + 1) (m + 2) (by simp) (by simp)).mp (hrows q m) |
| 59 | exact h.map G |
| 60 | have : QuasiIsoAt (Comparison.Betti.TotalComplexEdge.mappedHorizontalEdge G K A e he w) (n + 1) := |
| 61 | SheafCohomology.Cech.ComplexUpNatComparison.Projective.horizontal_edge_quasiIsoAt M ((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj A) |
| 62 | (fun q => G.map (e q)) (Comparison.Betti.TotalComplexEdge.mappedHorizontalAugmentation_comm G K A e he) |
| 63 | (Comparison.Betti.TotalComplexEdge.mappedHorizontalAugmentation_comp_d G K A e w) haug' hmono' hrows' n |
| 64 | have : IsIso (Comparison.Betti.TotalComplexFunctor.totalComparison G K) := |
| 65 | (Comparison.Betti.TotalComplexFunctor.totalComparisonIso G K).isIso_hom |
| 66 | have h : QuasiIsoAt (Comparison.Betti.TotalComplexEdge.mappedHorizontalEdge G K A e he w ≫ |
| 67 | Comparison.Betti.TotalComplexFunctor.totalComparison G K) (n + 1) := inferInstance |
| 68 | rw [Comparison.Betti.TotalComplexEdge.mappedHorizontalEdge_comp_totalComparison] at h |
| 69 | exact h |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Large.SheafTotalComparison.LargeSheafTotalComparison |