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.DegreeShift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DeterminantPolynomialResultant |
| 3 | |
| 4 | /-! # Degree Resultant -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.DegreeResultant |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual geometric degree polynomial determines degrees of |
| 11 | polynomials in the endomorphism by a genuine resultant identity. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Polynomial.DegreeShift.Law OAI.NumberTheory.PadicHodge.IntegralComparison.DeterminantPolynomialResultant |
| 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 | def integerPolynomial (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : Polynomial ℤ := |
| 25 | (IntegralComparison.Polynomial.DegreeShift.Law.exists_integer_shiftPolynomial A F).choose |
| 26 | |
| 27 | theorem integerPolynomial_monic (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : (integerPolynomial A F).Monic := |
| 28 | (IntegralComparison.Polynomial.DegreeShift.Law.exists_integer_shiftPolynomial A F).choose_spec.1 |
| 29 | |
| 30 | theorem integerPolynomial_natDegree (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : |
| 31 | (integerPolynomial A F).natDegree = 2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom := |
| 32 | (IntegralComparison.Polynomial.DegreeShift.Law.exists_integer_shiftPolynomial A F).choose_spec.2.1 |
| 33 | |
| 34 | theorem integerPolynomial_map (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : |
| 35 | (integerPolynomial A F).map (Int.castRingHom ℚ) = IntegralComparison.Polynomial.DegreeShift.Law.shiftPolynomial A F := |
| 36 | (IntegralComparison.Polynomial.DegreeShift.Law.exists_integer_shiftPolynomial A F).choose_spec.2.2.symm |
| 37 | |
| 38 | theorem resultant_eq_norm_of_splits (L : Type*) [Field L] [Algebra ℚ L] |
| 39 | (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (R : Polynomial L) (hR : R.Splits) : |
| 40 | ((integerPolynomial A F).map (Int.castRingHom L)).resultant R = IntegralComparison.Polynomial.DegreeBaseChange.Law.norm A L F R := by |
| 41 | let W := (integerPolynomial A F).map (Int.castRingHom L) |
| 42 | have hW : W.Monic := (integerPolynomial_monic A F).map _ |
| 43 | have hd : W.natDegree = 2 * AlgebraicGeometry.Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension A.hom := |
| 44 | ((integerPolynomial_monic A F).natDegree_map _).trans (integerPolynomial_natDegree A F) |
| 45 | have hm : (IntegralComparison.Polynomial.DegreeShift.Law.shiftPolynomial A F).map (algebraMap ℚ L) = W := by |
| 46 | rw [← integerPolynomial_map, Polynomial.map_map] |
| 47 | congr 1 |
| 48 | ext z |
| 49 | simp |
| 50 | have h := DeterminantPolynomialResultant.resultant_eq_multiplicative_eval (IntegralComparison.Polynomial.DegreeBaseChange.Law.normHom A L F) Polynomial.X W hW |
| 51 | (fun c => by |
| 52 | change IntegralComparison.Polynomial.DegreeBaseChange.Law.norm A L F (Polynomial.C c) = c ^ W.natDegree |
| 53 | rw [hd, IntegralComparison.Polynomial.DegreeScalars.Law.norm_C]) |
| 54 | (fun c => by |
| 55 | rw [← hm, Polynomial.eval_map] |
| 56 | exact IntegralComparison.Polynomial.DegreeShift.Law.shiftPolynomial_aeval A L F c) R hR |
| 57 | simpa only [Polynomial.aeval_X_left_apply, IntegralComparison.Polynomial.DegreeBaseChange.Law.normHom, |
| 58 | MonoidHom.coe_mk, OneHom.coe_mk, W] using h |
| 59 | |
| 60 | theorem resultant_eq_norm (L : Type*) [Field L] [Algebra ℚ L] |
| 61 | (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (R : Polynomial L) : |
| 62 | ((integerPolynomial A F).map (Int.castRingHom L)).resultant R = IntegralComparison.Polynomial.DegreeBaseChange.Law.norm A L F R := by |
| 63 | let M := AlgebraicClosure L |
| 64 | let φ : L →ₐ[ℚ] M := IsScalarTower.toAlgHom ℚ L M |
| 65 | apply (algebraMap L M).injective |
| 66 | have h := resultant_eq_norm_of_splits A M F (R.map (algebraMap L M)) (IsAlgClosed.splits _) |
| 67 | have hm : (integerPolynomial A F).map (Int.castRingHom M) = |
| 68 | ((integerPolynomial A F).map (Int.castRingHom L)).map (algebraMap L M) := by |
| 69 | rw [Polynomial.map_map] |
| 70 | congr 1 |
| 71 | rw [hm, Polynomial.natDegree_map_eq_of_injective (algebraMap L M).injective, |
| 72 | Polynomial.natDegree_map_eq_of_injective (algebraMap L M).injective, |
| 73 | Polynomial.resultant_map_map] at h |
| 74 | have hn := IntegralComparison.Polynomial.DegreeBaseChange.Law.norm_map A L M F φ R |
| 75 | change IntegralComparison.Polynomial.DegreeBaseChange.Law.norm A M F (R.map (algebraMap L M)) = (algebraMap L M) (IntegralComparison.Polynomial.DegreeBaseChange.Law.norm A L F R) at hn |
| 76 | exact h.trans hn |
| 77 | |
| 78 | theorem resultant_eq_residueDegree (L : Type*) [Field L] [Algebra ℚ L] |
| 79 | (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (R : Polynomial ℕ) |
| 80 | [IsFinite (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A F R).toMul.hom.hom.left] |
| 81 | [IsDominant (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A F R).toMul.hom.hom.left] : |
| 82 | ((integerPolynomial A F).map (Int.castRingHom L)).resultant (R.map (Nat.castRingHom L)) = |
| 83 | ((IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A F R).toMul.hom.hom.left.residueDegree (genericPoint A.left) : L) := by |
| 84 | rw [resultant_eq_norm, IntegralComparison.Polynomial.DegreeGeometry.Law.norm_map_nat] |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.DegreeResultant |