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.IntegralComparison.TopCechRightExact |
| 3 | |
| 4 | /-! # Zero Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ZeroSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Degree-zero cohomology of the actual ordered Čech complex is the |
| 11 | module of global sections. The comparison uses the global restriction |
| 12 | map, so it preserves the unit and is natural in the coefficient sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open Scheme.Modules OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Augmentation |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {X S : Scheme.{u}} (π : X ⟶ S) |
| 24 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) (hU : iSup U = ⊤) |
| 25 | |
| 26 | def lift (M : X.Modules) : (OrderedCech.Augmentation.sections π).obj M ⟶ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).cycles 0 := |
| 27 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).liftCycles (OrderedCech.Augmentation.map π U M) 1 (by simp) (OrderedCech.Augmentation.map_d π U M hU) |
| 28 | |
| 29 | @[reassoc (attr := simp)] |
| 30 | theorem lift_i (M : X.Modules) : |
| 31 | lift π U hU M ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).iCycles 0 = OrderedCech.Augmentation.map π U M := |
| 32 | HomologicalComplex.liftCycles_i _ _ _ _ _ |
| 33 | |
| 34 | theorem lift_bijective (M : X.Modules) : Function.Bijective (lift π U hU M) := by |
| 35 | let K := AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U |
| 36 | have hm : Function.Injective (OrderedCech.Augmentation.map π U M) := |
| 37 | (ModuleCat.mono_iff_injective _).mp (OrderedCech.Augmentation.map_mono π U M hU) |
| 38 | have hi : Function.Injective (K.iCycles 0) := |
| 39 | (ModuleCat.mono_iff_injective _).mp inferInstance |
| 40 | constructor |
| 41 | · intro x y hxy |
| 42 | apply hm |
| 43 | have hx := ConcreteCategory.congr_hom (lift_i π U hU M) x |
| 44 | have hy := ConcreteCategory.congr_hom (lift_i π U hU M) y |
| 45 | exact hx.symm.trans ((congrArg (K.iCycles 0) hxy).trans hy) |
| 46 | · intro z |
| 47 | have hz : K.d 0 1 (K.iCycles 0 z) = 0 := by |
| 48 | have h := ConcreteCategory.congr_hom (K.iCycles_d 0 1) z |
| 49 | exact h |
| 50 | let e := AlgebraicGeometry.SheafCohomology.Projective.ZeroCyclesLinearSections.orderedBaseTopSectionsZeroCyclesLinearEquiv π M U hU |
| 51 | refine ⟨e.symm ⟨K.iCycles 0 z, hz⟩, hi ?_⟩ |
| 52 | rw [← ConcreteCategory.comp_apply, lift_i] |
| 53 | exact (OrderedCech.Augmentation.map_eq_zeroCycle π U M hU _).trans |
| 54 | (congrArg Subtype.val (e.apply_symm_apply ⟨K.iCycles 0 z, hz⟩)) |
| 55 | |
| 56 | instance lift_isIso (M : X.Modules) : IsIso (lift π U hU M) := |
| 57 | (ConcreteCategory.isIso_iff_bijective _).mpr (lift_bijective π U hU M) |
| 58 | |
| 59 | def iso (M : X.Modules) : |
| 60 | (OrderedCech.Augmentation.sections π).obj M ≅ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).homology 0 := |
| 61 | asIso (lift π U hU M) ≪≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).isoHomologyπ₀ |
| 62 | |
| 63 | @[simp] |
| 64 | theorem iso_hom (M : X.Modules) : |
| 65 | (iso π U hU M).hom = lift π U hU M ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).homologyπ 0 := rfl |
| 66 | |
| 67 | @[reassoc] |
| 68 | theorem lift_naturality {M N : X.Modules} (f : M ⟶ N) : |
| 69 | (OrderedCech.Augmentation.sections π).map f ≫ lift π U hU N = |
| 70 | lift π U hU M ≫ HomologicalComplex.cyclesMap ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map f) 0 := by |
| 71 | let a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U ⟶ AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U := |
| 72 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map f |
| 73 | have ha : HomologicalComplex.cyclesMap a 0 ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U).iCycles 0 = |
| 74 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).iCycles 0 ≫ a.f 0 := |
| 75 | HomologicalComplex.cyclesMap_i a 0 |
| 76 | apply (cancel_mono ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U).iCycles 0)).mp |
| 77 | change ((OrderedCech.Augmentation.sections π).map f ≫ lift π U hU N) ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U).iCycles 0 = |
| 78 | (lift π U hU M ≫ HomologicalComplex.cyclesMap a 0) ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U).iCycles 0 |
| 79 | rw [Category.assoc, lift_i, Category.assoc, ha, lift_i_assoc] |
| 80 | exact OrderedCech.Augmentation.naturality π U f |
| 81 | |
| 82 | @[reassoc] |
| 83 | theorem naturality {M N : X.Modules} (f : M ⟶ N) : |
| 84 | (OrderedCech.Augmentation.sections π).map f ≫ (iso π U hU N).hom = |
| 85 | (iso π U hU M).hom ≫ |
| 86 | HomologicalComplex.homologyMap ((AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map f) 0 := by |
| 87 | let a : AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U ⟶ AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U := |
| 88 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCechFunctor.Scheme.Modules.orderedBaseCechComplexFunctor π U).map f |
| 89 | have ha : HomologicalComplex.cyclesMap a 0 ≫ (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U).homologyπ 0 = |
| 90 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π M U).homologyπ 0 ≫ HomologicalComplex.homologyMap a 0 := |
| 91 | (HomologicalComplex.homologyπ_naturality a 0).symm |
| 92 | simp only [iso_hom, ← Category.assoc] |
| 93 | rw [lift_naturality, Category.assoc] |
| 94 | change lift π U hU M ≫ (HomologicalComplex.cyclesMap a 0 ≫ |
| 95 | (AlgebraicGeometry.SheafCohomology.Projective.OrderedBaseCech.Scheme.Modules.orderedBaseCechComplex π N U).homologyπ 0) = _ |
| 96 | rw [ha] |
| 97 | simp only [Category.assoc] |
| 98 | rfl |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ZeroSections |