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.SectionEquationQuotient |
| 2 | |
| 3 | /-! # Section Ideal Quotient -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The quotient by the actual ideal of a section, independent of |
| 10 | any chosen equations, is canonically its base ring. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 16 | variable (R : Type u) [CommRing R] (Y : Over (Spec (CommRingCat.of R))) |
| 17 | (z : Spec (CommRingCat.of R) ⟶ Y.left) [IsClosedImmersion z] |
| 18 | (hz : z ≫ Y.hom = 𝟙 _) (U : Y.left.Opens) (hU : IsAffineOpen U) |
| 19 | (hcontains : ⊤ ≤ z ⁻¹ᵁ U) |
| 20 | |
| 21 | def equiv : (Intrinsic.SmoothClosedSections.ring R Y U ⧸ z.ker.ideal ⟨U, hU⟩) ≃ₐ[R] R := |
| 22 | (Ideal.quotientEquivAlgOfEq R |
| 23 | (Intrinsic.SectionEvaluation.kernel R Y z hz U hcontains hU).symm).trans |
| 24 | (Ideal.quotientKerAlgEquivOfSurjective |
| 25 | (f := Intrinsic.SectionEvaluation.evaluation R Y z hz U hcontains) |
| 26 | (fun r => ⟨algebraMap R (Intrinsic.SmoothClosedSections.ring R Y U) r, |
| 27 | (Intrinsic.SectionEvaluation.evaluation R Y z hz U hcontains).commutes r⟩)) |
| 28 | |
| 29 | theorem equiv_mk (a : Intrinsic.SmoothClosedSections.ring R Y U) : |
| 30 | equiv R Y z hz U hU hcontains (Ideal.Quotient.mk _ a) = |
| 31 | Intrinsic.SectionEvaluation.evaluation R Y z hz U hcontains a := rfl |
| 32 | |
| 33 | theorem equations {d : ℕ} (a : Fin d → Intrinsic.SmoothClosedSections.ring R Y U) |
| 34 | (ha : Koszul.OrientedTopCohomology.ideal (Intrinsic.SmoothClosedSections.ring R Y U) a = z.ker.ideal ⟨U, hU⟩) : |
| 35 | SectionEquationQuotient.equiv R Y z hz U hU hcontains a ha = |
| 36 | (Ideal.quotientEquivAlgOfEq R ha).trans (equiv R Y z hz U hU hcontains) := by |
| 37 | apply AlgEquiv.ext |
| 38 | intro x |
| 39 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 40 | rfl |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SectionIdealQuotient |