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.CentralAction.LinePullbackFormula |
| 2 | |
| 3 | /-! # Pullback Units -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PullbackUnits |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pullback adjunction units track sections through the actual geometric |
| 10 | composition comparisons. On a subordinate open, an open-immersion unit |
| 11 | is an isomorphism. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | namespace Construction |
| 17 | |
| 18 | universe u |
| 19 | variable {X Y Z : Scheme.{u}} |
| 20 | |
| 21 | theorem module_pullback_comp_unit (f : X ⟶ Y) (g : Y ⟶ Z) (M : Z.Modules) : |
| 22 | ((Scheme.Modules.pullbackPushforwardAdjunction g).comp |
| 23 | (Scheme.Modules.pullbackPushforwardAdjunction f)).unit.app M ≫ |
| 24 | (Scheme.Modules.pushforwardComp f g).hom.app |
| 25 | ((Scheme.Modules.pullback f).obj ((Scheme.Modules.pullback g).obj M)) = |
| 26 | (Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g)).unit.app M ≫ |
| 27 | (Scheme.Modules.pushforward (f ≫ g)).map |
| 28 | ((Scheme.Modules.pullbackComp f g).inv.app M) := by |
| 29 | have h := unit_conjugateEquiv |
| 30 | ((Scheme.Modules.pullbackPushforwardAdjunction g).comp |
| 31 | (Scheme.Modules.pullbackPushforwardAdjunction f)) |
| 32 | (Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g)) |
| 33 | (Scheme.Modules.pullbackComp f g).inv M |
| 34 | rw [Scheme.Modules.conjugateEquiv_pullbackComp_inv] at h |
| 35 | exact h |
| 36 | |
| 37 | theorem open_pullback_unit_app_isIso (M : Y.Modules) (U W : Y.Opens) (hW : W ≤ U) : |
| 38 | IsIso (((Scheme.Modules.pullbackPushforwardAdjunction U.ι).unit.app M).app W) := by |
| 39 | have hpre : U.ι ''ᵁ (U.ι ⁻¹ᵁ W) = W := by |
| 40 | apply le_antisymm (U.ι.image_preimage_le W) |
| 41 | intro x hx |
| 42 | exact ⟨⟨x, hW hx⟩, hx, rfl⟩ |
| 43 | have hres : IsIso (((Scheme.Modules.restrictAdjunction U.ι).unit.app M).app W) := by |
| 44 | rw [Scheme.Modules.restrictAdjunction_unit_app_app] |
| 45 | have he : homOfLE (U.ι.image_preimage_le W) = eqToHom hpre := Subsingleton.elim _ _ |
| 46 | rw [he] |
| 47 | have hi : IsIso (M.presheaf.map (eqToHom hpre).op) := by |
| 48 | rw [eqToHom_op, eqToHom_map] |
| 49 | infer_instance |
| 50 | exact hi |
| 51 | have h := congrArg (fun a => a.app W) |
| 52 | (Adjunction.unit_leftAdjointUniq_hom_app |
| 53 | (Scheme.Modules.restrictAdjunction U.ι) |
| 54 | (Scheme.Modules.pullbackPushforwardAdjunction U.ι) M) |
| 55 | rw [← h] |
| 56 | change IsIso ((((Scheme.Modules.restrictAdjunction U.ι).unit.app M).app W) ≫ |
| 57 | (((Scheme.Modules.pushforward U.ι).map |
| 58 | ((Scheme.Modules.restrictFunctorIsoPullback U.ι).hom.app M)).app W)) |
| 59 | infer_instance |
| 60 | |
| 61 | theorem module_pullback_comp_unit_app (f : X ⟶ Y) (g : Y ⟶ Z) |
| 62 | (M : Z.Modules) (U : Z.Opens) : |
| 63 | ((Scheme.Modules.pullbackPushforwardAdjunction g).unit.app M).app U ≫ |
| 64 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app |
| 65 | ((Scheme.Modules.pullback g).obj M)).app (g ⁻¹ᵁ U) ≫ |
| 66 | ((Scheme.Modules.pullbackComp f g).hom.app M).app ((f ≫ g) ⁻¹ᵁ U) = |
| 67 | ((Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g)).unit.app M).app U := by |
| 68 | have h := congrArg (fun a => a.app U) (module_pullback_comp_unit f g M) |
| 69 | change (((Scheme.Modules.pullbackPushforwardAdjunction g).unit.app M).app U ≫ |
| 70 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app |
| 71 | ((Scheme.Modules.pullback g).obj M)).app (g ⁻¹ᵁ U)) ≫ 𝟙 _ = |
| 72 | ((Scheme.Modules.pullbackPushforwardAdjunction (f ≫ g)).unit.app M).app U ≫ |
| 73 | ((Scheme.Modules.pullbackComp f g).inv.app M).app ((f ≫ g) ⁻¹ᵁ U) at h |
| 74 | rw [Category.comp_id] at h |
| 75 | rw [← Category.assoc, h] |
| 76 | erw [Category.assoc] |
| 77 | have he := congrArg (fun a => a.app ((f ≫ g) ⁻¹ᵁ U)) |
| 78 | ((Scheme.Modules.pullbackComp f g).app M).inv_hom_id |
| 79 | change ((Scheme.Modules.pullbackComp f g).inv.app M).app ((f ≫ g) ⁻¹ᵁ U) ≫ |
| 80 | ((Scheme.Modules.pullbackComp f g).hom.app M).app ((f ≫ g) ⁻¹ᵁ U) = 𝟙 _ at he |
| 81 | erw [he, Category.comp_id] |
| 82 | |
| 83 | end Construction |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.AbelianScheme.CentralAction.PullbackUnits |