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.WeakAdmissibility.CoefficientComparison |
| 2 | |
| 3 | /-! # Algebraic Coefficient Fields -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.WeakAdmissibility.AlgebraicCoefficientFields |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite Witt coefficient fields as actual subfields of the fixed algebraic closure. -/ |
| 10 | |
| 11 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm.PeriodRings OAI.NumberTheory.PadicHodge.WeakAdmissibility.UnramifiedCoefficients OAI.NumberTheory.PadicHodge.WeakAdmissibility.CoefficientFiniteness OAI.NumberTheory.PadicHodge.WeakAdmissibility.CoefficientComparison |
| 12 | open OAI.NumberTheory.PadicHodge.WeakAdmissibility.PrimitiveElements OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamField.Constants OAI.NumberTheory.PadicHodge.WeakAdmissibility.DeRhamDVR |
| 13 | variable (p : ℕ) [Fact p.Prime] |
| 14 | |
| 15 | theorem integralComplex_mem_algebraicRange (a : ℂ_[p]) (ha : IsIntegral ℚ_[p] a) : |
| 16 | ∃ b : PadicAlgCl p, algebraMap (PadicAlgCl p) ℂ_[p] b = a := by |
| 17 | have ha' : IsIntegral (PadicAlgCl p) a := ha.tower_top |
| 18 | let P := minpoly (PadicAlgCl p) a |
| 19 | have hd : P.degree = 1 := |
| 20 | IsAlgClosed.degree_eq_one_of_irreducible (PadicAlgCl p) (minpoly.irreducible ha') |
| 21 | have hm : P.leadingCoeff = 1 := (minpoly.monic ha').leadingCoeff |
| 22 | have hr : Polynomial.aeval a P = 0 := minpoly.aeval (PadicAlgCl p) a |
| 23 | rw [Polynomial.eq_X_add_C_of_degree_eq_one hd, hm, Polynomial.C_1, one_mul, |
| 24 | Polynomial.aeval_add, Polynomial.aeval_X, Polynomial.aeval_C, add_eq_zero_iff_eq_neg] at hr |
| 25 | exact ⟨-P.coeff 0, (map_neg (algebraMap (PadicAlgCl p) ℂ_[p]) _).trans hr.symm⟩ |
| 26 | |
| 27 | variable {k : Type*} [Field k] [Fintype k] [CharP k p] (j : k →+* PrimitiveElements.ResidueCp p) |
| 28 | |
| 29 | def coefficientResidueAlg : UnramifiedCoefficients.CoefficientField (p := p) (k := k) →ₐ[ℚ_[p]] ℂ_[p] := |
| 30 | (DeRhamField.Constants.residueAlg p).comp (CoefficientComparison.coefficientFieldToCompletionAlg p j) |
| 31 | |
| 32 | theorem coefficientResidue_integral (x : UnramifiedCoefficients.CoefficientField (p := p) (k := k)) : |
| 33 | IsIntegral ℚ_[p] (coefficientResidueAlg p j x) := |
| 34 | (Algebra.IsIntegral.isIntegral x).map (coefficientResidueAlg p j) |
| 35 | |
| 36 | def coefficientAlgebraicLift (x : UnramifiedCoefficients.CoefficientField (p := p) (k := k)) : PadicAlgCl p := |
| 37 | (integralComplex_mem_algebraicRange p _ (coefficientResidue_integral p j x)).choose |
| 38 | |
| 39 | theorem coefficientAlgebraicLift_spec (x : UnramifiedCoefficients.CoefficientField (p := p) (k := k)) : |
| 40 | algebraMap (PadicAlgCl p) ℂ_[p] (coefficientAlgebraicLift p j x) = coefficientResidueAlg p j x := |
| 41 | (integralComplex_mem_algebraicRange p _ (coefficientResidue_integral p j x)).choose_spec |
| 42 | |
| 43 | def coefficientFieldToAlgebraic : UnramifiedCoefficients.CoefficientField (p := p) (k := k) →ₐ[ℚ_[p]] PadicAlgCl p where |
| 44 | toFun := coefficientAlgebraicLift p j |
| 45 | map_zero' := by |
| 46 | apply (algebraMap (PadicAlgCl p) ℂ_[p]).injective |
| 47 | rw [coefficientAlgebraicLift_spec, map_zero, map_zero] |
| 48 | map_one' := by |
| 49 | apply (algebraMap (PadicAlgCl p) ℂ_[p]).injective |
| 50 | rw [coefficientAlgebraicLift_spec, map_one, map_one] |
| 51 | map_add' x y := by |
| 52 | apply (algebraMap (PadicAlgCl p) ℂ_[p]).injective |
| 53 | rw [coefficientAlgebraicLift_spec, map_add, map_add, |
| 54 | coefficientAlgebraicLift_spec, coefficientAlgebraicLift_spec] |
| 55 | map_mul' x y := by |
| 56 | apply (algebraMap (PadicAlgCl p) ℂ_[p]).injective |
| 57 | rw [coefficientAlgebraicLift_spec, map_mul, map_mul, |
| 58 | coefficientAlgebraicLift_spec, coefficientAlgebraicLift_spec] |
| 59 | commutes' a := by |
| 60 | apply (algebraMap (PadicAlgCl p) ℂ_[p]).injective |
| 61 | rw [coefficientAlgebraicLift_spec, (coefficientResidueAlg p j).commutes, |
| 62 | ← IsScalarTower.algebraMap_apply] |
| 63 | |
| 64 | theorem coefficientFieldToAlgebraic_residue (x : UnramifiedCoefficients.CoefficientField (p := p) (k := k)) : |
| 65 | algebraMap (PadicAlgCl p) ℂ_[p] (coefficientFieldToAlgebraic p j x) = coefficientResidueAlg p j x := |
| 66 | coefficientAlgebraicLift_spec p j x |
| 67 | |
| 68 | theorem coefficientFieldToAlgebraic_completion (x : UnramifiedCoefficients.CoefficientField (p := p) (k := k)) : |
| 69 | DeRhamField.Constants.algebraicToBdRPlus p (coefficientFieldToAlgebraic p j x) = CoefficientComparison.coefficientFieldToCompletion p j x := by |
| 70 | apply DeRhamField.Constants.integral_residue_injective p |
| 71 | (DeRhamField.Constants.algebraicLift_integral p (coefficientFieldToAlgebraic p j x)) |
| 72 | (CoefficientComparison.coefficientFieldToCompletion_integral p j x) |
| 73 | change DeRhamDVR.residue p (DeRhamField.Constants.algebraicToBdRPlus p (coefficientFieldToAlgebraic p j x)) = _ |
| 74 | rw [DeRhamField.Constants.algebraicToBdRPlus_residue, coefficientFieldToAlgebraic_residue] |
| 75 | rfl |
| 76 | |
| 77 | def coefficientSubfield : IntermediateField ℚ_[p] (PadicAlgCl p) := |
| 78 | (coefficientFieldToAlgebraic p j).fieldRange |
| 79 | |
| 80 | def coefficientSubfieldEquiv : UnramifiedCoefficients.CoefficientField (p := p) (k := k) ≃ₐ[ℚ_[p]] coefficientSubfield p j := |
| 81 | (coefficientFieldToAlgebraic p j).equivFieldRange |
| 82 | |
| 83 | instance coefficientSubfield_finite : Module.Finite ℚ_[p] (coefficientSubfield p j) := |
| 84 | Module.Finite.of_surjective (coefficientSubfieldEquiv p j).toLinearMap |
| 85 | (coefficientSubfieldEquiv p j).surjective |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.WeakAdmissibility.AlgebraicCoefficientFields |