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.SheafCohomology.Projective.OpenFrames |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleComposition |
| 3 | |
| 4 | /-! # Open Over Coherence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenOverCoherence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Comparison diagrams for native restriction and the equivalent over-site. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | |
| 16 | theorem overRestriction_comparison {X : Scheme.{u}} {U V : X.Opens} |
| 17 | (h : V ≤ U) (M : X.Modules) : |
| 18 | ((Scheme.Modules.overFunctorEquiv V).app M).inv ≫ |
| 19 | (Scheme.Modules.overEquiv V).functor.map |
| 20 | (( _root_.SheafOfModules.overFunctorMap X.ringCatSheaf (homOfLE h)).inv.app M) ≫ |
| 21 | (Scheme.Modules.overMapCompOverEquiv (homOfLE h)).hom.app (M.over U) = |
| 22 | (Scheme.Modules.restrictFunctorCongr (X.homOfLE_ι h).symm).hom.app M ≫ |
| 23 | (Scheme.Modules.restrictFunctorComp (X.homOfLE h) U.ι).hom.app M ≫ |
| 24 | (Scheme.Modules.restrictFunctor (X.homOfLE h)).map |
| 25 | ((Scheme.Modules.overFunctorEquiv U).app M).inv := by |
| 26 | apply _root_.SheafOfModules.hom_ext |
| 27 | apply PresheafOfModules.hom_ext |
| 28 | intro W |
| 29 | apply ModuleCat.hom_ext |
| 30 | apply LinearMap.ext |
| 31 | intro x |
| 32 | have h₁ : (X.homOfLE h ≫ U.ι) ''ᵁ W.unop = V.ι ''ᵁ W.unop := by |
| 33 | simp only [X.homOfLE_ι h] |
| 34 | have h₂ : U.ι ''ᵁ ((X.homOfLE h) ''ᵁ W.unop) = |
| 35 | (X.homOfLE h ≫ U.ι) ''ᵁ W.unop := by |
| 36 | rw [Scheme.Hom.comp_image] |
| 37 | change M.presheaf.map (eqToHom (h₂.trans h₁)).op x = |
| 38 | M.presheaf.map (eqToHom h₂).op (M.presheaf.map (eqToHom h₁).op x) |
| 39 | rw [← M.presheaf.map_comp_apply] |
| 40 | congr 1 |
| 41 | |
| 42 | theorem overRestriction_unit {X : Scheme.{u}} {U V : X.Opens} (h : V ≤ U) : |
| 43 | (Scheme.Modules.overMapCompOverEquiv (homOfLE h)).hom.app |
| 44 | (_root_.SheafOfModules.unit (X.ringCatSheaf.over U)) ≫ |
| 45 | (Scheme.Modules.restrictFunctor (X.homOfLE h)).map |
| 46 | (U.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom ≫ |
| 47 | (Scheme.Modules.restrictUnitIso (X.homOfLE h)).hom = |
| 48 | (Scheme.Modules.overEquiv V).functor.map |
| 49 | (_root_.SheafOfModules.overMapUnitIso (homOfLE h)).hom ≫ |
| 50 | (V.sheafOfModulesEquivOverUnit X.ringCatSheaf).hom := by |
| 51 | apply _root_.SheafOfModules.hom_ext |
| 52 | apply PresheafOfModules.hom_ext |
| 53 | intro W |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro x |
| 57 | have hWV : U.ι ''ᵁ ((X.homOfLE h) ''ᵁ W.unop) = V.ι ''ᵁ W.unop := by |
| 58 | simp only [← Scheme.Hom.comp_image, X.homOfLE_ι h] |
| 59 | change ((X.homOfLE h).appIso W.unop).hom |
| 60 | (X.presheaf.map (eqToHom hWV).op x) = x |
| 61 | have hi := ConcreteCategory.congr_hom |
| 62 | (Scheme.Hom.appIso_homOfLE_inv h W.unop) x |
| 63 | change ((X.homOfLE h).appIso W.unop).inv x = |
| 64 | X.presheaf.map (eqToHom hWV).op x at hi |
| 65 | rw [← hi] |
| 66 | exact ConcreteCategory.congr_hom |
| 67 | ((X.homOfLE h).appIso W.unop).inv_hom_id x |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OpenOverCoherence |