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.Comparison.Betti.Sheaf.CechExactRows |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalComplexEdge |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.ComplexUpNatComparison |
| 4 | |
| 5 | /-! # Cech Stalk -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CechStalk |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Positive-degree comparison of the actual sheaf Čech resolution on every stalk. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X : TopCat.{0}} {ι : Type} (U : ι → Opens X) (hU : ⨆ i, U i = ⊤) |
| 16 | (K : CochainComplex (TopCat.Sheaf AddCommGrpCat.{0} X) ℕ) |
| 17 | |
| 18 | include hU |
| 19 | |
| 20 | theorem sheafCechResolutionEdge_stalk_quasiIsoAt_succ (x : X) (n : ℕ) : |
| 21 | QuasiIsoAt (((TopCat.Sheaf.forget AddCommGrpCat X ⋙ |
| 22 | TopCat.Presheaf.stalkFunctor AddCommGrpCat x).mapHomologicalComplex (.up ℕ)).map |
| 23 | (CechAugmentation.sheafCechResolutionEdge U K)) (n + 1) := by |
| 24 | let F := TopCat.Sheaf.forget AddCommGrpCat X ⋙ TopCat.Presheaf.stalkFunctor AddCommGrpCat x |
| 25 | let B := CechAugmentation.sheafCechBicomplex U K |
| 26 | let e := CechAugmentation.sheafCechComplexAugmentation U K |
| 27 | let he := fun q q' (_ : (ComplexShape.up ℕ).Rel q q') => |
| 28 | CechAugmentation.sheafCechComplexAugmentation_comm U K q q' |
| 29 | let w := CechAugmentation.sheafCechComplexAugmentation_comp_d U K |
| 30 | let M := TotalComplexFunctor.mapBicomplex F B |
| 31 | have haug (q : ℕ) : |
| 32 | (ShortComplex.mk (F.map (e q)) ((M.X q).d 0 1) |
| 33 | (TotalComplexEdge.mappedHorizontalAugmentation_comp_d F B K e w q)).Exact := |
| 34 | (CechExactRows.sheafCechComplexAugmentation_exact U hU K q).map F |
| 35 | have hmono (q : ℕ) : Mono (F.map (e q)) := by |
| 36 | have : Mono (e q) := CechExactRows.sheafCechComplexAugmentation_mono U hU K q |
| 37 | infer_instance |
| 38 | have hrows : SheafCohomology.Cech.ComplexUpNatNormalize.Projective.RowsExact M := by |
| 39 | intro q p |
| 40 | have h : (ShortComplex.mk ((B.X q).d p (p + 1)) ((B.X q).d (p + 1) (p + 2)) |
| 41 | ((B.X q).d_comp_d p (p + 1) (p + 2))).Exact := |
| 42 | ((B.X q).exactAt_iff' p (p + 1) (p + 2) (by simp) (by simp)).mp |
| 43 | (CechExactRows.sheafCechBicomplex_row_exact U hU K q p) |
| 44 | exact h.map F |
| 45 | have : QuasiIsoAt (TotalComplexEdge.mappedHorizontalEdge F B K e he w) (n + 1) := |
| 46 | SheafCohomology.Cech.ComplexUpNatComparison.Projective.horizontal_edge_quasiIsoAt M ((F.mapHomologicalComplex (.up ℕ)).obj K) |
| 47 | (fun q => F.map (e q)) (TotalComplexEdge.mappedHorizontalAugmentation_comm F B K e he) |
| 48 | (TotalComplexEdge.mappedHorizontalAugmentation_comp_d F B K e w) haug hmono hrows n |
| 49 | have : IsIso (TotalComplexFunctor.totalComparison F B) := (TotalComplexFunctor.totalComparisonIso F B).isIso_hom |
| 50 | have h : QuasiIsoAt (TotalComplexEdge.mappedHorizontalEdge F B K e he w ≫ |
| 51 | TotalComplexFunctor.totalComparison F B) (n + 1) := inferInstance |
| 52 | rw [TotalComplexEdge.mappedHorizontalEdge_comp_totalComparison] at h |
| 53 | exact h |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CechStalk |