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.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Augmentation |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.TotalEdgeZeroComparison |
| 3 | |
| 4 | /-! # Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Total.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A complex whose terms have no higher ordered Čech cohomology is |
| 11 | computed by its native Čech total complex. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 20 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) |
| 21 | |
| 22 | def bicomplex (K : CochainComplex X.Modules ℕ) : |
| 23 | HomologicalComplex₂ (ModuleCat.{u} Γ(S, ⊤)) (.up ℕ) (.up ℕ) := |
| 24 | ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).mapHomologicalComplex (.up ℕ)).obj K |
| 25 | |
| 26 | def sectionComplex (K : CochainComplex X.Modules ℕ) : CochainComplex (ModuleCat.{u} Γ(S, ⊤)) ℕ := |
| 27 | ((Augmentation.sections π).mapHomologicalComplex (.up ℕ)).obj K |
| 28 | |
| 29 | def edge (K : CochainComplex X.Modules ℕ) (hU : iSup U = ⊤) : |
| 30 | sectionComplex π K ⟶ (Comparison.bicomplex π U K).total (.up ℕ) := |
| 31 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (bicomplex π U K)) (sectionComplex π K) |
| 32 | (fun q => Augmentation.map π U (K.X q)) |
| 33 | (fun q q' _ => (Augmentation.naturality π U (K.d q q')).symm) |
| 34 | (fun q => Augmentation.map_d π U (K.X q) hU) |
| 35 | |
| 36 | theorem quasiIso (K : CochainComplex X.Modules ℕ) (hU : iSup U = ⊤) |
| 37 | (hK : ∀ q p, IsZero ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π (K.X q) U).homology (p + 1))) : |
| 38 | QuasiIso (edge π U K hU) := by |
| 39 | let B := Comparison.bicomplex π U K |
| 40 | let A := sectionComplex π K |
| 41 | let e := fun q => Augmentation.map π U (K.X q) |
| 42 | have he : ∀ q q', (ComplexShape.up ℕ).Rel q q' → |
| 43 | e q ≫ (B.d q q').f 0 = A.d q q' ≫ e q' := |
| 44 | fun q q' _ => (Augmentation.naturality π U (K.d q q')).symm |
| 45 | have w : ∀ q, e q ≫ (B.X q).d 0 1 = 0 := |
| 46 | fun q => Augmentation.map_d π U (K.X q) hU |
| 47 | have haug : ∀ q, (ShortComplex.mk (e q) ((B.X q).d 0 1) (w q)).Exact := |
| 48 | fun q => Augmentation.exact π U (K.X q) hU |
| 49 | have hmono : ∀ q, Mono (e q) := fun q => Augmentation.map_mono π U (K.X q) hU |
| 50 | have hrows : PeriodInvariants.ModuleTotalEdgeComparison.RowsExact B := by |
| 51 | intro q p |
| 52 | exact ((B.X q).exactAt_iff' p (p + 1) (p + 2) (by simp) (by simp)).mp |
| 53 | ((HomologicalComplex.exactAt_iff_isZero_homology _ _).mpr (hK q p)) |
| 54 | rw [_root_.quasiIso_iff] |
| 55 | intro n |
| 56 | cases n with |
| 57 | | zero => |
| 58 | let : Mono (e 0) := hmono 0 |
| 59 | let : Mono (e 1) := hmono 1 |
| 60 | exact PeriodInvariants.TotalEdgeZeroComparison.horizontal B A e he w (haug 0) |
| 61 | | succ n => exact PeriodInvariants.ModuleTotalEdgeComparison.horizontal B A e he w haug hmono hrows n |
| 62 | |
| 63 | def homologyIso (K : CochainComplex X.Modules ℕ) (hU : iSup U = ⊤) |
| 64 | (hK : ∀ q p, IsZero ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π (K.X q) U).homology (p + 1))) |
| 65 | (n : ℕ) : |
| 66 | (sectionComplex π K).homology n ≅ ((Comparison.bicomplex π U K).total (.up ℕ)).homology n := by |
| 67 | letI := quasiIso π U K hU hK |
| 68 | exact isoOfQuasiIsoAt (edge π U K hU) n |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Total.Comparison |