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.PullbackCompositionMate |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.ModuleComposition |
| 3 | |
| 4 | /-! # Restriction Composition Adjunction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.RestrictionCompositionAdjunction |
| 7 | |
| 8 | /-! Coherence of restriction composition, proved through the adjunction units. -/ |
| 9 | |
| 10 | set_option backward.isDefEq.respectTransparency false |
| 11 | set_option backward.isDefEq.respectTransparency.types false |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | |
| 16 | theorem restrictionComp_unit {X Y Z : Scheme.{u}} |
| 17 | (f : X ⟶ Y) (g : Y ⟶ Z) [IsOpenImmersion f] [IsOpenImmersion g] |
| 18 | (M : Z.Modules) : |
| 19 | (Scheme.Modules.restrictAdjunction (f ≫ g)).unit.app M ≫ |
| 20 | (Scheme.Modules.pushforward (f ≫ g)).map |
| 21 | ((Scheme.Modules.restrictFunctorComp f g).hom.app M) = |
| 22 | ((Scheme.Modules.restrictAdjunction g).comp |
| 23 | (Scheme.Modules.restrictAdjunction f)).unit.app M ≫ |
| 24 | (Scheme.Modules.pushforwardComp f g).hom.app |
| 25 | ((Scheme.Modules.restrictFunctor g ⋙ Scheme.Modules.restrictFunctor f).obj M) := by |
| 26 | rw [Adjunction.comp_unit_app] |
| 27 | apply _root_.SheafOfModules.hom_ext |
| 28 | apply PresheafOfModules.hom_ext |
| 29 | intro U |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro x |
| 33 | rw [ModuleComposition.module_comp_apply] |
| 34 | conv_rhs => rw [ModuleComposition.module_comp_apply] |
| 35 | change ((Scheme.Modules.restrictFunctorComp f g).hom.app M).app |
| 36 | ((f ≫ g) ⁻¹ᵁ U.unop) |
| 37 | (((Scheme.Modules.restrictAdjunction (f ≫ g)).unit.app M).app U.unop x) = |
| 38 | (((Scheme.Modules.restrictAdjunction g).unit.app M ≫ |
| 39 | (Scheme.Modules.pushforward g).map |
| 40 | ((Scheme.Modules.restrictAdjunction f).unit.app |
| 41 | ((Scheme.Modules.restrictFunctor g).obj M))).app U.unop) x |
| 42 | let z := M.presheaf.map (homOfLE ((f ≫ g).image_preimage_le U.unop)).op x |
| 43 | let y := M.presheaf.map (homOfLE (g.image_preimage_le U.unop)).op x |
| 44 | have hfg : ((Scheme.Modules.restrictAdjunction (f ≫ g)).unit.app M).app U.unop x = z := |
| 45 | ConcreteCategory.congr_hom |
| 46 | (Scheme.Modules.restrictAdjunction_unit_app_app (f ≫ g) M U.unop) x |
| 47 | have hg : ((Scheme.Modules.restrictAdjunction g).unit.app M).app U.unop x = y := |
| 48 | ConcreteCategory.congr_hom |
| 49 | (Scheme.Modules.restrictAdjunction_unit_app_app g M U.unop) x |
| 50 | have hc := ConcreteCategory.congr_hom |
| 51 | (Scheme.Modules.restrictFunctorComp_hom_app_app |
| 52 | (U := (f ≫ g) ⁻¹ᵁ U.unop) f g M) z |
| 53 | have hf := ConcreteCategory.congr_hom |
| 54 | (Scheme.Modules.restrictAdjunction_unit_app_app f |
| 55 | ((Scheme.Modules.restrictFunctor g).obj M) (g ⁻¹ᵁ U.unop)) y |
| 56 | rw [hfg] |
| 57 | change _ = ((Scheme.Modules.restrictAdjunction f).unit.app |
| 58 | ((Scheme.Modules.restrictFunctor g).obj M)).app (g ⁻¹ᵁ U.unop) |
| 59 | (((Scheme.Modules.restrictAdjunction g).unit.app M).app U.unop x) |
| 60 | rw [hg, hc, hf] |
| 61 | change M.presheaf.map _ (M.presheaf.map _ x) = |
| 62 | M.presheaf.map _ (M.presheaf.map _ x) |
| 63 | rw [← M.presheaf.map_comp_apply, ← M.presheaf.map_comp_apply] |
| 64 | congr 1 |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.RestrictionCompositionAdjunction |