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.Homomorphisms.KernelGroup |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.ProperGroupFunctions |
| 3 | |
| 4 | /-! # Kernel Scalar -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelScalar |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scalar cocycle for the action of the actual kernel of a group |
| 11 | morphism. Properness makes the cocycle independent of the abelian-variety |
| 12 | coordinate, leaving a multiplicative scalar on the kernel. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 25 | variable (f : A ⟶ B) [IsMonHom f] |
| 26 | |
| 27 | structure KernelScalarCocycle where |
| 28 | value {T : Over S} (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : Γ(T.left, ⊤) |
| 29 | isUnit {T : Over S} (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : IsUnit (value x z) |
| 30 | naturality {T T' : Over S} (t : T' ⟶ T) (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : |
| 31 | t.left.appTop (value x z) = value (t ≫ x) (t ≫ z) |
| 32 | unit {T : Over S} (x : T ⟶ A) : value x 1 = 1 |
| 33 | cocycle {T : Over S} (x : T ⟶ A) (z w : T ⟶ Kernel.Construction.kernelScheme f) : |
| 34 | value x z * value (x * (z ≫ Kernel.Construction.kernelInclusion f)) w = value x (z * w) |
| 35 | |
| 36 | variable {f} |
| 37 | |
| 38 | def KernelScalarCocycle.kernelScalar (D : KernelScalarCocycle f) : Γ((Kernel.Construction.kernelScheme f).left, ⊤) := |
| 39 | D.value 1 (𝟙 _) |
| 40 | |
| 41 | theorem KernelScalarCocycle.kernelScalar_isUnit (D : KernelScalarCocycle f) : |
| 42 | IsUnit D.kernelScalar := D.isUnit _ _ |
| 43 | |
| 44 | variable {k : Type u} [Field k] |
| 45 | variable {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] |
| 46 | variable {f : A ⟶ B} [IsMonHom f] |
| 47 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 48 | variable [IsAffine (Kernel.Construction.kernelScheme f).left] |
| 49 | |
| 50 | theorem KernelScalarCocycle.value_eq_kernelScalar (D : KernelScalarCocycle f) |
| 51 | {T : Over (Spec (.of k))} (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : |
| 52 | D.value x z = z.left.appTop D.kernelScalar := by |
| 53 | let K := Kernel.Construction.kernelScheme f |
| 54 | let P := K ⊗ A |
| 55 | let j : K ⟶ P := lift (𝟙 K) (1 : K ⟶ A) |
| 56 | let a : Γ(P.left, ⊤) := D.value (snd K A) (fst K A) |
| 57 | have hji : j ≫ fst K A = 𝟙 K := lift_fst _ _ |
| 58 | have hjx : j ≫ snd K A = 1 := lift_snd _ _ |
| 59 | have hj : j.left.appTop a = D.kernelScalar := by |
| 60 | rw [show j.left.appTop a = D.value (j ≫ snd K A) (j ≫ fst K A) from |
| 61 | D.naturality j (snd K A) (fst K A), hji, hjx] |
| 62 | rfl |
| 63 | have : IsIso (fst K A).left.appTop := ProperGroupFunctions.Construction.properGroupProduct_appTop_isIso A K |
| 64 | have hs : (fst K A).left.appTop ≫ j.left.appTop = 𝟙 _ := by |
| 65 | rw [← Scheme.Hom.comp_appTop, ← Over.comp_left, hji, Over.id_left, Scheme.Hom.id_appTop] |
| 66 | have hs' : j.left.appTop ≫ (fst K A).left.appTop = 𝟙 _ := by |
| 67 | apply (cancel_epi (fst K A).left.appTop).mp |
| 68 | rw [← Category.assoc, hs, Category.id_comp, Category.comp_id] |
| 69 | have ha : (fst K A).left.appTop D.kernelScalar = a := by |
| 70 | rw [← hj] |
| 71 | exact ConcreteCategory.congr_hom hs' a |
| 72 | let t : T ⟶ P := lift z x |
| 73 | have ht : D.value x z = t.left.appTop a := by |
| 74 | rw [show t.left.appTop a = D.value (t ≫ snd K A) (t ≫ fst K A) from |
| 75 | D.naturality t (snd K A) (fst K A), lift_fst, lift_snd] |
| 76 | rw [ht, ← ha] |
| 77 | change ((fst K A).left.appTop ≫ t.left.appTop) D.kernelScalar = _ |
| 78 | rw [← Scheme.Hom.comp_appTop, ← Over.comp_left, lift_fst] |
| 79 | |
| 80 | theorem KernelScalarCocycle.value_independent (D : KernelScalarCocycle f) |
| 81 | {T : Over (Spec (.of k))} (x y : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : |
| 82 | D.value x z = D.value y z := by |
| 83 | rw [D.value_eq_kernelScalar x z, D.value_eq_kernelScalar y z] |
| 84 | |
| 85 | theorem KernelScalarCocycle.kernelScalar_mul (D : KernelScalarCocycle f) |
| 86 | {T : Over (Spec (.of k))} (z w : T ⟶ Kernel.Construction.kernelScheme f) : |
| 87 | (z * w).left.appTop D.kernelScalar = |
| 88 | z.left.appTop D.kernelScalar * w.left.appTop D.kernelScalar := by |
| 89 | rw [← D.value_eq_kernelScalar (1 : T ⟶ A) (z * w), |
| 90 | ← D.cocycle, D.value_eq_kernelScalar, D.value_eq_kernelScalar] |
| 91 | |
| 92 | theorem KernelScalarCocycle.kernelScalar_one (D : KernelScalarCocycle f) |
| 93 | (T : Over (Spec (.of k))) : |
| 94 | (1 : T ⟶ Kernel.Construction.kernelScheme f).left.appTop D.kernelScalar = 1 := by |
| 95 | rw [← D.value_eq_kernelScalar (1 : T ⟶ A) 1, D.unit] |
| 96 | |
| 97 | end Construction |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelScalar |