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 Geometry -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.DegreeGeometry.Law |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The multiplicative polynomial-algebra law computes native generic |
| 10 | residue degrees at actual natural-coefficient endomorphism evaluations. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.DegreeNatural.LawScalarExtension OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PolynomialCoordinates |
| 15 | |
| 16 | variable {K : Type} [Field K] [IsAlgClosed K] |
| 17 | (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 18 | [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] |
| 19 | |
| 20 | local instance : IsIntegral A.left := |
| 21 | GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 22 | |
| 23 | def naturalEnd (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (R : Polynomial ℕ) : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A := |
| 24 | Polynomial.eval₂ (Nat.castRingHom (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A)) F R |
| 25 | |
| 26 | omit [IsAlgClosed K] [IsProper A.hom] [Smooth A.hom] [GeometricallyIntegral A.hom] in |
| 27 | theorem naturalEnd_eq_sum (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (R : Polynomial ℕ) |
| 28 | (n : ℕ) (hn : R.natDegree ≤ n) : |
| 29 | naturalEnd A F R = ∑ i : Fin (n + 1), R.coeff i • F ^ (i : ℕ) := by |
| 30 | unfold naturalEnd |
| 31 | conv_lhs => rw [Finite.PolynomialCoordinates.expansion R n hn] |
| 32 | simp only [Polynomial.eval₂_finsetSum, Polynomial.eval₂_monomial, nsmul_eq_mul] |
| 33 | rfl |
| 34 | |
| 35 | theorem norm_map_nat (L : Type*) [CommRing L] [Algebra ℚ L] |
| 36 | (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (R : Polynomial ℕ) |
| 37 | [IsFinite (naturalEnd A F R).toMul.hom.hom.left] |
| 38 | [IsDominant (naturalEnd A F R).toMul.hom.hom.left] : |
| 39 | DegreeBaseChange.Law.norm A L F (R.map (Nat.castRingHom L)) = |
| 40 | ((naturalEnd A F R).toMul.hom.hom.left.residueDegree (genericPoint A.left) : L) := by |
| 41 | rw [DegreeBaseChange.Law.norm_eq_valueBound A L F _ R.natDegree Polynomial.natDegree_map_le] |
| 42 | have he := naturalEnd_eq_sum A F R R.natDegree le_rfl |
| 43 | have : IsFinite (∑ i : Fin (R.natDegree + 1), R.coeff i • F ^ (i : ℕ)).toMul.hom.hom.left := by |
| 44 | rw [← he] |
| 45 | infer_instance |
| 46 | have : IsDominant (∑ i : Fin (R.natDegree + 1), R.coeff i • F ^ (i : ℕ)).toMul.hom.hom.left := by |
| 47 | rw [← he] |
| 48 | infer_instance |
| 49 | change DegreeNatural.LawScalarExtension.value A L _ _ = _ |
| 50 | simp only [Polynomial.coeff_map] |
| 51 | change DegreeNatural.LawScalarExtension.value A L (fun i : Fin (R.natDegree + 1) => F ^ (i : ℕ)) |
| 52 | (fun i => (R.coeff i : L)) = _ |
| 53 | rw [DegreeNatural.LawScalarExtension.value_nat A L (fun i : Fin (R.natDegree + 1) => F ^ (i : ℕ)) |
| 54 | (fun i : Fin (R.natDegree + 1) => R.coeff i), ← he] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.DegreeGeometry.Law |