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.AffineOpen.SectionBase |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 5 | |
| 6 | /-! # Smooth Closed Sections -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Smooth affine sections and the quotient of a closed immersion use |
| 13 | the original coefficient algebra of the de Rham forms. The quotient |
| 14 | identification is the actual pullback of functions. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | |
| 25 | abbrev ring (X : Over (Spec (CommRingCat.of R))) (U : X.left.Opens) : CommAlgCat.{u} R := |
| 26 | (OAI.AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras R X).obj (op U) |
| 27 | |
| 28 | theorem smooth_sections (Y : Over (Spec (CommRingCat.of R))) [Smooth Y.hom] |
| 29 | (U : Y.left.Opens) (hU : IsAffineOpen U) : Algebra.Smooth R (ring R Y U) := by |
| 30 | have h : Smooth (Spec.map (CommRingCat.ofHom (algebraMap R (ring R Y U)))) := by |
| 31 | rw [← AffineOpen.SectionBase.overBase R Y U hU] |
| 32 | infer_instance |
| 33 | exact RingHom.smooth_algebraMap.mp ((HasRingHomProperty.Spec_iff (P := @Smooth)).mp h) |
| 34 | |
| 35 | variable (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 36 | [IsClosedImmersion f.left] (U : Y.left.Opens) (hU : IsAffineOpen U) |
| 37 | |
| 38 | def quotientEquiv : |
| 39 | (ring R Y U ⧸ f.left.ker.ideal ⟨U, hU⟩) ≃ₐ[R] ring R X (f.left ⁻¹ᵁ U) := |
| 40 | (Ideal.quotientEquivAlgOfEq R (f.left.ker_apply ⟨U, hU⟩)).trans |
| 41 | (Ideal.quotientKerAlgEquivOfSurjective (f := OAI.AlgebraicGeometry.Crystalline.Cohomology.DeRhamPullbackTo.DeRhamPullback.sectionPullback f U) |
| 42 | (f.left.app_surjective U hU)) |
| 43 | |
| 44 | @[simp] |
| 45 | theorem quotientEquiv_mk (a : ring R Y U) : |
| 46 | quotientEquiv R X Y f U hU (Ideal.Quotient.mk (f.left.ker.ideal ⟨U, hU⟩) a) = |
| 47 | f.left.app U a := rfl |
| 48 | |
| 49 | theorem smooth_quotient [Smooth X.hom] : |
| 50 | Algebra.Smooth R (ring R Y U ⧸ f.left.ker.ideal ⟨U, hU⟩) := by |
| 51 | let := smooth_sections R X (f.left ⁻¹ᵁ U) (hU.preimage f.left) |
| 52 | exact Algebra.Smooth.of_equiv (quotientEquiv R X Y f U hU).symm |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |