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.PicardField |
| 2 | import Mathlib.AlgebraicGeometry.Group.Abelian |
| 3 | import Mathlib.Tactic.Abel |
| 4 | |
| 5 | /-! # Picard Cubical Defect -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PicardCubicalDefect.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The cubical defect of a line-bundle class and its exact vanishing on the three unit faces. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {k : Type u} [Field k] |
| 19 | variable {A T : Over (Spec (.of k))} [GrpObj A] [IsCommMonObj A] |
| 20 | |
| 21 | def picardCubicalDefect (l : PicardEq.Construction.Picard A.left) (a b c : T ⟶ A) : PicardEq.Construction.Picard T.left := |
| 22 | PicardPullback.Construction.picardPullback (a * b * c).left l + PicardPullback.Construction.picardPullback a.left l + |
| 23 | PicardPullback.Construction.picardPullback b.left l + PicardPullback.Construction.picardPullback c.left l - |
| 24 | PicardPullback.Construction.picardPullback (a * b).left l - PicardPullback.Construction.picardPullback (a * c).left l - PicardPullback.Construction.picardPullback (b * c).left l |
| 25 | |
| 26 | theorem picardPullback_one (l : PicardEq.Construction.Picard A.left) : |
| 27 | PicardPullback.Construction.picardPullback (1 : T ⟶ A).left l = 0 := |
| 28 | PicardField.Construction.picardPullback_constant T.hom (MonObj.one (X := A)).left l |
| 29 | |
| 30 | theorem picardCubicalDefect_one_left (l : PicardEq.Construction.Picard A.left) (b c : T ⟶ A) : |
| 31 | picardCubicalDefect l 1 b c = 0 := by |
| 32 | simp only [picardCubicalDefect, one_mul, picardPullback_one] |
| 33 | abel |
| 34 | |
| 35 | theorem picardCubicalDefect_one_middle (l : PicardEq.Construction.Picard A.left) (a c : T ⟶ A) : |
| 36 | picardCubicalDefect l a 1 c = 0 := by |
| 37 | simp only [picardCubicalDefect, one_mul, mul_one, picardPullback_one] |
| 38 | abel |
| 39 | |
| 40 | theorem picardCubicalDefect_one_right (l : PicardEq.Construction.Picard A.left) (a b : T ⟶ A) : |
| 41 | picardCubicalDefect l a b 1 = 0 := by |
| 42 | simp only [picardCubicalDefect, mul_one, picardPullback_one] |
| 43 | abel |
| 44 | |
| 45 | omit [IsCommMonObj A] in |
| 46 | theorem picardCubicalDefect_pullback {U : Over (Spec (.of k))} |
| 47 | (f : U ⟶ T) (l : PicardEq.Construction.Picard A.left) (a b c : T ⟶ A) : |
| 48 | PicardPullback.Construction.picardPullback f.left (picardCubicalDefect l a b c) = |
| 49 | picardCubicalDefect l (f ≫ a) (f ≫ b) (f ≫ c) := by |
| 50 | have h (g : T ⟶ A) : PicardPullback.Construction.picardPullback f.left (PicardPullback.Construction.picardPullback g.left l) = |
| 51 | PicardPullback.Construction.picardPullback (f ≫ g).left l := |
| 52 | (congrArg (fun q : PicardEq.Construction.Picard A.left →+ PicardEq.Construction.Picard U.left ↦ q l) (PicardPullback.Construction.picardPullback_comp f.left g.left)).symm |
| 53 | simp only [picardCubicalDefect, map_add, map_sub, h, MonObj.comp_mul] |
| 54 | |
| 55 | theorem picardCubicalDefect_pullback_zero_of_face {U : Over (Spec (.of k))} |
| 56 | (f : U ⟶ T) (l : PicardEq.Construction.Picard A.left) (a b c : T ⟶ A) |
| 57 | (hf : f ≫ a = 1 ∨ f ≫ b = 1 ∨ f ≫ c = 1) : |
| 58 | PicardPullback.Construction.picardPullback f.left (picardCubicalDefect l a b c) = 0 := by |
| 59 | rw [picardCubicalDefect_pullback] |
| 60 | rcases hf with ha | hb | hc |
| 61 | · rw [ha, picardCubicalDefect_one_left] |
| 62 | · rw [hb, picardCubicalDefect_one_middle] |
| 63 | · rw [hc, picardCubicalDefect_one_right] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.ArithmeticGeometry.OrdinaryLocus.Openness.PicardCubicalDefect.Construction |