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.Cech.CoverRefinementCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism |
| 3 | |
| 4 | /-! # Cover Refinement Quasi Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.CoverRefinementQuasiIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement between acyclic open covers is a quasi-isomorphism on |
| 11 | the original full Čech complexes, including degree zero. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism |
| 15 | |
| 16 | universe u |
| 17 | variable {X : TopCat.{u}} {ι κ : Type u} (U : ι → Opens X) (V : κ → Opens X) |
| 18 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 19 | (F : CategoryTheory.Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) |
| 20 | |
| 21 | theorem degree_zero : AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZero.cechGlobalSectionsToHZero U F ≫ |
| 22 | HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) 0 = AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZero.cechGlobalSectionsToHZero V F := by |
| 23 | let K := (cechComplexFunctor U).obj F.obj |
| 24 | let L := (cechComplexFunctor V).obj F.obj |
| 25 | let φ := CoverRefinement.map U V r F.obj |
| 26 | have h : K.liftCycles (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.GlobalAugmentation.IntrinsicCech.cechGlobalSectionsAugmentation F U) 1 (by simp) |
| 27 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.GlobalAugmentationComplex.IntrinsicCech.cechGlobalSectionsAugmentation_comp_d F U) ≫ HomologicalComplex.cyclesMap φ 0 = |
| 28 | L.liftCycles (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.GlobalAugmentation.IntrinsicCech.cechGlobalSectionsAugmentation F V) 1 (by simp) |
| 29 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.GlobalAugmentationComplex.IntrinsicCech.cechGlobalSectionsAugmentation_comp_d F V) := by |
| 30 | apply (cancel_mono (L.iCycles 0)).mp |
| 31 | dsimp only [K, L, φ] |
| 32 | simp only [Category.assoc, HomologicalComplex.cyclesMap_i, |
| 33 | HomologicalComplex.liftCycles_i_assoc, HomologicalComplex.liftCycles_i] |
| 34 | exact CoverRefinement.augmentation U V r F |
| 35 | change (K.liftCycles _ 1 _ _ ≫ K.homologyπ 0) ≫ HomologicalComplex.homologyMap φ 0 = |
| 36 | L.liftCycles _ 1 _ _ ≫ L.homologyπ 0 |
| 37 | rw [Category.assoc, HomologicalComplex.homologyπ_naturality, ← Category.assoc, h] |
| 38 | |
| 39 | theorem top_degree_zero : AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.TopDegreeZero.cechTopSectionsToHZero U F ≫ |
| 40 | HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) 0 = AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.TopDegreeZero.cechTopSectionsToHZero V F := by |
| 41 | unfold AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.TopDegreeZero.cechTopSectionsToHZero |
| 42 | rw [Category.assoc, degree_zero] |
| 43 | |
| 44 | theorem quasiIso (hU : iSup U = ⊤) (hV : iSup V = ⊤) |
| 45 | (haU : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.AcyclicIntersectionColumns.IntrinsicCech.CechIntersectionsAcyclic U F) (haV : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.AcyclicIntersectionColumns.IntrinsicCech.CechIntersectionsAcyclic V F) : |
| 46 | QuasiIso (CoverRefinement.map U V r F.obj) := by |
| 47 | rw [_root_.quasiIso_iff] |
| 48 | intro n |
| 49 | cases n with |
| 50 | | zero => |
| 51 | have h := top_degree_zero U V r F |
| 52 | change (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism.cechTopSectionsHZeroIso U F hU).hom ≫ |
| 53 | HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) 0 = |
| 54 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism.cechTopSectionsHZeroIso V F hV).hom at h |
| 55 | have he : HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) 0 = |
| 56 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism.cechTopSectionsHZeroIso U F hU).inv ≫ (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism.cechTopSectionsHZeroIso V F hV).hom := by |
| 57 | apply (cancel_epi (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.DegreeZeroIsomorphism.cechTopSectionsHZeroIso U F hU).hom).mp |
| 58 | simpa only [Iso.hom_inv_id_assoc] using h |
| 59 | rw [quasiIsoAt_iff_isIso_homologyMap, he] |
| 60 | infer_instance |
| 61 | | succ n => |
| 62 | have h := CoverRefinementCohomology.rightDerived U V r F hU hV haU haV n |
| 63 | have he : HomologicalComplex.homologyMap (CoverRefinement.map U V r F.obj) (n + 1) = |
| 64 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveRightDerivedIso U F hU haU n).hom ≫ |
| 65 | (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveRightDerivedIso V F hV haV n).inv := by |
| 66 | apply (cancel_mono (AlgebraicGeometry.AbelianModuli.HilbertConstruction.IntrinsicCech.SheafCohomologyComparison.cechPositiveRightDerivedIso V F hV haV n).hom).mp |
| 67 | simpa only [Category.assoc, Iso.inv_hom_id, Category.comp_id] using h |
| 68 | rw [quasiIsoAt_iff_isIso_homologyMap, he] |
| 69 | infer_instance |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.CoverRefinementQuasiIso |