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.NumberTheory.PadicHodge.IntegralComparison.Polynomial.DegreeBaseChange |
| 2 | |
| 3 | /-! # Degree Scalars -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.DegreeScalars.Law |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The scalar normalization of the genuine polynomial-algebra degree |
| 10 | law is the native multiplication degree m^(2g). -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.DegreeLaw OAI.NumberTheory.PadicHodge.IntegralComparison.Endomorphism.DegreeIs.Scalar |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.DegreeNatural.LawScalarExtension |
| 16 | |
| 17 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 18 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 19 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 20 | |
| 21 | local instance : IsIntegral A.left := |
| 22 | GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 23 | |
| 24 | theorem scalar_degreePolynomial : |
| 25 | Endomorphism.DegreeLaw.degreePolynomial A (fun _ : Fin 1 => (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A)) = |
| 26 | MvPolynomial.X 0 ^ (2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) := by |
| 27 | apply MultivariateTailIdentity.eq_of_succ_nat_eval |
| 28 | intro a |
| 29 | have hs : (∑ i : Fin 1, (a i + 1) • (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A)) = (a 0 + 1) • 1 := by simp |
| 30 | have hi : (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A).toMul.hom.hom.left = 𝟙 A.left := rfl |
| 31 | have : IsFinite (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A).toMul.hom.hom.left := by rw [hi]; infer_instance |
| 32 | have : IsDominant (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A).toMul.hom.hom.left := by rw [hi]; infer_instance |
| 33 | have : IsFinite (∑ i : Fin 1, (a i + 1) • (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A)).toMul.hom.hom.left := by |
| 34 | rw [hs] |
| 35 | exact Endomorphism.DegreeIs.Scalar.nsmul_isFinite A 1 (a 0 + 1) (Nat.succ_pos _) |
| 36 | have : IsDominant (∑ i : Fin 1, (a i + 1) • (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A)).toMul.hom.hom.left := by |
| 37 | rw [hs] |
| 38 | exact Endomorphism.DegreeIs.Scalar.nsmul_isDominant A 1 (a 0 + 1) (Nat.succ_pos _) |
| 39 | rw [Endomorphism.DegreeLaw.degreePolynomial_eval, map_pow, MvPolynomial.eval_X, hs, |
| 40 | Endomorphism.DegreeIs.Scalar.nsmul_residueDegree A 1 (a 0 + 1) (Nat.succ_pos _), hi, Scheme.Hom.residueDegree_id, |
| 41 | mul_one, Nat.cast_pow] |
| 42 | |
| 43 | theorem norm_C (L : Type*) [CommRing L] [Algebra ℚ L] (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (c : L) : |
| 44 | DegreeBaseChange.Law.norm A L F (Polynomial.C c) = c ^ (2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom) := by |
| 45 | rw [DegreeBaseChange.Law.norm_eq_valueBound A L F (Polynomial.C c) 0 (by simp)] |
| 46 | have hf : (fun i : Fin 1 => F ^ (i : ℕ)) = fun _ => (1 : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) := by |
| 47 | funext i |
| 48 | simp only [Fin.fin_one_eq_zero i, Fin.val_zero, pow_zero] |
| 49 | unfold DegreeBaseChange.Law.valueBound DegreeNatural.LawScalarExtension.value |
| 50 | rw [hf, scalar_degreePolynomial] |
| 51 | simp only [MvPolynomial.eval₂_pow, MvPolynomial.eval₂_X, Polynomial.coeff_C, |
| 52 | Fin.val_zero, ite_true] |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.DegreeScalars.Law |