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.Open.Adjunction |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedSquares |
| 3 | |
| 4 | /-! # Open Pullback Coherence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenPullbackCoherence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical open pullback comparison is the adjoint comparison |
| 11 | of the actual composed direct images. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem conjugate_leftAdjointUniq_inv |
| 18 | {C D : Type*} [Category C] [Category D] |
| 19 | {F F' : C ⥤ D} {G : D ⥤ C} (a : F ⊣ G) (b : F' ⊣ G) : |
| 20 | conjugateEquiv a b (a.leftAdjointUniq b).inv = 𝟙 G := by |
| 21 | exact (conjugateEquiv a b).apply_symm_apply (𝟙 G) |
| 22 | |
| 23 | theorem conjugate_leftAdjointUniq_hom |
| 24 | {C D : Type*} [Category C] [Category D] |
| 25 | {F F' : C ⥤ D} {G : D ⥤ C} (a : F ⊣ G) (b : F' ⊣ G) : |
| 26 | conjugateEquiv b a (a.leftAdjointUniq b).hom = 𝟙 G := by |
| 27 | have h := conjugateEquiv_comp a b a (a.leftAdjointUniq b).inv (a.leftAdjointUniq b).hom |
| 28 | rw [conjugate_leftAdjointUniq_inv, Category.id_comp, Iso.hom_inv_id, conjugateEquiv_id] at h |
| 29 | exact h |
| 30 | |
| 31 | theorem conjugate_pullbackCongr_inv {X Y : Scheme.{u}} {f g : X ⟶ Y} (h : f = g) : |
| 32 | conjugateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 33 | (Scheme.Modules.pullbackPushforwardAdjunction g) (Scheme.Modules.pullbackCongr h).inv = |
| 34 | (Scheme.Modules.pushforwardCongr h).hom := by |
| 35 | subst g |
| 36 | change conjugateEquiv (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 37 | (Scheme.Modules.pullbackPushforwardAdjunction f) (𝟙 _) = _ |
| 38 | rw [conjugateEquiv_id] |
| 39 | apply NatTrans.ext |
| 40 | funext M |
| 41 | apply Scheme.Modules.hom_ext |
| 42 | intro U |
| 43 | simp only [NatTrans.id_app, Scheme.Modules.Hom.id_app, |
| 44 | Scheme.Modules.pushforwardCongr_hom_app_app, eqToHom_refl, op_id] |
| 45 | exact (M.presheaf.map_id _).symm |
| 46 | |
| 47 | theorem conjugate_iso_hom_of_inv |
| 48 | {C D : Type*} [Category C] [Category D] |
| 49 | {L₁ L₂ : C ⥤ D} {R₁ R₂ : D ⥤ C} |
| 50 | (a : L₁ ⊣ R₁) (b : L₂ ⊣ R₂) (e : L₁ ≅ L₂) (v : R₁ ≅ R₂) |
| 51 | (h : conjugateEquiv a b e.inv = v.hom) : |
| 52 | conjugateEquiv b a e.hom = v.inv := by |
| 53 | apply (cancel_epi v.hom).mp |
| 54 | have hc := conjugateEquiv_comp a b a e.inv e.hom |
| 55 | rw [h, Iso.hom_inv_id, conjugateEquiv_id] at hc |
| 56 | exact hc.trans v.hom_inv_id.symm |
| 57 | |
| 58 | theorem conjugate_pullbackComp_hom {X Y Z : Scheme.{u}} (f : X ⟶ Y) (g : Y ⟶ Z) : |
| 59 | conjugateEquiv (Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g)) |
| 60 | ((Scheme.Modules.pullbackPushforwardAdjunction g).comp |
| 61 | (Scheme.Modules.pullbackPushforwardAdjunction f)) (Scheme.Modules.pullbackComp f g).hom = |
| 62 | (Scheme.Modules.pushforwardComp f g).inv := |
| 63 | conjugate_iso_hom_of_inv |
| 64 | ((Scheme.Modules.pullbackPushforwardAdjunction g).comp |
| 65 | (Scheme.Modules.pullbackPushforwardAdjunction f)) |
| 66 | (Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g)) |
| 67 | (Scheme.Modules.pullbackComp f g) (Scheme.Modules.pushforwardComp f g) |
| 68 | (Scheme.Modules.conjugateEquiv_pullbackComp_inv f g) |
| 69 | |
| 70 | theorem conjugate_five |
| 71 | {C D : Type*} [Category C] [Category D] |
| 72 | {L₀ L₁ L₂ L₃ L₄ L₅ : C ⥤ D} {R₀ R₁ R₂ R₃ R₄ R₅ : D ⥤ C} |
| 73 | (a₀ : L₀ ⊣ R₀) (a₁ : L₁ ⊣ R₁) (a₂ : L₂ ⊣ R₂) |
| 74 | (a₃ : L₃ ⊣ R₃) (a₄ : L₄ ⊣ R₄) (a₅ : L₅ ⊣ R₅) |
| 75 | (t₁ : L₁ ⟶ L₀) (t₂ : L₂ ⟶ L₁) (t₃ : L₃ ⟶ L₂) |
| 76 | (t₄ : L₄ ⟶ L₃) (t₅ : L₅ ⟶ L₄) : |
| 77 | conjugateEquiv a₀ a₅ (t₅ ≫ t₄ ≫ t₃ ≫ t₂ ≫ t₁) = |
| 78 | (((conjugateEquiv a₀ a₁ t₁ ≫ conjugateEquiv a₁ a₂ t₂) ≫ |
| 79 | conjugateEquiv a₂ a₃ t₃) ≫ conjugateEquiv a₃ a₄ t₄) ≫ |
| 80 | conjugateEquiv a₄ a₅ t₅ := by |
| 81 | rw [← conjugateEquiv_comp a₀ a₄ a₅, ← conjugateEquiv_comp a₀ a₃ a₄, |
| 82 | ← conjugateEquiv_comp a₀ a₂ a₃, ← conjugateEquiv_comp a₀ a₁ a₂] |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.OpenPullbackCoherence |