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.AbelianScheme.IsogenyQuotient.GlobalFunctions |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Universal global functions are invariant under actual Cartesian |
| 10 | recovery and arbitrary further base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {A : Over S} |
| 18 | |
| 19 | theorem GlobalFunctions.Construction.HasUniversalGlobalFunctions.isIso_of_isPullback |
| 20 | (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A) |
| 21 | {X T : Scheme.{u}} (a : X ⟶ A.left) (f : X ⟶ T) (b : T ⟶ S) |
| 22 | (hp : IsPullback a f A.hom b) : IsIso f.appTop := by |
| 23 | have : IsIso (pullback.snd A.hom b).appTop := hA T b |
| 24 | have : IsIso hp.isoPullback.hom.appTop := Scheme.Γ.map_isIso hp.isoPullback.hom.op |
| 25 | have he : f = hp.isoPullback.hom ≫ pullback.snd A.hom b := hp.isoPullback_hom_snd.symm |
| 26 | rw [he, Scheme.Hom.comp_appTop] |
| 27 | infer_instance |
| 28 | |
| 29 | theorem GlobalFunctions.Construction.HasUniversalGlobalFunctions.pullback |
| 30 | (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A) {T : Scheme.{u}} (b : T ⟶ S) : |
| 31 | GlobalFunctions.Construction.HasUniversalGlobalFunctions ((Over.pullback b).obj A) := by |
| 32 | intro U c |
| 33 | exact hA.isIso_of_isPullback |
| 34 | (pullback.fst (pullback.snd A.hom b) c ≫ pullback.fst A.hom b) |
| 35 | (pullback.snd (pullback.snd A.hom b) c) (c ≫ b) |
| 36 | ((IsPullback.of_hasPullback (pullback.snd A.hom b) c).paste_horiz |
| 37 | (IsPullback.of_hasPullback A.hom b)) |
| 38 | |
| 39 | theorem GlobalFunctions.Construction.HasUniversalGlobalFunctions.self (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A) : IsIso A.hom.appTop := |
| 40 | hA.isIso_of_isPullback (𝟙 A.left) A.hom (𝟙 S) .of_id_fst |
| 41 | |
| 42 | theorem GlobalFunctions.Construction.HasUniversalGlobalFunctions.of_isPullback |
| 43 | (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A) |
| 44 | {X T : Scheme.{u}} (a : X ⟶ A.left) (f : X ⟶ T) (b : T ⟶ S) |
| 45 | (hp : IsPullback a f A.hom b) : GlobalFunctions.Construction.HasUniversalGlobalFunctions (Over.mk f) := by |
| 46 | intro U c |
| 47 | exact hA.isIso_of_isPullback (pullback.fst f c ≫ a) (pullback.snd f c) (c ≫ b) |
| 48 | ((IsPullback.of_hasPullback f c).paste_horiz hp) |
| 49 | |
| 50 | theorem GlobalFunctions.Construction.HasUniversalGlobalFunctions.restrict (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A) (V : S.Opens) : |
| 51 | IsIso (A.hom ∣_ V).appTop := |
| 52 | hA.isIso_of_isPullback (A.hom ⁻¹ᵁ V).ι (A.hom ∣_ V) V.ι (isPullback_morphismRestrict A.hom V).flip |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient |