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.PicardPullback |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.LineBundleFibers |
| 3 | |
| 4 | /-! # Picard Field -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PicardField.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Picard groups of field spectra and constant morphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | instance picardFieldSubsingleton (k : Type u) [Field k] : Subsingleton (PicardEq.Construction.Picard (Spec (.of k))) where |
| 17 | allEq a b := Quotient.inductionOn₂ a b fun L M ↦ Quotient.sound |
| 18 | ⟨LineBundleFibers.Construction.lineBundleTrivializationOfSubsingleton L.sheaf L.isLineBundle ≪≫ |
| 19 | (LineBundleFibers.Construction.lineBundleTrivializationOfSubsingleton M.sheaf M.isLineBundle).symm⟩ |
| 20 | |
| 21 | theorem picardPullback_field_eq_zero {k : Type u} [Field k] {X : Scheme.{u}} |
| 22 | (x : Spec (.of k) ⟶ X) (a : PicardEq.Construction.Picard X) : PicardPullback.Construction.picardPullback x a = 0 := Subsingleton.elim _ _ |
| 23 | |
| 24 | theorem picardPullback_constant {k : Type u} [Field k] {X Y : Scheme.{u}} |
| 25 | (f : X ⟶ Spec (.of k)) (y : Spec (.of k) ⟶ Y) (a : PicardEq.Construction.Picard Y) : |
| 26 | PicardPullback.Construction.picardPullback (f ≫ y) a = 0 := by |
| 27 | rw [PicardPullback.Construction.picardPullback_comp] |
| 28 | change PicardPullback.Construction.picardPullback f (PicardPullback.Construction.picardPullback y a) = 0 |
| 29 | rw [picardPullback_field_eq_zero, map_zero] |
| 30 | |
| 31 | theorem picardPullback_injective_of_section {X Y : Scheme.{u}} |
| 32 | (f : X ⟶ Y) (s : Y ⟶ X) (hs : s ≫ f = 𝟙 Y) : Function.Injective (PicardPullback.Construction.picardPullback f) := by |
| 33 | have h : Function.LeftInverse (PicardPullback.Construction.picardPullback s) (PicardPullback.Construction.picardPullback f) := by |
| 34 | intro a |
| 35 | have hc := congrArg (fun g : PicardEq.Construction.Picard Y →+ PicardEq.Construction.Picard Y ↦ g a) (PicardPullback.Construction.picardPullback_comp s f) |
| 36 | rw [hs, PicardPullback.Construction.picardPullback_id] at hc |
| 37 | exact hc.symm |
| 38 | exact h.injective |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PicardField.Construction |