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.Smooth.DifferentialHypersurface |
| 2 | import Mathlib.Algebra.MvPolynomial.Basic |
| 3 | |
| 4 | /-! # Coordinate Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoordinateMap.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A function with derivative one defines a smooth map to the affine line. -/ |
| 11 | |
| 12 | variable {k A : Type*} [CommRing k] [CommRing A] [Algebra k A] |
| 13 | [Algebra (MvPolynomial Unit k) A] [IsScalarTower k (MvPolynomial Unit k) A] |
| 14 | |
| 15 | /-- The same square-zero correction used for a smooth hypersurface also |
| 16 | preserves an arbitrary prescribed value of its coordinate. Thus the whole |
| 17 | ambient algebra is formally smooth over that coordinate line. -/ |
| 18 | theorem formallySmooth_over_coordinate [Algebra.FormallySmooth k A] |
| 19 | (D : Derivation k A A) |
| 20 | (hD : D (algebraMap (MvPolynomial Unit k) A (MvPolynomial.X ())) = 1) : |
| 21 | Algebra.FormallySmooth (MvPolynomial Unit k) A := by |
| 22 | apply Algebra.FormallySmooth.of_comp_surjective |
| 23 | intro B _ _ I hI g |
| 24 | let P := MvPolynomial Unit k |
| 25 | let : Algebra k B := ((algebraMap P B).comp MvPolynomial.C).toAlgebra |
| 26 | let : IsScalarTower k P B := IsScalarTower.of_algebraMap_eq' rfl |
| 27 | let z := algebraMap P A (MvPolynomial.X ()) |
| 28 | let t := algebraMap P B (MvPolynomial.X ()) |
| 29 | obtain ⟨f, hf⟩ := Algebra.FormallySmooth.comp_surjective k A I hI (g.restrictScalars k) |
| 30 | have hzt : Ideal.Quotient.mk I (f z) = Ideal.Quotient.mk I t := by |
| 31 | calc |
| 32 | _ = g z := AlgHom.congr_fun hf z |
| 33 | _ = algebraMap P (B ⧸ I) (MvPolynomial.X ()) := g.commutes (MvPolynomial.X ()) |
| 34 | _ = _ := rfl |
| 35 | let c := f z - t |
| 36 | have hc : c ∈ I := by |
| 37 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 38 | change Ideal.Quotient.mk I (f z - t) = 0 |
| 39 | rw [map_sub, hzt, sub_self] |
| 40 | have hsq : c * c = 0 := by |
| 41 | have h := Ideal.mul_mem_mul hc hc |
| 42 | rw [← pow_two, hI] at h |
| 43 | exact h |
| 44 | let f' := DifferentialHypersurface.Construction.squareZeroDerivationCorrection f D c hsq |
| 45 | have hf'z : f' z = t := by |
| 46 | change f z - c * f (D z) = t |
| 47 | rw [hD, map_one, mul_one] |
| 48 | exact sub_sub_cancel (f z) t |
| 49 | have hbase : f'.toRingHom.comp (algebraMap P A) = algebraMap P B := by |
| 50 | apply MvPolynomial.ringHom_ext |
| 51 | · intro r |
| 52 | rw [RingHom.comp_apply] |
| 53 | change f' (algebraMap P A (algebraMap k P r)) = algebraMap P B (algebraMap k P r) |
| 54 | rw [← IsScalarTower.algebraMap_apply k P A, ← IsScalarTower.algebraMap_apply k P B] |
| 55 | exact f'.commutes r |
| 56 | · intro i |
| 57 | cases i |
| 58 | exact hf'z |
| 59 | let g' : A →ₐ[P] B := { __ := f'.toRingHom, commutes' p := RingHom.congr_fun hbase p } |
| 60 | refine ⟨g', ?_⟩ |
| 61 | apply AlgHom.ext |
| 62 | intro a |
| 63 | change Ideal.Quotient.mk I (f a - c * f (D a)) = g a |
| 64 | rw [map_sub, map_mul, Ideal.Quotient.eq_zero_iff_mem.mpr hc, zero_mul, sub_zero] |
| 65 | exact AlgHom.congr_fun hf a |
| 66 | |
| 67 | /-- A unit coordinate derivative gives a smooth affine-line morphism |
| 68 | when the ambient algebra is smooth over its original coefficient ring. -/ |
| 69 | theorem smooth_over_coordinate [Algebra.Smooth k A] |
| 70 | (D : Derivation k A A) |
| 71 | (hD : D (algebraMap (MvPolynomial Unit k) A (MvPolynomial.X ())) = 1) : |
| 72 | Algebra.Smooth (MvPolynomial Unit k) A := by |
| 73 | let : Algebra.FormallySmooth (MvPolynomial Unit k) A := formallySmooth_over_coordinate D hD |
| 74 | let : Algebra.FinitePresentation (MvPolynomial Unit k) A := |
| 75 | Algebra.FinitePresentation.of_restrict_scalars_finitePresentation k (MvPolynomial Unit k) A |
| 76 | exact ⟨inferInstance, inferInstance⟩ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoordinateMap.Construction |