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.AbelianModuli.HilbertConstruction.Pullback.UnitCompositionValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.SquareMapEquality |
| 3 | |
| 4 | /-! # Restricted Section Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.RestrictedSectionComposition |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition and commutative-square comparisons preserve section values pulled back to arbitrary smaller opens. This version allows local sections, so it applies to parameter charts without a global extension of the section. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | universe u |
| 13 | |
| 14 | def pullbackSectionValueOn {X Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) |
| 15 | (U : Y.Opens) (W : X.Opens) (hW : W ≤ f ⁻¹ᵁ U) (x : Γ(M, U)) : |
| 16 | Γ((Scheme.Modules.pullback f).obj M, W) := |
| 17 | ((Scheme.Modules.pullback f).obj M).presheaf.map (homOfLE hW).op |
| 18 | (((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M).app U x) |
| 19 | |
| 20 | theorem pullbackSectionValueOn_congr {X Y : Scheme.{u}} {f g : X ⟶ Y} |
| 21 | (h : f = g) (M : Y.Modules) (U : Y.Opens) (W : X.Opens) |
| 22 | (hf : W ≤ f ⁻¹ᵁ U) (hg : W ≤ g ⁻¹ᵁ U) (x : Γ(M, U)) : |
| 23 | ((Scheme.Modules.pullbackCongr h).hom.app M).app W |
| 24 | (pullbackSectionValueOn f M U W hf x) = |
| 25 | pullbackSectionValueOn g M U W hg x := by |
| 26 | subst g |
| 27 | rfl |
| 28 | |
| 29 | theorem pullbackSectionValueOn_comp {X Y Z : Scheme.{u}} (a : Z ⟶ Y) (j : Y ⟶ X) |
| 30 | (M : X.Modules) (U : X.Opens) (V : Y.Opens) (W : Z.Opens) |
| 31 | (hV : V ≤ j ⁻¹ᵁ U) (hW : W ≤ a ⁻¹ᵁ V) |
| 32 | (hWU : W ≤ (a ≫ j) ⁻¹ᵁ U) (x : Γ(M, U)) : |
| 33 | ((Scheme.Modules.pullbackComp a j).hom.app M).app W |
| 34 | (pullbackSectionValueOn a ((Scheme.Modules.pullback j).obj M) V W hW |
| 35 | (pullbackSectionValueOn j M U V hV x)) = |
| 36 | pullbackSectionValueOn (a ≫ j) M U W hWU x := by |
| 37 | let N := (Scheme.Modules.pullback j).obj M |
| 38 | let P := (Scheme.Modules.pullback a).obj N |
| 39 | let Q := (Scheme.Modules.pullback (a ≫ j)).obj M |
| 40 | let u : N ⟶ (Scheme.Modules.pushforward a).obj P := |
| 41 | (Scheme.Modules.pullbackPushforwardAdjunction a).unit.app N |
| 42 | let s : Γ(N, j ⁻¹ᵁ U) := |
| 43 | ((Scheme.Modules.pullbackPushforwardAdjunction j).unit.app M).app U x |
| 44 | let t : Γ(P, (Opens.map a.base).obj (j ⁻¹ᵁ U)) := u.app (j ⁻¹ᵁ U) s |
| 45 | let e : P ⟶ Q := (Scheme.Modules.pullbackComp a j).hom.app M |
| 46 | have hWU' : W ≤ (Opens.map a.base).obj (j ⁻¹ᵁ U) := hWU |
| 47 | have hn := ConcreteCategory.congr_hom (u.mapPresheaf.naturality (homOfLE hV).op) s |
| 48 | change u.app V (N.presheaf.map (homOfLE hV).op s) = |
| 49 | P.presheaf.map ((Opens.map a.base).map (homOfLE hV)).op t at hn |
| 50 | have hr : P.presheaf.map (homOfLE hW).op |
| 51 | (P.presheaf.map ((Opens.map a.base).map (homOfLE hV)).op t) = |
| 52 | P.presheaf.map (homOfLE hWU').op t := by |
| 53 | rw [← P.presheaf.map_comp_apply] |
| 54 | exact ConcreteCategory.congr_hom (P.presheaf.congr_map (Subsingleton.elim _ _)) t |
| 55 | change e.app W (P.presheaf.map (homOfLE hW).op |
| 56 | (u.app V (N.presheaf.map (homOfLE hV).op s))) = _ |
| 57 | rw [hn, hr] |
| 58 | have he := ConcreteCategory.congr_hom (e.mapPresheaf.naturality (homOfLE hWU').op) t |
| 59 | exact he.trans (congrArg (Q.presheaf.map (homOfLE hWU').op) |
| 60 | (UnitCompositionValues.pullbackUnit_comp_value a j M U x)) |
| 61 | |
| 62 | theorem modulePullbackSquareIso_restricted_section |
| 63 | {X X' Y Y' : Scheme.{u}} (a : X' ⟶ X) (b : Y' ⟶ Y) (f : Y ⟶ X) (g : Y' ⟶ X') |
| 64 | (h : g ≫ a = b ≫ f) (M : X.Modules) |
| 65 | (U : X.Opens) (V : X'.Opens) (V' : Y.Opens) (W : Y'.Opens) |
| 66 | (hV : V ≤ a ⁻¹ᵁ U) (hV' : V' ≤ f ⁻¹ᵁ U) |
| 67 | (hW : W ≤ g ⁻¹ᵁ V) (hW' : W ≤ b ⁻¹ᵁ V') (x : Γ(M, U)) : |
| 68 | ((SquareMapEquality.modulePullbackSquareIso a b f g h).hom.app M).app W |
| 69 | (pullbackSectionValueOn g ((Scheme.Modules.pullback a).obj M) V W hW |
| 70 | (pullbackSectionValueOn a M U V hV x)) = |
| 71 | pullbackSectionValueOn b ((Scheme.Modules.pullback f).obj M) V' W hW' |
| 72 | (pullbackSectionValueOn f M U V' hV' x) := by |
| 73 | let hg : W ≤ (g ≫ a) ⁻¹ᵁ U := |
| 74 | hW.trans (leOfHom ((Opens.map g.base).map (homOfLE hV))) |
| 75 | let hb : W ≤ (b ≫ f) ⁻¹ᵁ U := |
| 76 | hW'.trans (leOfHom ((Opens.map b.base).map (homOfLE hV'))) |
| 77 | let P := (Scheme.Modules.pullback g).obj ((Scheme.Modules.pullback a).obj M) |
| 78 | let s : Γ(P, W) := pullbackSectionValueOn g ((Scheme.Modules.pullback a).obj M) V W hW |
| 79 | (pullbackSectionValueOn a M U V hV x) |
| 80 | change ((Scheme.Modules.pullbackComp b f).inv.app M).app W |
| 81 | (((Scheme.Modules.pullbackCongr h).hom.app M).app W |
| 82 | (((Scheme.Modules.pullbackComp g a).hom.app M).app W s)) = _ |
| 83 | dsimp only [s] |
| 84 | rw [pullbackSectionValueOn_comp g a M U V W hV hW hg x, |
| 85 | pullbackSectionValueOn_congr h M U W hg hb x, |
| 86 | ← pullbackSectionValueOn_comp b f M U V' W hV' hW' hb x] |
| 87 | let Q := (Scheme.Modules.pullback b).obj ((Scheme.Modules.pullback f).obj M) |
| 88 | let s : Γ(Q, W) := pullbackSectionValueOn b ((Scheme.Modules.pullback f).obj M) V' W hW' |
| 89 | (pullbackSectionValueOn f M U V' hV' x) |
| 90 | exact congrArg (fun e : Q ⟶ Q => e.app W s) ((Scheme.Modules.pullbackComp b f).app M).hom_inv_id |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.RestrictedSectionComposition |