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.PeriodInvariants.CrystallineScalars |
| 2 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.IntegralGeometry |
| 3 | import OAI.NumberTheory.PadicHodge.PeriodInvariants.ComplexResidueP |
| 4 | |
| 5 | /-! # Residue Embedding -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.ResidueEmbedding |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual residue-field embedding for a finite p-adic extension |
| 13 | |
| 14 | The chosen algebraic-closure embedding preserves the canonical valuation. |
| 15 | It restricts to a local map of integer rings, hence to a residue-field |
| 16 | embedding. The local absolute Galois group fixes its image. |
| 17 | -/ |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.IntegralGeometry OAI.NumberTheory.PadicHodge.PeriodInvariants.CrystallineScalars OAI.NumberTheory.PadicHodge.PeriodInvariants.ComplexResidueP |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] |
| 22 | variable (K : Type*) [Field K] [Algebra ℚ_[p] K] [FiniteDimensional ℚ_[p] K] |
| 23 | |
| 24 | def complexEmbedding : K →ₐ[ℚ_[p]] ℂ_[p] := |
| 25 | (IsScalarTower.toAlgHom ℚ_[p] (PadicAlgCl p) ℂ_[p]).comp (CrystallineScalars.fieldEmbedding p K) |
| 26 | |
| 27 | theorem complexEmbedding_valuation (x : K) : |
| 28 | Valued.v (complexEmbedding p K x) = IntegralGeometry.fieldValuation p K x := by |
| 29 | change Valued.v ((CrystallineScalars.fieldEmbedding p K x : PadicAlgCl p) : ℂ_[p]) = _ |
| 30 | rw [PadicComplex.valuation_extends] |
| 31 | apply NNReal.eq |
| 32 | change spectralNorm ℚ_[p] (PadicAlgCl p) (CrystallineScalars.fieldEmbedding p K x) = spectralNorm ℚ_[p] K x |
| 33 | exact congrArg spectralValue (minpoly.algHom_eq (CrystallineScalars.fieldEmbedding p K) (CrystallineScalars.fieldEmbedding p K).injective x) |
| 34 | |
| 35 | def integerEmbedding : IntegralGeometry.ringOfIntegers p K →+* 𝓞_ℂ_[p] where |
| 36 | toFun x := ⟨complexEmbedding p K x, by |
| 37 | change Valued.v (complexEmbedding p K x) ≤ 1 |
| 38 | rw [complexEmbedding_valuation] |
| 39 | exact x.property⟩ |
| 40 | map_zero' := Subtype.ext (map_zero (complexEmbedding p K)) |
| 41 | map_one' := Subtype.ext (map_one (complexEmbedding p K)) |
| 42 | map_add' x y := Subtype.ext (map_add (complexEmbedding p K) (x : K) y) |
| 43 | map_mul' x y := Subtype.ext (map_mul (complexEmbedding p K) (x : K) y) |
| 44 | |
| 45 | instance integerEmbedding_local : IsLocalHom (integerEmbedding p K) where |
| 46 | map_nonunit x hx := by |
| 47 | apply ((Valuation.integer.integers (IntegralGeometry.fieldValuation p K)).isUnit_iff_valuation_eq_one).mpr |
| 48 | have hv := (PadicComplexInt.integers p).isUnit_iff_valuation_eq_one.mp hx |
| 49 | change Valued.v (complexEmbedding p K x) = 1 at hv |
| 50 | exact (complexEmbedding_valuation p K x).symm.trans hv |
| 51 | |
| 52 | def residueEmbedding : IntegralGeometry.ResidueField p K →+* ComplexResidueP.ComplexResidue p := |
| 53 | IsLocalRing.ResidueField.map (integerEmbedding p K) |
| 54 | |
| 55 | theorem residueEmbedding_residue (x : IntegralGeometry.ringOfIntegers p K) : |
| 56 | residueEmbedding p K (IsLocalRing.residue (IntegralGeometry.ringOfIntegers p K) x) = |
| 57 | IsLocalRing.residue 𝓞_ℂ_[p] (integerEmbedding p K x) := |
| 58 | IsLocalRing.ResidueField.map_residue (integerEmbedding p K) x |
| 59 | |
| 60 | theorem residueEmbedding_injective : Function.Injective (residueEmbedding p K) := |
| 61 | (residueEmbedding p K).injective |
| 62 | |
| 63 | theorem complexEmbedding_galois (σ : CrystallineScalars.LocalGalois K) (x : K) : |
| 64 | PeriodRing.galoisComplexEquiv p (CrystallineScalars.galoisToPadic p K σ) (complexEmbedding p K x) = complexEmbedding p K x := by |
| 65 | change UniformSpace.Completion.mapRingHom (CrystallineScalars.galoisToPadic p K σ).toRingHom |
| 66 | (PeriodRing.algebraicGalois_isometry p (CrystallineScalars.galoisToPadic p K σ)).continuous |
| 67 | ((CrystallineScalars.fieldEmbedding p K x : PadicAlgCl p) : ℂ_[p]) = (CrystallineScalars.fieldEmbedding p K x : PadicAlgCl p) |
| 68 | exact (UniformSpace.Completion.mapRingHom_coe |
| 69 | (PeriodRing.algebraicGalois_isometry p (CrystallineScalars.galoisToPadic p K σ)).continuous (CrystallineScalars.fieldEmbedding p K x)).trans |
| 70 | (congrArg (algebraMap (PadicAlgCl p) ℂ_[p]) |
| 71 | (CrystallineScalars.conjugateRestriction_fixes_base ℚ_[p] (CrystallineScalars.closureEquiv p K) σ x)) |
| 72 | |
| 73 | theorem integerEmbedding_galois (σ : CrystallineScalars.LocalGalois K) (x : IntegralGeometry.ringOfIntegers p K) : |
| 74 | PeriodRing.galoisIntegerEquiv p (CrystallineScalars.galoisToPadic p K σ) (integerEmbedding p K x) = integerEmbedding p K x := |
| 75 | Subtype.ext (complexEmbedding_galois p K σ x) |
| 76 | |
| 77 | theorem residueEmbedding_galois (σ : CrystallineScalars.LocalGalois K) (x : IntegralGeometry.ResidueField p K) : |
| 78 | IsLocalRing.ResidueField.map (PeriodRing.galoisIntegerEquiv p (CrystallineScalars.galoisToPadic p K σ)).toRingHom |
| 79 | (residueEmbedding p K x) = residueEmbedding p K x := by |
| 80 | obtain ⟨a, rfl⟩ := IsLocalRing.residue_surjective x |
| 81 | rw [residueEmbedding_residue, IsLocalRing.ResidueField.map_residue] |
| 82 | exact congrArg (IsLocalRing.residue 𝓞_ℂ_[p]) (integerEmbedding_galois p K σ a) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.ResidueEmbedding |