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.AdicEstimates |
| 2 | import OAI.NumberTheory.PadicHodge.WeakAdmissibility.Logarithm |
| 3 | |
| 4 | /-! # Weak Admissibility Bridge -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.WeakAdmissibilityBridge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Bridge between the independently constructed PeriodInvariants and WeakAdmissibility envelopes |
| 12 | |
| 13 | The equality here is proved from the actual divided-power generators. It is |
| 14 | not an assumption identifying opaque period-ring interfaces. The bridge is |
| 15 | kept separate from both foundational modules to avoid cyclic imports. |
| 16 | -/ |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.PeriodInvariants.PeriodRing OAI.NumberTheory.PadicHodge.PeriodInvariants.Nontriviality OAI.NumberTheory.PadicHodge.PeriodInvariants.AdicEstimates.Frobenius |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] |
| 21 | |
| 22 | /-- The two constructions define the same uncompleted divided-power subalgebra. -/ |
| 23 | theorem envelopes_eq : WeakAdmissibility.Logarithm.PeriodRings.aCrisUncompleted p = |
| 24 | PeriodRing.acrisZeroSubalgebra p := by |
| 25 | change AdicEstimates.Frobenius.modPEnvelope p = PeriodRing.acrisZeroSubalgebra p |
| 26 | exact AdicEstimates.Frobenius.modPEnvelope_eq_acrisZero p |
| 27 | |
| 28 | def uncompletedEquiv : WeakAdmissibility.Logarithm.PeriodRings.ACrisUncompleted p ≃+* PeriodRing.AcrisZero p := |
| 29 | (Subalgebra.equivOfEq _ _ (envelopes_eq p)).toRingEquiv |
| 30 | |
| 31 | section Transport |
| 32 | |
| 33 | variable {A L : Type*} [CommRing A] [CommRing L] [Algebra A L] |
| 34 | |
| 35 | theorem subalgebraEquivOfEq_coe (S T : Subalgebra A L) (h : S = T) (x : S) : |
| 36 | ((Subalgebra.equivOfEq S T h).toRingEquiv x : L) = x := rfl |
| 37 | |
| 38 | /-- Completion respects equality of the concrete coefficient subalgebras. -/ |
| 39 | def completedSubalgebraEquiv (S T : Subalgebra A L) (h : S = T) : |
| 40 | AdicCompletion (Ideal.span {(p : S)}) S ≃+* |
| 41 | AdicCompletion (Ideal.span {(p : T)}) T := by |
| 42 | subst T |
| 43 | exact RingEquiv.refl _ |
| 44 | |
| 45 | def positiveSubalgebraEquiv (S T : Subalgebra A L) (h : S = T) : |
| 46 | Localization.Away (p : AdicCompletion (Ideal.span {(p : S)}) S) ≃+* |
| 47 | Localization.Away (p : AdicCompletion (Ideal.span {(p : T)}) T) := by |
| 48 | subst T |
| 49 | exact RingEquiv.refl _ |
| 50 | |
| 51 | end Transport |
| 52 | |
| 53 | theorem ringHom_comp_equiv_surjective {R S T : Type*} |
| 54 | [CommRing R] [CommRing S] [CommRing T] |
| 55 | (f : S →+* T) (e : R ≃+* S) (hf : Function.Surjective f) : |
| 56 | Function.Surjective (f.comp e.toRingHom) := hf.comp e.surjective |
| 57 | |
| 58 | theorem ringEquiv_nontrivial {R S : Type*} [CommRing R] [CommRing S] |
| 59 | [Nontrivial S] (e : R ≃+* S) : Nontrivial R := e.surjective.nontrivial |
| 60 | |
| 61 | /-- The two actual completed integral period rings are isomorphic. -/ |
| 62 | def acrisEquiv : WeakAdmissibility.Logarithm.PeriodRings.ACris p ≃+* PeriodRing.Acris p := |
| 63 | completedSubalgebraEquiv p _ _ (envelopes_eq p) |
| 64 | |
| 65 | /-- The two actual positive crystalline period rings are isomorphic. -/ |
| 66 | def bcrisPlusEquiv : WeakAdmissibility.Logarithm.PeriodRings.BCrisPlus p ≃+* PeriodRing.BcrisPlus p := |
| 67 | positiveSubalgebraEquiv p _ _ (envelopes_eq p) |
| 68 | |
| 69 | theorem ainfFrobenius_eq : WeakAdmissibility.Logarithm.PeriodRings.aInfFrobenius p = |
| 70 | AdicEstimates.Frobenius.ainfFrobenius p := rfl |
| 71 | |
| 72 | theorem fractionFrobenius_eq (x : FractionRing (PeriodRing.Ainf p)) : |
| 73 | WeakAdmissibility.Logarithm.PeriodRings.fractionFrobenius p x = |
| 74 | AdicEstimates.Frobenius.fractionFrobenius p x := by |
| 75 | have h : WeakAdmissibility.Logarithm.PeriodRings.fractionFrobenius p = |
| 76 | AdicEstimates.Frobenius.fractionFrobenius p := |
| 77 | congrArg (fun e : PeriodRing.Ainf p ≃+* PeriodRing.Ainf p => |
| 78 | IsFractionRing.ringEquivOfRingEquiv (K := FractionRing (PeriodRing.Ainf p)) |
| 79 | (L := FractionRing (PeriodRing.Ainf p)) e) (ainfFrobenius_eq p) |
| 80 | exact DFunLike.congr_fun h x |
| 81 | |
| 82 | theorem uncompletedEquiv_coe (x : WeakAdmissibility.Logarithm.PeriodRings.ACrisUncompleted p) : |
| 83 | (uncompletedEquiv p x : FractionRing (PeriodRing.Ainf p)) = x := |
| 84 | subalgebraEquivOfEq_coe _ _ (envelopes_eq p) x |
| 85 | |
| 86 | theorem e63Frobenius_coe (x : WeakAdmissibility.Logarithm.PeriodRings.ACrisUncompleted p) : |
| 87 | (WeakAdmissibility.Logarithm.PeriodRings.aCrisUncompletedFrobenius p x : FractionRing (PeriodRing.Ainf p)) = |
| 88 | WeakAdmissibility.Logarithm.PeriodRings.fractionFrobenius p x := rfl |
| 89 | |
| 90 | theorem e61Frobenius_coe (x : PeriodRing.AcrisZero p) : |
| 91 | (AdicEstimates.Frobenius.acrisZeroFrobenius p x : FractionRing (PeriodRing.Ainf p)) = |
| 92 | AdicEstimates.Frobenius.fractionFrobenius p x := rfl |
| 93 | |
| 94 | theorem uncompletedEquiv_frobenius (x : WeakAdmissibility.Logarithm.PeriodRings.ACrisUncompleted p) : |
| 95 | uncompletedEquiv p (WeakAdmissibility.Logarithm.PeriodRings.aCrisUncompletedFrobenius p x) = |
| 96 | AdicEstimates.Frobenius.acrisZeroFrobenius p (uncompletedEquiv p x) := by |
| 97 | apply Subtype.val_injective |
| 98 | rw [uncompletedEquiv_coe, e63Frobenius_coe, e61Frobenius_coe, uncompletedEquiv_coe] |
| 99 | exact fractionFrobenius_eq p x |
| 100 | |
| 101 | /-- The proved integral theta map transfers through the concrete bridge. -/ |
| 102 | def thetaWeakAdmissibilityAcris : WeakAdmissibility.Logarithm.PeriodRings.ACris p →+* 𝓞_ℂ_[p] := |
| 103 | (Nontriviality.thetaAcris p).comp (acrisEquiv p).toRingHom |
| 104 | |
| 105 | theorem thetaWeakAdmissibilityAcris_surjective : Function.Surjective (thetaWeakAdmissibilityAcris p) := |
| 106 | ringHom_comp_equiv_surjective (Nontriviality.thetaAcris p) (acrisEquiv p) (Nontriviality.thetaAcris_surjective p) |
| 107 | |
| 108 | theorem e63_acris_nontrivial : Nontrivial (WeakAdmissibility.Logarithm.PeriodRings.ACris p) := |
| 109 | ringEquiv_nontrivial (acrisEquiv p) |
| 110 | |
| 111 | theorem e63_bcrisPlus_nontrivial : Nontrivial (WeakAdmissibility.Logarithm.PeriodRings.BCrisPlus p) := |
| 112 | ringEquiv_nontrivial (bcrisPlusEquiv p) |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.WeakAdmissibilityBridge |