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.Picard.PoincareBundle.Affine.Gluing |
| 2 | |
| 3 | /-! # Gluing Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.GluingComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Pullback compatibility of the affine presentation of gluing |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- Rearrange two commuting squares of isomorphisms while retaining their prescribed maps. -/ |
| 18 | theorem rearrange {C : Type*} [Category C] {X Y Z W P Q U : C} |
| 19 | (a : X ≅ Y) (b : Y ≅ Z) (c : Z ≅ W) (d : X ≅ P) (v : P ≅ W) |
| 20 | (r : P ≅ Q) (s : X ≅ U) (t : U ≅ Q) |
| 21 | (h : a.hom ≫ b.hom ≫ c.hom = d.hom ≫ v.hom) |
| 22 | (hn : s.hom ≫ t.hom = d.hom ≫ r.hom) : |
| 23 | c.hom ≫ v.inv ≫ r.hom = b.inv ≫ a.inv ≫ s.hom ≫ t.hom := by |
| 24 | calc |
| 25 | _ = b.inv ≫ a.inv ≫ (a.hom ≫ b.hom ≫ c.hom) ≫ v.inv ≫ r.hom := by |
| 26 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 27 | _ = b.inv ≫ a.inv ≫ (d.hom ≫ v.hom) ≫ v.inv ≫ r.hom := by rw [h] |
| 28 | _ = _ := by rw [hn]; simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 29 | |
| 30 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.TildePullback OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Composition OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Gluing |
| 31 | |
| 32 | variable {R S T : CommRingCat.{u}} (M : ModuleCat.{u} R) |
| 33 | {L : (Spec R).Modules} (e : (tilde.functor R).obj M ≅ L) |
| 34 | |
| 35 | /-- The affine presentation comparison respects an additional geometric pullback. -/ |
| 36 | theorem comparison_composition (f : R ⟶ S) (g : S ⟶ T) : |
| 37 | (tilde.functor T).map ((ModuleCat.extendScalarsComp f.hom g.hom).inv.app M) ≫ |
| 38 | (Affine.Gluing.comparison M e (f ≫ g)).hom = |
| 39 | (TildePullback.tildePullbackIso g).inv.app ((ModuleCat.extendScalars f.hom).obj M) ≫ |
| 40 | (Scheme.Modules.pullback (Spec.map g)).map ((Affine.Gluing.comparison M e f).hom) ≫ |
| 41 | (Affine.Composition.geometricCompositionIso f g).hom.app L := by |
| 42 | have h := rearrange |
| 43 | ((Scheme.Modules.pullback (Spec.map g)).mapIso ((TildePullback.tildePullbackIso f).app M)) |
| 44 | ((TildePullback.tildePullbackIso g).app ((ModuleCat.extendScalars f.hom).obj M)) |
| 45 | ((tilde.functor T).mapIso ((ModuleCat.extendScalarsComp f.hom g.hom).app M).symm) |
| 46 | ((Affine.Composition.geometricCompositionIso f g).app ((tilde.functor R).obj M)) |
| 47 | ((TildePullback.tildePullbackIso (f ≫ g)).app M) |
| 48 | ((Scheme.Modules.pullback (Spec.map (f ≫ g))).mapIso e) |
| 49 | ((Scheme.Modules.pullback (Spec.map f) ⋙ Scheme.Modules.pullback (Spec.map g)).mapIso e) |
| 50 | ((Affine.Composition.geometricCompositionIso f g).app L) |
| 51 | (Affine.Composition.tilde_composition_app f g M) ((Affine.Composition.geometricCompositionIso f g).hom.naturality e.hom) |
| 52 | simpa only [Affine.Gluing.comparison, Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, |
| 53 | Functor.mapIso_inv, Iso.app_hom, Iso.app_inv, Functor.comp_map, |
| 54 | CategoryTheory.Functor.map_comp, Category.assoc] using h |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.GluingComparison |