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.ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit |
| 2 | |
| 3 | /-! # Pullback Unit Coherence -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullbackUnitCoherence |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coherence of the canonical structure-sheaf trivializations under |
| 10 | composition of arbitrary scheme pullbacks. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | open OAI.ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction |
| 17 | |
| 18 | theorem homEquiv_conjugate |
| 19 | {C D : Type*} [Category C] [Category D] |
| 20 | {L₁ L₂ : C ⥤ D} {R₁ R₂ : D ⥤ C} |
| 21 | (a₁ : L₁ ⊣ R₁) (a₂ : L₂ ⊣ R₂) (α : L₂ ⟶ L₁) |
| 22 | {M : C} {N : D} (q : L₁.obj M ⟶ N) : |
| 23 | a₂.homEquiv M N (α.app M ≫ q) = |
| 24 | a₁.homEquiv M N q ≫ (conjugateEquiv a₁ a₂ α).app N := by |
| 25 | rw [Adjunction.homEquiv_unit, Adjunction.homEquiv_unit, R₂.map_comp, |
| 26 | ← Category.assoc, ← unit_conjugateEquiv] |
| 27 | rw [Category.assoc, ← (conjugateEquiv a₁ a₂ α).naturality, ← Category.assoc] |
| 28 | |
| 29 | variable {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) |
| 30 | |
| 31 | theorem structureSheafToPushforward_comp : |
| 32 | (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward g ≫ |
| 33 | (Scheme.Modules.pushforward g).map (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward f)) ≫ |
| 34 | (Scheme.Modules.pushforwardComp f g).hom.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule X) = |
| 35 | ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward (f ≫ g) := by |
| 36 | apply Scheme.Modules.hom_ext |
| 37 | intro U |
| 38 | ext r |
| 39 | rfl |
| 40 | |
| 41 | theorem iteratedUnit_homEquiv : |
| 42 | ((Scheme.Modules.pullbackPushforwardAdjunction g).comp |
| 43 | (Scheme.Modules.pullbackPushforwardAdjunction f)).homEquiv _ _ |
| 44 | ((Scheme.Modules.pullback f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso g).hom ≫ |
| 45 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom) = |
| 46 | ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward g ≫ |
| 47 | (Scheme.Modules.pushforward g).map (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward f) := by |
| 48 | let af := Scheme.Modules.pullbackPushforwardAdjunction f |
| 49 | let ag := Scheme.Modules.pullbackPushforwardAdjunction g |
| 50 | have hf : af.homEquiv _ _ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom = ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward f := |
| 51 | (af.homEquiv_unit _ _ _).trans (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.pullbackStructureSheafIso_unit f) |
| 52 | have hg : ag.homEquiv _ _ (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso g).hom = ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.structureSheafToPushforward g := |
| 53 | (ag.homEquiv_unit _ _ _).trans (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.pullbackStructureSheafIso_unit g) |
| 54 | rw [Adjunction.comp_homEquiv] |
| 55 | change ag.homEquiv _ _ (af.homEquiv _ _ |
| 56 | ((Scheme.Modules.pullback f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso g).hom ≫ |
| 57 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom)) = _ |
| 58 | rw [af.homEquiv_naturality_left, hf, ag.homEquiv_naturality_right, hg] |
| 59 | |
| 60 | /-- The canonical unit trivialization for a composite is the composite |
| 61 | of the canonical unit trivializations, with native pullback coherence. -/ |
| 62 | theorem pullbackStructureSheafIso_comp : |
| 63 | (Scheme.Modules.pullbackComp f g).hom.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) ≫ |
| 64 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso (f ≫ g)).hom = |
| 65 | (Scheme.Modules.pullback f).map (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso g).hom ≫ |
| 66 | (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.pullbackStructureSheafIso f).hom := by |
| 67 | let ac := (Scheme.Modules.pullbackPushforwardAdjunction g).comp |
| 68 | (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 69 | let ad := Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g) |
| 70 | let e := Scheme.Modules.pullbackComp f g |
| 71 | apply (cancel_epi (e.inv.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z))).mp |
| 72 | have hi : e.inv.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) ≫ |
| 73 | (Scheme.Modules.pullbackComp f g).hom.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z) = 𝟙 _ := |
| 74 | (e.app (ArithmeticGeometry.OrdinaryLocus.Openness.LineBundle.Construction.structureSheafModule Z)).inv_hom_id |
| 75 | rw [← Category.assoc, hi, Category.id_comp] |
| 76 | apply (ad.homEquiv _ _).injective |
| 77 | rw [homEquiv_conjugate ac ad e.inv, |
| 78 | Scheme.Modules.conjugateEquiv_pullbackComp_inv, |
| 79 | iteratedUnit_homEquiv, structureSheafToPushforward_comp] |
| 80 | exact (ad.homEquiv_unit _ _ _).trans (ArithmeticGeometry.OrdinaryLocus.Openness.TensorUnit.Construction.pullbackStructureSheafIso_unit (f ≫ g)) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PullbackUnitCoherence |