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.IsogenyQuotient.Relative.KernelScalar |
| 2 | |
| 3 | /-! # Scalar Unit Character -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.ScalarUnitCharacter.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A source-independent scalar cocycle gives an actual natural |
| 10 | unit-valued kernel character on every test scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 19 | {f : A ⟶ B} [IsMonHom f] |
| 20 | [IsIso (fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) A).left.appTop] (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false in |
| 23 | def kernelScalarUnitCharacter (T : Over S) : (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ where |
| 24 | toFun z := Units.map z.left.appTop.hom D.kernelScalar_isUnit.unit |
| 25 | map_one' := by |
| 26 | apply Units.ext |
| 27 | simp only [Units.coe_map, IsUnit.unit_spec, Units.val_one] |
| 28 | change (1 : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f).left.appTop D.kernelScalar = 1 |
| 29 | exact Relative.KernelScalar.Construction.kernelScalar_one_of_projection_functions D T |
| 30 | map_mul' z w := by |
| 31 | apply Units.ext |
| 32 | simp only [Units.coe_map, IsUnit.unit_spec, Units.val_mul] |
| 33 | change (z * w).left.appTop D.kernelScalar = z.left.appTop D.kernelScalar * w.left.appTop D.kernelScalar |
| 34 | exact Relative.KernelScalar.Construction.kernelScalar_mul_of_projection_functions D z w |
| 35 | |
| 36 | theorem kernelScalarUnitCharacter_value (T : Over S) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 37 | (kernelScalarUnitCharacter D T z : Γ(T.left, ⊤)) = z.left.appTop D.kernelScalar := |
| 38 | congrArg z.left.appTop D.kernelScalar_isUnit.unit_spec |
| 39 | |
| 40 | theorem kernelScalarUnitCharacter_recovers {T : Over S} (x : T ⟶ A) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 41 | D.value x z = (kernelScalarUnitCharacter D T z : Γ(T.left, ⊤)) := |
| 42 | (Relative.KernelScalar.Construction.kernelScalar_value_of_projection_functions D x z).trans (kernelScalarUnitCharacter_value D T z).symm |
| 43 | |
| 44 | theorem kernelScalarUnitCharacter_natural {T U : Over S} (t : U ⟶ T) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 45 | Units.map t.left.appTop.hom (kernelScalarUnitCharacter D T z) = kernelScalarUnitCharacter D U (t ≫ z) := by |
| 46 | apply Units.ext |
| 47 | change t.left.appTop (kernelScalarUnitCharacter D T z : Γ(T.left, ⊤)) = |
| 48 | (kernelScalarUnitCharacter D U (t ≫ z) : Γ(U.left, ⊤)) |
| 49 | rw [kernelScalarUnitCharacter_value, kernelScalarUnitCharacter_value] |
| 50 | exact (congrArg (fun m => m D.kernelScalar) (Scheme.Hom.comp_appTop t.left z.left)).symm |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.ScalarUnitCharacter.Construction |