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.AbelianModuli.ReferenceFamily.Smooth.MappedQuotient |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorReductionEquiv |
| 3 | |
| 4 | /-! # Dual Special Fiber -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.DualSpecialFiber |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The identified special fiber of an actual formally smooth dual-number |
| 11 | algebra is formally smooth over the original coefficient ring. -/ |
| 12 | |
| 13 | def dualScalarQuotientEquiv (k : Type*) [CommRing k] : |
| 14 | ((DualNumber k) ⧸ Dual.TensorReduction.dualScalarReductionIdeal k) ≃ₐ[k] k := |
| 15 | Ideal.quotientKerAlgEquivOfSurjective (f := TrivSqZeroExt.fstHom k k k) |
| 16 | (fun a => ⟨(a, 0), rfl⟩) |
| 17 | |
| 18 | theorem dualScalarQuotientEquiv_mk (k : Type*) [CommRing k] (c : DualNumber k) : |
| 19 | dualScalarQuotientEquiv k (Ideal.Quotient.mk (Dual.TensorReduction.dualScalarReductionIdeal k) c) = c.fst := rfl |
| 20 | |
| 21 | variable {k A S : Type*} [CommRing k] [CommRing A] [CommRing S] |
| 22 | [Algebra k A] [Algebra (DualNumber k) S] [Algebra.FormallySmooth (DualNumber k) S] |
| 23 | |
| 24 | theorem formallySmooth_dual_specialFiber (q : S →+* A) (hq : Function.Surjective q) |
| 25 | (hker : RingHom.ker q = (Dual.TensorReduction.dualScalarReductionIdeal k).map (algebraMap (DualNumber k) S)) |
| 26 | (hbase : ∀ c : DualNumber k, q (algebraMap (DualNumber k) S c) = algebraMap k A c.fst) : |
| 27 | Algebra.FormallySmooth k A := by |
| 28 | let : Algebra k S := ((algebraMap (DualNumber k) S).comp (algebraMap k (DualNumber k))).toAlgebra |
| 29 | let : IsScalarTower k (DualNumber k) S := |
| 30 | IsScalarTower.of_algebraMap_eq' (R := k) (S := DualNumber k) (A := S) rfl |
| 31 | let I := Dual.TensorReduction.dualScalarReductionIdeal k |
| 32 | let J := I.map (algebraMap (DualNumber k) S) |
| 33 | have hcomm (c : k) : q (algebraMap k S c) = algebraMap k A c := by |
| 34 | change q (algebraMap (DualNumber k) S (algebraMap k (DualNumber k) c)) = algebraMap k A c |
| 35 | exact hbase (algebraMap k (DualNumber k) c) |
| 36 | let qk : S →ₐ[k] A := { q with commutes' := hcomm } |
| 37 | have hqk : Function.Surjective qk := hq |
| 38 | have hkerq : RingHom.ker qk = J := hker |
| 39 | have : Algebra.FormallySmooth k ((DualNumber k) ⧸ I) := |
| 40 | Algebra.FormallySmooth.of_equiv (dualScalarQuotientEquiv k).symm |
| 41 | have : Algebra.FormallySmooth k (S ⧸ J) := MappedQuotient.formallySmooth_mapped_quotient (k := k) (S := S) I |
| 42 | let e : (S ⧸ J) ≃ₐ[k] A := |
| 43 | (Ideal.quotientEquivAlgOfEq k hkerq.symm).trans (Ideal.quotientKerAlgEquivOfSurjective hqk) |
| 44 | exact Algebra.FormallySmooth.of_equiv e |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.DualSpecialFiber |