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.ProEtale.SingleCover |
| 2 | import Mathlib.CategoryTheory.Sites.Over |
| 3 | |
| 4 | /-! # Etale Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.EtaleRestriction.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: restriction of actual sheaves along weakly étale maps |
| 12 | |
| 13 | Composition of structure maps gives the functor from the smaller site's |
| 14 | objects to the original site. It preserves covering pullbacks and coverings, |
| 15 | so objectwise restriction takes actual sheaves to actual sheaves. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u v w |
| 24 | |
| 25 | local instance : MorphismProperty.IsStableUnderComposition (@WeaklyEtale.{u}) := |
| 26 | (inferInstance : MorphismProperty.IsMultiplicative (@WeaklyEtale.{u})).toIsStableUnderComposition |
| 27 | |
| 28 | local instance (X : Scheme.{u}) : Precoverage.IsStableUnderBaseChange (Scheme.ProEt.precoverage X) := |
| 29 | inferInstanceAs (Precoverage.IsStableUnderBaseChange |
| 30 | (Scheme.proetalePrecoverage.comap (Scheme.ProEt.forget X ⋙ Over.forget X))) |
| 31 | |
| 32 | variable {X Y : Scheme.{u}} (f : Y ⟶ X) (hf : WeaklyEtale f) |
| 33 | |
| 34 | /-- Composition with the actual weakly étale structure map. -/ |
| 35 | def proEtCompose : Y.ProEt ⥤ X.ProEt := |
| 36 | MorphismProperty.Over.map ⊤ hf |
| 37 | |
| 38 | instance proEtCompose_preservesPullbacks : PreservesLimitsOfShape WalkingCospan (proEtCompose f hf) := by |
| 39 | have : PreservesLimitsOfShape WalkingCospan |
| 40 | (proEtCompose f hf ⋙ Scheme.ProEt.forget X ⋙ Over.forget X) := by |
| 41 | change PreservesLimitsOfShape WalkingCospan (Scheme.ProEt.forget Y ⋙ Over.forget Y) |
| 42 | infer_instance |
| 43 | exact preservesLimitsOfShape_of_reflects_of_preserves |
| 44 | (proEtCompose f hf) (Scheme.ProEt.forget X ⋙ Over.forget X) |
| 45 | |
| 46 | instance proEtCompose_continuous : |
| 47 | (proEtCompose f hf).IsContinuous (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) := by |
| 48 | apply Functor.isContinuous_toGrothendieck_of_pullbacksPreservedBy |
| 49 | (proEtCompose f hf) (Scheme.ProEt.precoverage Y) (Scheme.ProEt.precoverage X) |
| 50 | intro U P hP |
| 51 | change (P.map (proEtCompose f hf)).map (Scheme.ProEt.forget X ⋙ Over.forget X) ∈ |
| 52 | Scheme.proetalePrecoverage U.left |
| 53 | obtain ⟨ι, V, g, rfl⟩ := P.exists_eq_ofArrows |
| 54 | change (Presieve.ofArrows V g).map (Scheme.ProEt.forget Y ⋙ Over.forget Y) ∈ |
| 55 | Scheme.proetalePrecoverage U.left at hP |
| 56 | simpa only [Presieve.map_ofArrows] using! hP |
| 57 | |
| 58 | /-- Restriction of an actual sheaf is given by its original values on the composed objects. -/ |
| 59 | def proEtSheafRestriction (A : Type v) [Category.{w} A] : |
| 60 | Sheaf (Scheme.ProEt.topology X) A ⥤ Sheaf (Scheme.ProEt.topology Y) A := |
| 61 | (proEtCompose f hf).sheafPushforwardContinuous A (Scheme.ProEt.topology Y) (Scheme.ProEt.topology X) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.EtaleRestriction.Construction |