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.AbelianModuli.HilbertConstruction.External.SectionTensorMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackSectionPairing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackOpen |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PushforwardPullbackRefinement |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.SquareSectionValues |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TensorComparisonNaturality |
| 7 | |
| 8 | /-! # Section Refinement -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionRefinement |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The canonical external section pairing commutes with a refinement of the parameter scheme. The maps are constructed from the actual pullback units and the commutative square. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped TensorProduct |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y Y' P Q : Scheme.{u}} |
| 20 | variable (a : P ⟶ X) (b : P ⟶ Y) (d : Q ⟶ P) (j : Y' ⟶ Y) (b' : Q ⟶ Y') |
| 21 | variable (h : d ≫ b = b' ≫ j) (M : X.Modules) (N : Y.Modules) |
| 22 | |
| 23 | def externalTensorRefinementComparison : |
| 24 | (Scheme.Modules.pullback d).obj |
| 25 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)) ⟶ |
| 26 | Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback (d ≫ a)).obj M) |
| 27 | ((Scheme.Modules.pullback b').obj ((Scheme.Modules.pullback j).obj N)) := |
| 28 | Tensor.PullbackComparison.tensorPullbackComparison d ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N) ≫ |
| 29 | Tensor.Bifunctor.tensorModuleMap ((Scheme.Modules.pullbackComp d a).hom.app M) |
| 30 | ((Pullback.SquareMapEquality.modulePullbackSquareIso b b' j d h).hom.app N) |
| 31 | |
| 32 | theorem externalTensorRefinementComparison_isIso [IsOpenImmersion d] : |
| 33 | IsIso (externalTensorRefinementComparison a b d j b' h M N) := by |
| 34 | dsimp only [externalTensorRefinementComparison] |
| 35 | infer_instance |
| 36 | |
| 37 | def externalTensorRefinementIso [IsOpenImmersion d] : |
| 38 | (Scheme.Modules.pullback d).obj |
| 39 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)) ≅ |
| 40 | Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback (d ≫ a)).obj M) |
| 41 | ((Scheme.Modules.pullback b').obj ((Scheme.Modules.pullback j).obj N)) := by |
| 42 | have := externalTensorRefinementComparison_isIso a b d j b' h M N |
| 43 | exact asIso (externalTensorRefinementComparison a b d j b' h M N) |
| 44 | |
| 45 | def externalPushforwardRefinementMap : |
| 46 | (Scheme.Modules.pushforward a).obj |
| 47 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)) ⟶ |
| 48 | (Scheme.Modules.pushforward (d ≫ a)).obj |
| 49 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback (d ≫ a)).obj M) |
| 50 | ((Scheme.Modules.pullback b').obj ((Scheme.Modules.pullback j).obj N))) := |
| 51 | PushforwardPullbackRefinement.pushforwardPullbackRefinementMap d a |
| 52 | (Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback a).obj M) ((Scheme.Modules.pullback b).obj N)) ≫ |
| 53 | (Scheme.Modules.pushforward (d ≫ a)).map |
| 54 | (externalTensorRefinementComparison a b d j b' h M N) |
| 55 | |
| 56 | variable {R : Type u} [CommRing R] |
| 57 | variable (cX : R →+* Γ(X, ⊤)) (cY : R →+* Γ(Y, ⊤)) |
| 58 | variable (hc : a.appTop.hom.comp cX = b.appTop.hom.comp cY) |
| 59 | |
| 60 | include h hc in |
| 61 | theorem externalSection_refinement_coefficients : |
| 62 | (d ≫ a).appTop.hom.comp cX = b'.appTop.hom.comp (j.appTop.hom.comp cY) := by |
| 63 | ext r |
| 64 | change d.appTop (a.appTop (cX r)) = b'.appTop (j.appTop (cY r)) |
| 65 | rw [show a.appTop (cX r) = b.appTop (cY r) from DFunLike.congr_fun hc r] |
| 66 | exact congrArg (fun f : Q ⟶ Y => f.appTop (cY r)) h |
| 67 | |
| 68 | theorem externalSectionTensorMap_refinement (V : X.Opens) |
| 69 | (n : (Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op ⊤)) |
| 70 | (m : (Coefficient.ModulePresheaf.coefficientModulePresheaf cX M).obj (op V)) : |
| 71 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor cX).map |
| 72 | (externalPushforwardRefinementMap a b d j b' h M N)).app (op V) |
| 73 | (SectionTensorMap.externalSectionTensorMap a b cX cY hc M N V (n ⊗ₜ[R] m)) = |
| 74 | SectionTensorMap.externalSectionTensorMap (d ≫ a) b' cX (j.appTop.hom.comp cY) |
| 75 | (externalSection_refinement_coefficients a b d j b' h cX cY hc) |
| 76 | M ((Scheme.Modules.pullback j).obj N) V |
| 77 | (SectionTensorMap.coefficientPullbackGlobalSectionMap j cY (j.appTop.hom.comp cY) rfl N n ⊗ₜ[R] m) := by |
| 78 | let Ma := (Scheme.Modules.pullback a).obj M |
| 79 | let Nb := (Scheme.Modules.pullback b).obj N |
| 80 | let M' := (Scheme.Modules.pullback (d ≫ a)).obj M |
| 81 | let N' := (Scheme.Modules.pullback b').obj ((Scheme.Modules.pullback j).obj N) |
| 82 | let W := a ⁻¹ᵁ V |
| 83 | let W' := (d ≫ a) ⁻¹ᵁ V |
| 84 | let s : Γ(Ma, W) := ((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app M).app V m |
| 85 | let t : Γ(Nb, W) := Nb.presheaf.map W.leTop.op |
| 86 | (((Scheme.Modules.pullbackPushforwardAdjunction b).unit.app N).app ⊤ n) |
| 87 | let s' : Γ((Scheme.Modules.pullback d).obj Ma, W') := |
| 88 | ((Scheme.Modules.pullbackPushforwardAdjunction d).unit.app Ma).app W s |
| 89 | let t' : Γ((Scheme.Modules.pullback d).obj Nb, W') := |
| 90 | ((Scheme.Modules.pullbackPushforwardAdjunction d).unit.app Nb).app W t |
| 91 | let eM := (Scheme.Modules.pullbackComp d a).hom.app M |
| 92 | let eN := (Pullback.SquareMapEquality.modulePullbackSquareIso b b' j d h).hom.app N |
| 93 | have hm : eM.app W' s' = |
| 94 | ((Scheme.Modules.pullbackPushforwardAdjunction (d ≫ a)).unit.app M).app V m := |
| 95 | Pullback.UnitCompositionValues.pullbackUnit_comp_value d a M V m |
| 96 | have hn : eN.app W' t' = N'.presheaf.map W'.leTop.op |
| 97 | (((Scheme.Modules.pullbackPushforwardAdjunction b').unit.app |
| 98 | ((Scheme.Modules.pullback j).obj N)).app ⊤ |
| 99 | (((Scheme.Modules.pullbackPushforwardAdjunction j).unit.app N).app ⊤ n)) := |
| 100 | Pullback.SquareSectionValues.modulePullbackSquareIso_unit_restrict b b' j d h N W n |
| 101 | have ht := congrArg |
| 102 | (fun β : Bilinear.Sheaves.SheafBilinearMap ((Scheme.Modules.pullback d).obj Ma) |
| 103 | ((Scheme.Modules.pullback d).obj Nb) (Tensor.ProductSheaf.tensorModule M' N') => β.app W' s' t') |
| 104 | (Tensor.Bifunctor.tensorModuleMap_spec eM eN) |
| 105 | change (Tensor.Bifunctor.tensorModuleMap eM eN).app W' |
| 106 | ((Tensor.Bifunctor.tensorBilinear ((Scheme.Modules.pullback d).obj Ma) |
| 107 | ((Scheme.Modules.pullback d).obj Nb)).app W' s' t') = |
| 108 | (Tensor.Bifunctor.tensorBilinear M' N').app W' (eM.app W' s') (eN.app W' t') at ht |
| 109 | rw [hm, hn] at ht |
| 110 | rw [SectionTensorMap.externalSectionTensorMap_tmul, SectionTensorMap.externalSectionTensorMap_tmul, |
| 111 | SectionTensorMap.coefficientPullbackGlobalSectionMap_apply] |
| 112 | change (Tensor.Bifunctor.tensorModuleMap eM eN).app W' |
| 113 | ((Tensor.PullbackComparison.tensorPullbackComparison d Ma Nb).app W' |
| 114 | (((Scheme.Modules.pullbackPushforwardAdjunction d).unit.app (Tensor.ProductSheaf.tensorModule Ma Nb)).app W |
| 115 | ((Tensor.Bifunctor.tensorBilinear Ma Nb).app W s t))) = _ |
| 116 | have hp := Tensor.PullbackSectionPairing.tensorPullbackComparison_pairing d Ma Nb W s t |
| 117 | exact (congrArg |
| 118 | (fun v : Γ(Tensor.ProductSheaf.tensorModule ((Scheme.Modules.pullback d).obj Ma) |
| 119 | ((Scheme.Modules.pullback d).obj Nb), W') => (Tensor.Bifunctor.tensorModuleMap eM eN).app W' v) hp).trans ht |
| 120 | |
| 121 | theorem externalSectionCechTensorMap_refinement |
| 122 | {ι : Type u} [LinearOrder ι] (U : ι → X.Opens) : |
| 123 | SectionTensorMap.externalSectionCechTensorMap a b cX cY hc M N U ≫ |
| 124 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechComplexFunctor cX U).map |
| 125 | (externalPushforwardRefinementMap a b d j b' h M N) = |
| 126 | Tensor.CochainBicomplex.tensorCochainMap (Ordered.CoefficientCechComplex.orderedCoefficientCechComplex cX M U) |
| 127 | (ModuleCat.ofHom (SectionTensorMap.coefficientPullbackGlobalSectionMap j cY (j.appTop.hom.comp cY) rfl N)) ≫ |
| 128 | SectionTensorMap.externalSectionCechTensorMap (d ≫ a) b' cX (j.appTop.hom.comp cY) |
| 129 | (externalSection_refinement_coefficients a b d j b' h cX cY hc) |
| 130 | M ((Scheme.Modules.pullback j).obj N) U := by |
| 131 | exact Cech.TensorComparisonNaturality.CechTensorComparison.map_naturality |
| 132 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf cY N).obj (op ⊤)) |
| 133 | ((Coefficient.ModulePresheaf.coefficientModulePresheaf (j.appTop.hom.comp cY) ((Scheme.Modules.pullback j).obj N)).obj (op ⊤)) |
| 134 | cX M _ _ U (SectionTensorMap.coefficientPullbackGlobalSectionMap j cY (j.appTop.hom.comp cY) rfl N) |
| 135 | (externalPushforwardRefinementMap a b d j b' h M N) |
| 136 | (SectionTensorMap.externalSectionTensorMap a b cX cY hc M N) |
| 137 | (SectionTensorMap.externalSectionTensorMap (d ≫ a) b' cX (j.appTop.hom.comp cY) |
| 138 | (externalSection_refinement_coefficients a b d j b' h cX cY hc) |
| 139 | M ((Scheme.Modules.pullback j).obj N)) |
| 140 | (fun V n m => externalSectionTensorMap_refinement a b d j b' h M N cX cY hc V n m) |
| 141 | (fun _ _ i n m => SectionTensorMap.externalSectionTensorMap_naturality a b cX cY hc M N i n m) |
| 142 | (fun _ _ i n m => SectionTensorMap.externalSectionTensorMap_naturality (d ≫ a) b' cX (j.appTop.hom.comp cY) |
| 143 | (externalSection_refinement_coefficients a b d j b' h cX cY hc) |
| 144 | M ((Scheme.Modules.pullback j).obj N) i n m) |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.External.SectionRefinement |