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.EnvelopeResidue |
| 2 | |
| 3 | /-! # Enlargement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Enlargement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: enlarging the closed ideal of a divided-power thickening |
| 11 | |
| 12 | The relative envelope extends the existing divided powers to a larger |
| 13 | ideal. Its closed quotient is the prescribed smaller closed subscheme, |
| 14 | and its universal property controls maps into other thickenings. |
| 15 | -/ |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.PowerEnvelope |
| 20 | |
| 21 | variable (A : Type u) [CommRing A] (I : Ideal A) (δ : DividedPowers I) (L : Ideal A) (hIL : I ≤ L) |
| 22 | |
| 23 | abbrev Ring := PowerEnvelope.Envelope A A I δ (RingHom.id A) L |
| 24 | |
| 25 | abbrev ideal := PowerEnvelope.envelopeIdeal A A I δ (RingHom.id A) L |
| 26 | |
| 27 | abbrev dividedPowers := PowerEnvelope.envelopeDividedPowers A A I δ (RingHom.id A) L |
| 28 | |
| 29 | def map : DividedPowers.DPMorphism δ (Enlargement.dividedPowers A I δ L) where |
| 30 | toRingHom := PowerEnvelope.toEnvelope A A I δ (RingHom.id A) L |
| 31 | ideal_comp := (PowerEnvelope.envelopeTarget A A I δ (RingHom.id A) L hIL).baseCompatible.ideal_comp |
| 32 | dpow_comp := (PowerEnvelope.envelopeTarget A A I δ (RingHom.id A) L hIL).baseCompatible.dpow_comp |
| 33 | |
| 34 | lemma map_largerIdeal {x : A} (hx : x ∈ L) : map A I δ L hIL x ∈ Enlargement.ideal A I δ L := |
| 35 | PowerEnvelope.toEnvelope_mapsIdeal A A I δ (RingHom.id A) L hx |
| 36 | |
| 37 | def residueEquiv : A ⧸ L ≃+* Ring A I δ L ⧸ Enlargement.ideal A I δ L := |
| 38 | EnvelopeResidue.quotientEquiv A A I δ (RingHom.id A) L hIL |
| 39 | |
| 40 | lemma residueEquiv_mk (x : A) : |
| 41 | residueEquiv A I δ L hIL (Ideal.Quotient.mk L x) = |
| 42 | Ideal.Quotient.mk (Enlargement.ideal A I δ L) (map A I δ L hIL x) := rfl |
| 43 | |
| 44 | lemma prime_nilpotent (p : ℕ) (hp : IsNilpotent (p : A)) : IsNilpotent (p : Ring A I δ L) := |
| 45 | EnvelopeResidue.prime_nilpotent A A I δ (RingHom.id A) L p hp |
| 46 | |
| 47 | lemma nilIdeal (p : ℕ) (hp : 0 < p) (hpn : IsNilpotent (p : A)) |
| 48 | {x : Ring A I δ L} (hx : x ∈ Enlargement.ideal A I δ L) : IsNilpotent x := |
| 49 | EnvelopeResidue.envelope_nilIdeal A A I δ (RingHom.id A) L p hp hpn hx |
| 50 | |
| 51 | variable {D : Type u} [CommRing D] {K : Ideal D} {ε : DividedPowers K} |
| 52 | variable (φ : DividedPowers.DPMorphism δ ε) (hL : L ≤ K.comap φ.toRingHom) |
| 53 | |
| 54 | def target : PowerEnvelope.Target A A I δ (RingHom.id A) L where |
| 55 | ring := D |
| 56 | ideal := K |
| 57 | dividedPowers := ε |
| 58 | fromBase := φ.toRingHom |
| 59 | mapsIdeal := hL |
| 60 | baseCompatible := φ.isDPMorphism |
| 61 | |
| 62 | def lift : DividedPowers.DPMorphism (Enlargement.dividedPowers A I δ L) ε := |
| 63 | PowerEnvelope.lift A A I δ (RingHom.id A) L (target A I δ L φ hL) |
| 64 | |
| 65 | lemma lift_comp : (lift A I δ L φ hL).comp (map A I δ L hIL) = φ := by |
| 66 | apply DFunLike.ext |
| 67 | intro x |
| 68 | exact DFunLike.congr_fun (PowerEnvelope.lift_fromBase A A I δ (RingHom.id A) L (target A I δ L φ hL)) x |
| 69 | |
| 70 | lemma lift_unique (ψ : DividedPowers.DPMorphism (Enlargement.dividedPowers A I δ L) ε) |
| 71 | (hψ : ψ.comp (map A I δ L hIL) = φ) : ψ = lift A I δ L φ hL := by |
| 72 | apply PowerEnvelope.lift_unique A A I δ (RingHom.id A) L (target A I δ L φ hL) |
| 73 | exact congrArg (fun t : DividedPowers.DPMorphism δ ε => t.toRingHom) hψ |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.DividedPower.Enlargement |