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.AlgebraicGeometry.Comparison.Betti.SplitPolynomialPowers |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.CompletionCompatibleEquiv |
| 3 | |
| 4 | /-! # Split Coordinate Completion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.SplitCoordinateCompletion.AnalyticLocal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The completion of a ring with a split regular coordinate agrees |
| 11 | with the completion of the coefficient polynomial ring. -/ |
| 12 | |
| 13 | open _root_.Polynomial |
| 14 | |
| 15 | variable {A B : Type*} [CommRing A] [CommRing B] [IsDomain B] |
| 16 | (s : A →+* B) (r : B →+* A) (hrs : r.comp s = RingHom.id A) |
| 17 | (t : B) (hrt : r t = 0) (ht : t ≠ 0) |
| 18 | (hdivision : ∀ y : B, ∃ b : B, y = s (r y) + t * b) |
| 19 | |
| 20 | def splitPowerQuotientEquiv (n : ℕ) : |
| 21 | A[X] ⧸ (Ideal.span {(X : A[X])}) ^ n ≃+* B ⧸ (Ideal.span {t}) ^ n := |
| 22 | (Ideal.quotientEquivAlgOfEq A[X] (Ideal.span_singleton_pow (X : A[X]) n)).toRingEquiv.trans |
| 23 | ((SplitPolynomialPowers.AnalyticLocal.splitPolynomialQuotientEquiv s r hrs t hrt ht hdivision n).trans |
| 24 | (Ideal.quotientEquivAlgOfEq B (Ideal.span_singleton_pow t n).symm).toRingEquiv) |
| 25 | |
| 26 | theorem splitPowerQuotientEquiv_mk (n : ℕ) (P : A[X]) : |
| 27 | splitPowerQuotientEquiv s r hrs t hrt ht hdivision n (Ideal.Quotient.mk _ P) = |
| 28 | Ideal.Quotient.mk ((Ideal.span {t}) ^ n) (P.eval₂ s t) := rfl |
| 29 | |
| 30 | theorem splitPowerQuotientEquiv_compatible {m n : ℕ} (h : m ≤ n) : |
| 31 | (Ideal.Quotient.factorPow (Ideal.span {t}) h).comp |
| 32 | (splitPowerQuotientEquiv s r hrs t hrt ht hdivision n).toRingHom = |
| 33 | (splitPowerQuotientEquiv s r hrs t hrt ht hdivision m).toRingHom.comp |
| 34 | (Ideal.Quotient.factorPow (Ideal.span {(X : A[X])}) h) := by |
| 35 | apply RingHom.ext |
| 36 | intro z |
| 37 | obtain ⟨P, rfl⟩ := Ideal.Quotient.mk_surjective z |
| 38 | rfl |
| 39 | |
| 40 | def splitCoordinateCompletionEquiv : |
| 41 | AdicCompletion (Ideal.span {(X : A[X])}) A[X] ≃+* AdicCompletion (Ideal.span {t}) B := |
| 42 | CompletionCompatibleEquiv.AnalyticLocal.completionCompatibleEquiv _ _ (splitPowerQuotientEquiv s r hrs t hrt ht hdivision) |
| 43 | (splitPowerQuotientEquiv_compatible s r hrs t hrt ht hdivision) |
| 44 | |
| 45 | theorem splitCoordinateCompletionEquiv_of (P : A[X]) : |
| 46 | splitCoordinateCompletionEquiv s r hrs t hrt ht hdivision (AdicCompletion.of _ A[X] P) = |
| 47 | AdicCompletion.of (Ideal.span {t}) B (P.eval₂ s t) := |
| 48 | CompletionCompatibleEquiv.AnalyticLocal.completionCompatibleEquiv_of _ _ _ _ (eval₂RingHom s t) (fun _ _ => rfl) P |
| 49 | |
| 50 | def splitCoordinateCompletionAlgEquiv [Algebra A[X] B] |
| 51 | (hAlg : algebraMap A[X] B = eval₂RingHom s t) : |
| 52 | AdicCompletion (Ideal.span {(X : A[X])}) A[X] ≃ₐ[A[X]] AdicCompletion (Ideal.span {t}) B := |
| 53 | CompletionCompatibleEquiv.AnalyticLocal.completionCompatibleAlgEquiv _ _ (splitPowerQuotientEquiv s r hrs t hrt ht hdivision) |
| 54 | (splitPowerQuotientEquiv_compatible s r hrs t hrt ht hdivision) (by |
| 55 | intro n P |
| 56 | rw [hAlg] |
| 57 | rfl) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Comparison.Betti.SplitCoordinateCompletion.AnalyticLocal |