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.KernelScalar |
| 2 | |
| 3 | /-! # Relative Scalar -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RelativeScalar.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Proper-group functions turn native descent cocycles into kernel |
| 10 | characters. The scalar argument works over arbitrary parameter schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelScalar.Construction |
| 19 | |
| 20 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 21 | variable {f : A ⟶ B} [IsMonHom f] |
| 22 | variable [IsIso (fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) A).left.appTop] |
| 23 | |
| 24 | theorem kernelCocycle_value_eq_scalar_of_functions (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) |
| 25 | {T : Over S} (x : T ⟶ A) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 26 | D.value x z = z.left.appTop D.kernelScalar := by |
| 27 | let K := Picard.Homomorphisms.Kernel.Construction.kernelScheme f |
| 28 | let P := K ⊗ A |
| 29 | let j : K ⟶ P := lift (𝟙 K) (1 : K ⟶ A) |
| 30 | let a : Γ(P.left, ⊤) := D.value (snd K A) (fst K A) |
| 31 | have hji : j ≫ fst K A = 𝟙 K := lift_fst _ _ |
| 32 | have hjx : j ≫ snd K A = 1 := lift_snd _ _ |
| 33 | have hj : j.left.appTop a = D.kernelScalar := by |
| 34 | rw [show j.left.appTop a = D.value (j ≫ snd K A) (j ≫ fst K A) from |
| 35 | D.naturality j (snd K A) (fst K A), hji, hjx] |
| 36 | rfl |
| 37 | have hs : (fst K A).left.appTop ≫ j.left.appTop = 𝟙 _ := by |
| 38 | rw [← Scheme.Hom.comp_appTop, ← Over.comp_left, hji, Over.id_left, Scheme.Hom.id_appTop] |
| 39 | have hs' : j.left.appTop ≫ (fst K A).left.appTop = 𝟙 _ := by |
| 40 | apply (cancel_epi (fst K A).left.appTop).mp |
| 41 | rw [← Category.assoc, hs, Category.id_comp, Category.comp_id] |
| 42 | have ha : (fst K A).left.appTop D.kernelScalar = a := by |
| 43 | rw [← hj] |
| 44 | exact ConcreteCategory.congr_hom hs' a |
| 45 | let t : T ⟶ P := lift z x |
| 46 | have ht : D.value x z = t.left.appTop a := by |
| 47 | rw [show t.left.appTop a = D.value (t ≫ snd K A) (t ≫ fst K A) from |
| 48 | D.naturality t (snd K A) (fst K A), lift_fst, lift_snd] |
| 49 | rw [ht, ← ha] |
| 50 | change ((fst K A).left.appTop ≫ t.left.appTop) D.kernelScalar = _ |
| 51 | rw [← Scheme.Hom.comp_appTop, ← Over.comp_left, lift_fst] |
| 52 | |
| 53 | theorem kernelCocycle_value_independent_of_functions (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) |
| 54 | {T : Over S} (x y : T ⟶ A) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 55 | D.value x z = D.value y z := by |
| 56 | rw [kernelCocycle_value_eq_scalar_of_functions D x z, kernelCocycle_value_eq_scalar_of_functions D y z] |
| 57 | |
| 58 | theorem kernelCocycle_scalar_mul_of_functions (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) |
| 59 | {T : Over S} (z w : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 60 | (z * w).left.appTop D.kernelScalar = |
| 61 | z.left.appTop D.kernelScalar * w.left.appTop D.kernelScalar := by |
| 62 | rw [← kernelCocycle_value_eq_scalar_of_functions D (1 : T ⟶ A) (z * w), |
| 63 | ← D.cocycle, kernelCocycle_value_eq_scalar_of_functions D, kernelCocycle_value_eq_scalar_of_functions D] |
| 64 | |
| 65 | theorem kernelCocycle_scalar_one_of_functions (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) |
| 66 | (T : Over S) : |
| 67 | (1 : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f).left.appTop D.kernelScalar = 1 := by |
| 68 | rw [← kernelCocycle_value_eq_scalar_of_functions D (1 : T ⟶ A) 1, D.unit] |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RelativeScalar.Construction |