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.FiniteTorsor.GluedNaturality |
| 2 | |
| 3 | /-! # Glued Charts -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Completion: the global torsor comparison on each affine chart |
| 11 | |
| 12 | If a site object maps into an affine base open, the global section map |
| 13 | is the local representing map followed by the chart inclusion. The |
| 14 | relative-gluing pullback square identifies all maps into that chart. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {X : Scheme.{u}} {ℓ n : ℕ} [NeZero (ℓ ^ n)] |
| 26 | (E : App.Construction.FiniteCoefficientExtension ℓ n X) {W : X.ProEt} |
| 27 | |
| 28 | /-- The inclusion of a local representative into the global representative, in the actual site. -/ |
| 29 | def App.Construction.FiniteCoefficientExtension.gluedChartInclusion (i : X.directedAffineCover.I₀) : |
| 30 | (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).left ⟶ E.gluedProEt := |
| 31 | MorphismProperty.Over.homMk (colimit.ι E.relativeGluingData.functor i) (by |
| 32 | exact (E.relativeGluingData.ι_toBase i).trans (MorphismProperty.Over.w |
| 33 | (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).hom)) |
| 34 | |
| 35 | theorem App.Construction.FiniteCoefficientExtension.sectionToGlued_restrict (W : X.ProEt) (s : E.Fiber W) |
| 36 | (i : X.directedAffineCover.I₀) : |
| 37 | Affine.BaseCover.Construction.affineBaseCoverProjection W i ≫ E.sectionToGlued W s = |
| 38 | E.localSectionMap W s i ≫ E.gluedChartInclusion i := |
| 39 | MorphismProperty.Over.Hom.ext (E.sectionToGluedScheme_restrict W s i) |
| 40 | |
| 41 | /-- On an object over an affine open, the global map is its actual local representing map. -/ |
| 42 | theorem App.Construction.FiniteCoefficientExtension.sectionToGlued_on_chart (i : X.directedAffineCover.I₀) |
| 43 | (a : W ⟶ (GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) (s : E.Fiber W) : |
| 44 | E.sectionToGlued W s = |
| 45 | SliceSectionMaps.Construction.sliceSectionMap E.fiberPresheaf |
| 46 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)) |
| 47 | (Over.mk a) s ≫ E.gluedChartInclusion i := by |
| 48 | have h := congrArg (fun k => Affine.BaseCoverFunctoriality.Construction.affineBaseCoverSection i a ≫ k) |
| 49 | (E.sectionToGlued_restrict W s i) |
| 50 | rw [← Category.assoc, Affine.BaseCoverFunctoriality.Construction.affineBaseCoverSection_projection, Category.id_comp, |
| 51 | ← Category.assoc] at h |
| 52 | rw [h] |
| 53 | congr 1 |
| 54 | unfold App.Construction.FiniteCoefficientExtension.localSectionMap |
| 55 | erw [SliceSectionMaps.Construction.sliceSectionMap_naturality E.fiberPresheaf |
| 56 | (E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)) |
| 57 | (Affine.BaseCoverFunctoriality.Construction.affineBaseCoverSectionSlice i a)] |
| 58 | congr 1 |
| 59 | change E.fiberPresheaf.map (Affine.BaseCoverFunctoriality.Construction.affineBaseCoverSection i a).op |
| 60 | (E.fiberPresheaf.map (Affine.BaseCover.Construction.affineBaseCoverProjection W i).op s) = s |
| 61 | erw [← Functor.map_comp_apply] |
| 62 | rw [← op_comp, Affine.BaseCoverFunctoriality.Construction.affineBaseCoverSection_projection, op_id, CategoryTheory.Functor.map_id] |
| 63 | rfl |
| 64 | |
| 65 | /-- The pullback property of the chart lifts every global map over its affine base open. -/ |
| 66 | def App.Construction.FiniteCoefficientExtension.gluedChartLift (i : X.directedAffineCover.I₀) |
| 67 | (a : W ⟶ (GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) (b : W ⟶ E.gluedProEt) : |
| 68 | Over.mk a ⟶ E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) := by |
| 69 | let h := E.relativeGluingData.isPullback_natTrans_ι_toBase i |
| 70 | let hc : a.left ≫ X.directedAffineCover.f i = b.left ≫ E.relativeGluingData.toBase := |
| 71 | (MorphismProperty.Over.w a).trans (MorphismProperty.Over.w b).symm |
| 72 | let f := h.lift a.left b.left hc |
| 73 | have hf : f ≫ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).hom.left = |
| 74 | a.left := h.lift_fst _ _ _ |
| 75 | let g : W ⟶ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).left := |
| 76 | MorphismProperty.Over.homMk f (by |
| 77 | calc |
| 78 | f ≫ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).left.hom = |
| 79 | f ≫ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).hom.left ≫ |
| 80 | ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i).hom := by |
| 81 | rw [MorphismProperty.Over.w] |
| 82 | _ = a.left ≫ ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i).hom := by |
| 83 | rw [← Category.assoc, hf] |
| 84 | _ = W.hom := MorphismProperty.Over.w a) |
| 85 | exact Over.homMk g (MorphismProperty.Over.Hom.ext hf) |
| 86 | |
| 87 | theorem App.Construction.FiniteCoefficientExtension.gluedChartLift_inclusion (i : X.directedAffineCover.I₀) |
| 88 | (a : W ⟶ (GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) (b : W ⟶ E.gluedProEt) : |
| 89 | (E.gluedChartLift i a b).left ≫ E.gluedChartInclusion i = b := by |
| 90 | apply MorphismProperty.Over.Hom.ext |
| 91 | exact (E.relativeGluingData.isPullback_natTrans_ι_toBase i).lift_snd _ _ _ |
| 92 | |
| 93 | theorem App.Construction.FiniteCoefficientExtension.gluedChartInclusion_cancel (i : X.directedAffineCover.I₀) |
| 94 | (a b : W ⟶ (E.affineSliceObject ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i)).left) |
| 95 | (h : a ≫ E.gluedChartInclusion i = b ≫ E.gluedChartInclusion i) : a = b := by |
| 96 | apply MorphismProperty.Over.Hom.ext |
| 97 | apply (cancel_mono (colimit.ι E.relativeGluingData.functor i)).mp |
| 98 | exact congrArg (fun k => k.left) h |
| 99 | |
| 100 | /-- The global section map is bijective on every object lying over an affine base open. -/ |
| 101 | theorem App.Construction.FiniteCoefficientExtension.sectionToGlued_bijective_on_chart (i : X.directedAffineCover.I₀) |
| 102 | (a : W ⟶ (GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) : |
| 103 | Function.Bijective (E.sectionToGlued W) := by |
| 104 | let r := E.affineSliceRepresentative ((GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) |
| 105 | constructor |
| 106 | · intro s t h |
| 107 | rw [E.sectionToGlued_on_chart i a s, E.sectionToGlued_on_chart i a t] at h |
| 108 | have he := E.gluedChartInclusion_cancel i _ _ h |
| 109 | exact (SliceSectionMaps.Construction.sliceSectionMap_section E.fiberPresheaf r (Over.mk a) s).symm.trans |
| 110 | ((congrArg (fun f => E.fiberPresheaf.map f.op (SliceRepresentativeMaps.Construction.sliceUniversalSection E.fiberPresheaf r)) |
| 111 | he).trans (SliceSectionMaps.Construction.sliceSectionMap_section E.fiberPresheaf r (Over.mk a) t)) |
| 112 | · intro b |
| 113 | let f := E.gluedChartLift i a b |
| 114 | refine ⟨r.homEquiv f, ?_⟩ |
| 115 | rw [E.sectionToGlued_on_chart i a] |
| 116 | change ((r.homEquiv (X := Over.mk a)).symm (r.homEquiv f)).left ≫ _ = _ |
| 117 | rw [r.homEquiv.symm_apply_apply] |
| 118 | exact E.gluedChartLift_inclusion i a b |
| 119 | |
| 120 | end |
| 121 | |
| 122 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor |