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.Glued |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.OpenCover |
| 3 | |
| 4 | /-! # Base Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseCover.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: the affine base cover pulled back to an actual site object |
| 12 | |
| 13 | The two projections and the directed transitions are actual morphisms in |
| 14 | the original site. Their equations are the ordinary scheme pullback equations. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 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}} (W : X.ProEt) |
| 26 | |
| 27 | /-- The affine open cover of the base pulled back to a site object. -/ |
| 28 | def affineBaseCover : W.left.OpenCover := X.directedAffineCover.pullback₁ W.hom |
| 29 | |
| 30 | instance : Category (affineBaseCover W).I₀ := |
| 31 | inferInstanceAs (Category X.directedAffineCover.I₀) |
| 32 | |
| 33 | instance : Scheme.Cover.LocallyDirected (affineBaseCover W) := |
| 34 | Scheme.Cover.locallyDirectedPullbackCover X.directedAffineCover W.hom |
| 35 | |
| 36 | /-- A member of the pulled-back affine base cover in the actual site. -/ |
| 37 | def affineBaseCoverObject (i : X.directedAffineCover.I₀) : X.ProEt := |
| 38 | ProEtale.OpenCover.Construction.proEtaleOpenCoverObject W (affineBaseCover W) i |
| 39 | |
| 40 | /-- Its projection to the original site object. -/ |
| 41 | def affineBaseCoverProjection (i : X.directedAffineCover.I₀) : affineBaseCoverObject W i ⟶ W := |
| 42 | ProEtale.OpenCover.Construction.proEtaleOpenCoverMap W (affineBaseCover W) i |
| 43 | |
| 44 | /-- Its projection to the affine object of the base. -/ |
| 45 | def affineBaseCoverToOpen (i : X.directedAffineCover.I₀) : |
| 46 | affineBaseCoverObject W i ⟶ (FiniteTorsor.GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i := |
| 47 | MorphismProperty.Over.homMk (pullback.snd W.hom (X.directedAffineCover.f i)) |
| 48 | pullback.condition.symm |
| 49 | |
| 50 | /-- A member regarded in the slice over its affine base open. -/ |
| 51 | def affineBaseCoverSlice (i : X.directedAffineCover.I₀) : |
| 52 | Over ((FiniteTorsor.GluingData.Construction.proEtaleDirectedAffineDiagram X).obj i) := Over.mk (affineBaseCoverToOpen W i) |
| 53 | |
| 54 | /-- The directed transition between members of the pulled-back cover. -/ |
| 55 | def affineBaseCoverTransition {i j : X.directedAffineCover.I₀} (h : i ⟶ j) : |
| 56 | affineBaseCoverObject W i ⟶ affineBaseCoverObject W j := |
| 57 | MorphismProperty.Over.homMk ((affineBaseCover W).trans h) (by |
| 58 | change (affineBaseCover W).trans h ≫ (affineBaseCover W).f j ≫ W.hom = |
| 59 | (affineBaseCover W).f i ≫ W.hom |
| 60 | rw [← Category.assoc, Scheme.Cover.trans_map]) |
| 61 | |
| 62 | theorem affineBaseCoverTransition_projection {i j : X.directedAffineCover.I₀} (h : i ⟶ j) : |
| 63 | affineBaseCoverTransition W h ≫ affineBaseCoverProjection W j = affineBaseCoverProjection W i := |
| 64 | MorphismProperty.Over.Hom.ext ((affineBaseCover W).trans_map h) |
| 65 | |
| 66 | theorem affineBaseCoverTransition_open {i j : X.directedAffineCover.I₀} (h : i ⟶ j) : |
| 67 | affineBaseCoverTransition W h ≫ affineBaseCoverToOpen W j = |
| 68 | affineBaseCoverToOpen W i ≫ (FiniteTorsor.GluingData.Construction.proEtaleDirectedAffineDiagram X).map h := by |
| 69 | apply MorphismProperty.Over.Hom.ext |
| 70 | change pullback.map W.hom (X.directedAffineCover.f i) W.hom (X.directedAffineCover.f j) |
| 71 | (𝟙 W.left) (X.directedAffineCover.trans h) (𝟙 X) (by simp) |
| 72 | ((Category.comp_id _).trans (X.directedAffineCover.trans_map h).symm) ≫ |
| 73 | pullback.snd W.hom (X.directedAffineCover.f j) = |
| 74 | pullback.snd W.hom (X.directedAffineCover.f i) ≫ X.directedAffineCover.trans h |
| 75 | simp |
| 76 | |
| 77 | /-- The transition viewed as a morphism in the target affine slice. -/ |
| 78 | def affineBaseCoverSliceTransition {i j : X.directedAffineCover.I₀} (h : i ⟶ j) : |
| 79 | (Over.map ((FiniteTorsor.GluingData.Construction.proEtaleDirectedAffineDiagram X).map h)).obj (affineBaseCoverSlice W i) ⟶ |
| 80 | affineBaseCoverSlice W j := |
| 81 | Over.homMk (affineBaseCoverTransition W h) (affineBaseCoverTransition_open W h) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.BaseCover.Construction |