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.Homomorphisms.UnitPullbackScalars |
| 2 | |
| 3 | /-! # Unit Pullback Coherence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitPullbackCoherence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical structure-module comparisons respect composition of |
| 10 | scheme pullbacks. These are equalities of the actual adjunction maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | theorem homEquiv_conjugate {C D : Type*} [Category C] [Category D] |
| 21 | {L₁ L₂ : C ⥤ D} {R₁ R₂ : D ⥤ C} (a₁ : L₁ ⊣ R₁) (a₂ : L₂ ⊣ R₂) |
| 22 | (α : L₂ ⟶ L₁) {M : C} {N : D} (h : L₁.obj M ⟶ N) : |
| 23 | a₂.homEquiv M N (α.app M ≫ h) = |
| 24 | a₁.homEquiv M N h ≫ (conjugateEquiv a₁ a₂ α).app N := by |
| 25 | rw [a₂.homEquiv_naturality_right, Adjunction.homEquiv_unit, |
| 26 | ← unit_conjugateEquiv, Category.assoc, |
| 27 | ← NatTrans.naturality, ← Category.assoc, ← Adjunction.homEquiv_unit] |
| 28 | |
| 29 | variable {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 30 | |
| 31 | theorem structureModulePullback_comp_inv : |
| 32 | (Scheme.Modules.pullbackComp f g).inv.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z) ≫ |
| 33 | (Scheme.Modules.pullback f).map (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g).hom ≫ |
| 34 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom = (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (f ≫ g)).hom := by |
| 35 | let ag := Scheme.Modules.pullbackPushforwardAdjunction g |
| 36 | let af := Scheme.Modules.pullbackPushforwardAdjunction f |
| 37 | let ac := Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g) |
| 38 | have hf : af.homEquiv _ _ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom = |
| 39 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom := |
| 40 | SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit _ |
| 41 | have hg : ag.homEquiv _ _ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g).hom = |
| 42 | SheafOfModules.unitToPushforwardObjUnit g.toRingCatSheafHom := |
| 43 | SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit _ |
| 44 | have hc : ac.homEquiv _ _ (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (f ≫ g)).hom = |
| 45 | SheafOfModules.unitToPushforwardObjUnit (f ≫ g).toRingCatSheafHom := |
| 46 | SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit _ |
| 47 | apply (ac.homEquiv _ _).injective |
| 48 | rw [homEquiv_conjugate (ag.comp af) ac, |
| 49 | Scheme.Modules.conjugateEquiv_pullbackComp_inv] |
| 50 | change ag.homEquiv _ _ (af.homEquiv _ _ |
| 51 | ((Scheme.Modules.pullback f).map (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g).hom ≫ |
| 52 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom)) ≫ |
| 53 | (Scheme.Modules.pushforwardComp f g).hom.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) = _ |
| 54 | rw [af.homEquiv_naturality_left, hf, ag.homEquiv_naturality_right, hg, hc] |
| 55 | apply Scheme.Modules.hom_ext |
| 56 | intro U |
| 57 | ext r |
| 58 | rfl |
| 59 | |
| 60 | @[reassoc] |
| 61 | theorem structureModulePullback_comp : |
| 62 | (Scheme.Modules.pullbackComp f g).hom.app (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Z) ≫ |
| 63 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (f ≫ g)).hom = |
| 64 | (Scheme.Modules.pullback f).map (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g).hom ≫ |
| 65 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom := by |
| 66 | rw [← structureModulePullback_comp_inv f g] |
| 67 | simp |
| 68 | |
| 69 | end Construction |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitPullbackCoherence |