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.Resolution.Blowups.Coordinate.FrameCorrection |
| 2 | import Mathlib.Algebra.MvPolynomial.Basic |
| 3 | |
| 4 | /-! # Coordinate Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoordinateFrame.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth morphisms defined by finite families of dual coordinates. -/ |
| 11 | |
| 12 | variable {k A ι : Type*} [CommRing k] [CommRing A] [Algebra k A] |
| 13 | [Fintype ι] [DecidableEq ι] |
| 14 | [Algebra (MvPolynomial ι k) A] [IsScalarTower k (MvPolynomial ι k) A] |
| 15 | |
| 16 | /-- A finite family of coordinate functions with dual relative derivations |
| 17 | defines a formally smooth morphism to its polynomial coordinate base. -/ |
| 18 | theorem formallySmooth_over_coordinate_frame [Algebra.FormallySmooth k A] |
| 19 | (D : ι → Derivation k A A) |
| 20 | (hD : ∀ i j, D i (algebraMap (MvPolynomial ι k) A (MvPolynomial.X j)) = |
| 21 | if i = j then 1 else 0) : |
| 22 | Algebra.FormallySmooth (MvPolynomial ι k) A := by |
| 23 | apply Algebra.FormallySmooth.of_comp_surjective |
| 24 | intro B _ _ I hI g |
| 25 | let P := MvPolynomial ι k |
| 26 | let : Algebra k B := ((algebraMap P B).comp MvPolynomial.C).toAlgebra |
| 27 | let : IsScalarTower k P B := IsScalarTower.of_algebraMap_eq' rfl |
| 28 | let z : ι → A := fun i => algebraMap P A (MvPolynomial.X i) |
| 29 | let t : ι → B := fun i => algebraMap P B (MvPolynomial.X i) |
| 30 | obtain ⟨f, hf⟩ := Algebra.FormallySmooth.comp_surjective k A I hI (g.restrictScalars k) |
| 31 | have hft : ∀ i, Ideal.Quotient.mk I (f (z i)) = Ideal.Quotient.mk I (t i) := by |
| 32 | intro i |
| 33 | calc |
| 34 | _ = g (z i) := AlgHom.congr_fun hf (z i) |
| 35 | _ = algebraMap P (B ⧸ I) (MvPolynomial.X i) := g.commutes (MvPolynomial.X i) |
| 36 | _ = _ := rfl |
| 37 | obtain ⟨f', hmod, hframe⟩ := Coordinate.FrameCorrection.Construction.exists_squareZero_coordinate_correction f D z t hD I hI hft Finset.univ |
| 38 | have hbase : f'.toRingHom.comp (algebraMap P A) = algebraMap P B := by |
| 39 | apply MvPolynomial.ringHom_ext |
| 40 | · intro r |
| 41 | rw [RingHom.comp_apply] |
| 42 | change f' (algebraMap P A (algebraMap k P r)) = algebraMap P B (algebraMap k P r) |
| 43 | rw [← IsScalarTower.algebraMap_apply k P A, ← IsScalarTower.algebraMap_apply k P B] |
| 44 | exact f'.commutes r |
| 45 | · intro i |
| 46 | exact hframe i (Finset.mem_univ i) |
| 47 | let g' : A →ₐ[P] B := { __ := f'.toRingHom, commutes' p := RingHom.congr_fun hbase p } |
| 48 | refine ⟨g', ?_⟩ |
| 49 | apply AlgHom.ext |
| 50 | intro a |
| 51 | exact (hmod a).trans (AlgHom.congr_fun hf a) |
| 52 | |
| 53 | /-- Finite presentation upgrades the coordinate-frame lifting property |
| 54 | to a smooth morphism, allowing the remaining coordinates to be chosen relatively. -/ |
| 55 | theorem smooth_over_coordinate_frame [Algebra.Smooth k A] |
| 56 | (D : ι → Derivation k A A) |
| 57 | (hD : ∀ i j, D i (algebraMap (MvPolynomial ι k) A (MvPolynomial.X j)) = |
| 58 | if i = j then 1 else 0) : |
| 59 | Algebra.Smooth (MvPolynomial ι k) A := by |
| 60 | let : Algebra.FormallySmooth (MvPolynomial ι k) A := formallySmooth_over_coordinate_frame D hD |
| 61 | let : Algebra.FinitePresentation (MvPolynomial ι k) A := |
| 62 | Algebra.FinitePresentation.of_restrict_scalars_finitePresentation k (MvPolynomial ι k) A |
| 63 | exact ⟨inferInstance, inferInstance⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoordinateFrame.Construction |