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.FormalGeometry.Completion.Affine.BaseCover |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SliceSectionMaps |
| 3 | |
| 4 | /-! # Section To Glued -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: actual torsor sections give morphisms to the glued scheme |
| 12 | |
| 13 | Represent each restricted section over the pulled-back affine cover. The |
| 14 | checked transition laws make these morphisms compatible, so ordinary scheme |
| 15 | gluing gives a morphism over the original base. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {X : Scheme.{u}} {ℓ n : ℕ} [NeZero (ℓ ^ n)] |
| 27 | (E : App.Construction.FiniteCoefficientExtension ℓ n X) (W : X.ProEt) (s : E.Fiber W) |
| 28 | |
| 29 | /-- The local morphism representing the restriction of an actual torsor section. -/ |
| 30 | def App.Construction.FiniteCoefficientExtension.localSectionMap (i : X.directedAffineCover.I₀) : |
| 31 | Affine.BaseCover.Construction.affineBaseCoverObject W i ⟶ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).left := |
| 32 | SliceSectionMaps.Construction.sliceSectionMap E.fiberPresheaf |
| 33 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)) |
| 34 | (Affine.BaseCover.Construction.affineBaseCoverSlice W i) (E.restrict (Affine.BaseCover.Construction.affineBaseCoverProjection W i) s) |
| 35 | |
| 36 | theorem App.Construction.FiniteCoefficientExtension.localSectionMap_over (i : X.directedAffineCover.I₀) : |
| 37 | E.localSectionMap W s i ≫ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).hom = |
| 38 | Affine.BaseCover.Construction.affineBaseCoverToOpen W i := SliceSectionMaps.Construction.sliceSectionMap_over _ _ _ _ |
| 39 | |
| 40 | /-- The local section maps agree under the canonical affine transition morphisms. -/ |
| 41 | theorem App.Construction.FiniteCoefficientExtension.localSectionMap_transition {i j : X.directedAffineCover.I₀} (h : i ⟶ j) : |
| 42 | E.localSectionMap W s i ≫ |
| 43 | SliceRepresentativeMaps.Construction.sliceRepresentativeMap E.fiberPresheaf |
| 44 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)) |
| 45 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj j)) |
| 46 | ((GluingData.Construction.proEtaleDirectedAffineDiagram X).map h) = |
| 47 | Affine.BaseCover.Construction.affineBaseCoverTransition W h ≫ E.localSectionMap W s j := by |
| 48 | rw [App.Construction.FiniteCoefficientExtension.localSectionMap, SliceSectionMaps.Construction.sliceSectionMap_transition] |
| 49 | change SliceSectionMaps.Construction.sliceSectionMap E.fiberPresheaf |
| 50 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj j)) |
| 51 | ((Over.map ((GluingData.Construction.proEtaleDirectedAffineDiagram X).map h)).obj (Affine.BaseCover.Construction.affineBaseCoverSlice W i)) _ = _ |
| 52 | rw [App.Construction.FiniteCoefficientExtension.localSectionMap] |
| 53 | erw [SliceSectionMaps.Construction.sliceSectionMap_naturality E.fiberPresheaf |
| 54 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj j)) |
| 55 | (Affine.BaseCover.Construction.affineBaseCoverSliceTransition W h)] |
| 56 | congr 1 |
| 57 | change E.fiberPresheaf.map (Affine.BaseCover.Construction.affineBaseCoverProjection W i).op s = |
| 58 | E.fiberPresheaf.map (Affine.BaseCover.Construction.affineBaseCoverTransition W h).op |
| 59 | (E.fiberPresheaf.map (Affine.BaseCover.Construction.affineBaseCoverProjection W j).op s) |
| 60 | erw [← Functor.map_comp_apply] |
| 61 | rw [← op_comp, Affine.BaseCover.Construction.affineBaseCoverTransition_projection] |
| 62 | |
| 63 | /-- The local maps followed by their inclusions into the glued scheme. -/ |
| 64 | def App.Construction.FiniteCoefficientExtension.localSectionToGlued (i : X.directedAffineCover.I₀) : (Affine.BaseCover.Construction.affineBaseCover W).X i ⟶ E.gluedScheme := |
| 65 | (E.localSectionMap W s i).left ≫ colimit.ι E.relativeGluingData.functor i |
| 66 | |
| 67 | theorem App.Construction.FiniteCoefficientExtension.localSectionToGlued_transition {i j : X.directedAffineCover.I₀} (h : i ⟶ j) : |
| 68 | (Affine.BaseCover.Construction.affineBaseCover W).trans h ≫ E.localSectionToGlued W s j = E.localSectionToGlued W s i := by |
| 69 | change (Affine.BaseCover.Construction.affineBaseCoverTransition W h).left ≫ |
| 70 | ((E.localSectionMap W s j).left ≫ colimit.ι E.relativeGluingData.functor j) = _ |
| 71 | rw [← Category.assoc] |
| 72 | have ht := congrArg (fun k => k.left) (E.localSectionMap_transition W s h) |
| 73 | change (E.localSectionMap W s i).left ≫ E.relativeGluingData.functor.map h = |
| 74 | (Affine.BaseCover.Construction.affineBaseCoverTransition W h).left ≫ (E.localSectionMap W s j).left at ht |
| 75 | rw [← ht, Category.assoc, colimit.w] |
| 76 | rfl |
| 77 | |
| 78 | /-- The actual morphism obtained by gluing all local representing maps. -/ |
| 79 | def App.Construction.FiniteCoefficientExtension.sectionToGluedScheme : W.left ⟶ E.gluedScheme := |
| 80 | (Affine.BaseCover.Construction.affineBaseCover W).glueMorphismsOfLocallyDirected (E.localSectionToGlued W s) |
| 81 | (E.localSectionToGlued_transition W s) |
| 82 | |
| 83 | theorem App.Construction.FiniteCoefficientExtension.sectionToGluedScheme_restrict (i : X.directedAffineCover.I₀) : |
| 84 | (Affine.BaseCover.Construction.affineBaseCover W).f i ≫ E.sectionToGluedScheme W s = E.localSectionToGlued W s i := |
| 85 | (Affine.BaseCover.Construction.affineBaseCover W).map_glueMorphismsOfLocallyDirected _ _ i |
| 86 | |
| 87 | /-- The glued section map respects the original structure morphism. -/ |
| 88 | theorem App.Construction.FiniteCoefficientExtension.sectionToGluedScheme_over : E.sectionToGluedScheme W s ≫ E.gluedSchemeToBase = W.hom := by |
| 89 | apply (Affine.BaseCover.Construction.affineBaseCover W).hom_ext |
| 90 | intro i |
| 91 | rw [← Category.assoc, App.Construction.FiniteCoefficientExtension.sectionToGluedScheme_restrict] |
| 92 | change ((E.localSectionMap W s i).left ≫ colimit.ι E.relativeGluingData.functor i) ≫ |
| 93 | E.relativeGluingData.toBase = _ |
| 94 | rw [Category.assoc, E.relativeGluingData.ι_toBase, ← Category.assoc] |
| 95 | have h := congrArg (fun k => k.left) (E.localSectionMap_over W s i) |
| 96 | change (E.localSectionMap W s i).left ≫ E.relativeGluingData.natTrans.app i = |
| 97 | pullback.snd W.hom (X.directedAffineCover.f i) at h |
| 98 | rw [h] |
| 99 | exact pullback.condition.symm |
| 100 | |
| 101 | /-- Every actual torsor section gives a map to the glued object in the original site. -/ |
| 102 | def App.Construction.FiniteCoefficientExtension.sectionToGlued : W ⟶ E.gluedProEt := |
| 103 | MorphismProperty.Over.homMk (E.sectionToGluedScheme W s) (E.sectionToGluedScheme_over W s) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |