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.Quotients.FiniteDescent.RestrictedPullback |
| 2 | |
| 3 | /-! # Pullback Section Congr -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackSectionCongr |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual section pullback is compatible with a commuting square, with |
| 10 | independently chosen smaller opens on its four corners. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 15 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | namespace Construction.PullbackSectionSquare |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.RestrictedPullback.Construction.RestrictedPullbackSections |
| 22 | |
| 23 | theorem congr {X Y : Scheme.{u}} {f g : Y ⟶ X} (h : f = g) (M : X.Modules) |
| 24 | (U : X.Opens) (V : Y.Opens) (hf : V ≤ f ⁻¹ᵁ U) (hg : V ≤ g ⁻¹ᵁ U) (s : Γ(M, U)) : |
| 25 | ((Scheme.Modules.pullbackCongr h).hom.app M).app V (RestrictedPullback.Construction.RestrictedPullbackSections.map f M U V hf s) = |
| 26 | RestrictedPullback.Construction.RestrictedPullbackSections.map g M U V hg s := by |
| 27 | subst g |
| 28 | rfl |
| 29 | |
| 30 | theorem comp_inv {X Y Z : Scheme.{u}} (f : Y ⟶ X) (g : Z ⟶ Y) (M : X.Modules) |
| 31 | (U : X.Opens) (V : Y.Opens) (W : Z.Opens) |
| 32 | (hVU : V ≤ f ⁻¹ᵁ U) (hWV : W ≤ g ⁻¹ᵁ V) (s : Γ(M, U)) : |
| 33 | ((Scheme.Modules.pullbackComp g f).inv.app M).app W |
| 34 | (RestrictedPullback.Construction.RestrictedPullbackSections.map (g ≫ f) M U W (fun _ hz => hVU (hWV hz)) s) = |
| 35 | RestrictedPullback.Construction.RestrictedPullbackSections.map g ((Scheme.Modules.pullback f).obj M) V W hWV (RestrictedPullback.Construction.RestrictedPullbackSections.map f M U V hVU s) := by |
| 36 | have hc := RestrictedPullback.Construction.RestrictedPullbackSections.comp f g M U V W hVU hWV s |
| 37 | have he := congrArg (((Scheme.Modules.pullbackComp g f).inv.app M).app W) hc.symm |
| 38 | exact he.trans (congrArg (fun a : (Scheme.Modules.pullback g).obj ((Scheme.Modules.pullback f).obj M) ⟶ |
| 39 | (Scheme.Modules.pullback g).obj ((Scheme.Modules.pullback f).obj M) => |
| 40 | a.app W (RestrictedPullback.Construction.RestrictedPullbackSections.map g ((Scheme.Modules.pullback f).obj M) V W hWV (RestrictedPullback.Construction.RestrictedPullbackSections.map f M U V hVU s))) |
| 41 | ((Scheme.Modules.pullbackComp g f).app M).hom_inv_id) |
| 42 | |
| 43 | variable {X Y X' Y' : Scheme.{u}} |
| 44 | variable (i : Y ⟶ X) (p : X' ⟶ X) (q : Y' ⟶ Y) (j : Y' ⟶ X') |
| 45 | variable (h : q ≫ i = j ≫ p) (M : X.Modules) |
| 46 | |
| 47 | def iso : (Scheme.Modules.pullback q).obj ((Scheme.Modules.pullback i).obj M) ≅ |
| 48 | (Scheme.Modules.pullback j).obj ((Scheme.Modules.pullback p).obj M) := |
| 49 | (Scheme.Modules.pullbackComp q i).app M ≪≫ |
| 50 | (Scheme.Modules.pullbackCongr h).app M ≪≫ ((Scheme.Modules.pullbackComp j p).app M).symm |
| 51 | |
| 52 | theorem apply (U : X.Opens) (V : Y.Opens) (U' : X'.Opens) (V' : Y'.Opens) |
| 53 | (hi : V ≤ i ⁻¹ᵁ U) (hp : U' ≤ p ⁻¹ᵁ U) (hq : V' ≤ q ⁻¹ᵁ V) (hj : V' ≤ j ⁻¹ᵁ U') |
| 54 | (s : Γ(M, U)) : |
| 55 | (iso i p q j h M).hom.app V' |
| 56 | (RestrictedPullback.Construction.RestrictedPullbackSections.map q ((Scheme.Modules.pullback i).obj M) V V' hq (RestrictedPullback.Construction.RestrictedPullbackSections.map i M U V hi s)) = |
| 57 | RestrictedPullback.Construction.RestrictedPullbackSections.map j ((Scheme.Modules.pullback p).obj M) U' V' hj (RestrictedPullback.Construction.RestrictedPullbackSections.map p M U U' hp s) := by |
| 58 | change ((Scheme.Modules.pullbackComp j p).inv.app M).app V' |
| 59 | (((Scheme.Modules.pullbackCongr h).hom.app M).app V' |
| 60 | (((Scheme.Modules.pullbackComp q i).hom.app M).app V' |
| 61 | (RestrictedPullback.Construction.RestrictedPullbackSections.map q ((Scheme.Modules.pullback i).obj M) V V' hq (RestrictedPullback.Construction.RestrictedPullbackSections.map i M U V hi s)))) = _ |
| 62 | rw [RestrictedPullback.Construction.RestrictedPullbackSections.comp] |
| 63 | have hc := congr h M U V' (fun _ hy => hi (hq hy)) (fun _ hy => hp (hj hy)) s |
| 64 | exact (congrArg (((Scheme.Modules.pullbackComp j p).inv.app M).app V') hc).trans |
| 65 | (comp_inv p j M U U' V' hp hj s) |
| 66 | |
| 67 | theorem vertical (U : X.Opens) (V : Y.Opens) (hi : V ≤ i ⁻¹ᵁ U) |
| 68 | (hj : q ⁻¹ᵁ V ≤ j ⁻¹ᵁ (p ⁻¹ᵁ U)) (s : Γ(M, U)) : |
| 69 | (iso i p q j h M).hom.app (q ⁻¹ᵁ V) |
| 70 | (PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map q ((Scheme.Modules.pullback i).obj M) V |
| 71 | (RestrictedPullback.Construction.RestrictedPullbackSections.map i M U V hi s)) = |
| 72 | RestrictedPullback.Construction.RestrictedPullbackSections.map j ((Scheme.Modules.pullback p).obj M) (p ⁻¹ᵁ U) (q ⁻¹ᵁ V) hj |
| 73 | (PullbackSectionRestrict.Construction.PullbackSectionCoefficients.map p M U s) := by |
| 74 | simpa only [RestrictedPullback.Construction.RestrictedPullbackSections.full] using |
| 75 | apply i p q j h M U V (p ⁻¹ᵁ U) (q ⁻¹ᵁ V) hi le_rfl le_rfl hj s |
| 76 | |
| 77 | end Construction.PullbackSectionSquare |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.PullbackSectionCongr |