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.TateComparison.FormConstants |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TraceAllTests |
| 3 | |
| 4 | /-! # Primitive Form Trace -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Primitive actual one-forms take algebraic branch sums to sums of |
| 11 | pullbacks on every affine test, including nonreduced tests. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | variable {A : Over Foundations.Scheme.ProjectiveSpace.complexBase} [GrpObj A] [IsCommMonObj A] |
| 17 | |
| 18 | def PrimitiveFormTrace.IsPrimitiveOneForm (ω : FormConstants.OneForms A) : Prop := |
| 19 | ∀ (R : CommAlgCat.{0} ℂ) (x y : FormConstants.affineComplexTest R ⟶ A), ω.val R (x * y) = ω.val R x + ω.val R y |
| 20 | |
| 21 | def PrimitiveFormTrace.primitiveFormPointHom (ω : FormConstants.OneForms A) (hω : PrimitiveFormTrace.IsPrimitiveOneForm ω) (R : CommAlgCat.{0} ℂ) : |
| 22 | Additive (FormConstants.affineComplexTest R ⟶ A) →+ KaehlerDifferential ℂ R where |
| 23 | toFun x := ω.val R x.toMul |
| 24 | map_zero' := by |
| 25 | have h := hω R 1 1 |
| 26 | rw [one_mul] at h |
| 27 | exact (add_eq_left.mp h.symm) |
| 28 | map_add' x y := hω R x.toMul y.toMul |
| 29 | |
| 30 | theorem PrimitiveFormTrace.primitiveForm_prod (ω : FormConstants.OneForms A) (hω : PrimitiveFormTrace.IsPrimitiveOneForm ω) (R : CommAlgCat.{0} ℂ) |
| 31 | {I : Type*} (s : Finset I) (x : I → (FormConstants.affineComplexTest R ⟶ A)) : |
| 32 | ω.val R (∏ i ∈ s, x i) = ∑ i ∈ s, ω.val R (x i) := by |
| 33 | have h := map_sum (PrimitiveFormTrace.primitiveFormPointHom ω hω R) (fun i => Additive.ofMul (x i)) s |
| 34 | exact h |
| 35 | |
| 36 | theorem PrimitiveFormTrace.primitiveForm_div (ω : FormConstants.OneForms A) (hω : PrimitiveFormTrace.IsPrimitiveOneForm ω) (R : CommAlgCat.{0} ℂ) |
| 37 | (x y : FormConstants.affineComplexTest R ⟶ A) : ω.val R (x / y) = ω.val R x - ω.val R y := |
| 38 | (PrimitiveFormTrace.primitiveFormPointHom ω hω R).map_sub (Additive.ofMul x) (Additive.ofMul y) |
| 39 | |
| 40 | theorem PrimitiveFormTrace.primitiveForm_constant_translate (ω : FormConstants.OneForms A) (hω : PrimitiveFormTrace.IsPrimitiveOneForm ω) |
| 41 | (p : Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) ⟶ A) (R : CommAlgCat.{0} ℂ) |
| 42 | (x : FormConstants.affineComplexTest R ⟶ A) (a : FormConstants.affineComplexTest R ⟶ Over.mk (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase)) : |
| 43 | ω.val R (x / (a ≫ p)) = ω.val R x := by |
| 44 | rw [PrimitiveFormTrace.primitiveForm_div ω hω, FormConstants.forms_at_constant, sub_zero] |
| 45 | |
| 46 | variable {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (C : Correspondences.EtaleCorrespondence X) |
| 47 | [IsReduced X.left] [IsLocallyNoetherian X.left] [IsSeparated A.hom] |
| 48 | |
| 49 | theorem Correspondences.EtaleCorrespondence.algebraicTrace_primitiveForm (a : X ⟶ A) (ω : FormConstants.OneForms A) (hω : PrimitiveFormTrace.IsPrimitiveOneForm ω) : |
| 50 | Branches.IsBranchTrace C (FormConstants.formsPullback a ω) (FormConstants.formsPullback (C.algebraicTrace a) ω) := by |
| 51 | intro R x n e |
| 52 | change ω.val R (x ≫ C.algebraicTrace a) = |
| 53 | ∑ i : Fin n, ω.val R (C.endpoint (C.splitBranch x e i) ≫ a) |
| 54 | rw [C.algebraicTrace_local a x e] |
| 55 | exact PrimitiveFormTrace.primitiveForm_prod ω hω R Finset.univ _ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |