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.SquareZeroAlgebraComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.TensorReductionEquiv |
| 3 | |
| 4 | /-! # Dual Product Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.DualProductComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth affine deformation over dual numbers is an actual product |
| 11 | with its identified smooth special fiber. The isomorphism retains the |
| 12 | original reduction map and the full dual-number base action. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | attribute [local irreducible] Dual.TensorReductionEquiv.dualScalarAlgebra Dual.TensorReductionEquiv.dualTensorReductionBaseEquiv |
| 17 | Dual.TensorReductionEquiv.dualTensorReductionQuotientEquiv Dual.TensorReductionEquiv.dualTensorCanonicalReductionEquiv |
| 18 | |
| 19 | variable {k A S : Type*} [CommRing k] [CommRing A] [CommRing S] |
| 20 | [Algebra k A] [Algebra (DualNumber k) S] |
| 21 | [Algebra.FormallySmooth k A] [Algebra.FormallySmooth (DualNumber k) S] |
| 22 | |
| 23 | local instance : CommRing (DualNumber k ⊗[k] A) := |
| 24 | Algebra.TensorProduct.instCommRing (R := k) (A := DualNumber k) (B := A) |
| 25 | |
| 26 | theorem exists_smooth_dual_product_comparison (q : S →+* A) |
| 27 | (hq : Function.Surjective q) |
| 28 | (hker : RingHom.ker q = (Dual.TensorReduction.dualScalarReductionIdeal k).map (algebraMap (DualNumber k) S)) |
| 29 | (hbase : ∀ c : DualNumber k, q (algebraMap (DualNumber k) S c) = algebraMap k A c.fst) : |
| 30 | ∃ f : S ≃ₐ[DualNumber k] (DualNumber k ⊗[k] A), |
| 31 | ∀ s, Dual.TensorReduction.dualTensorReduction k A (f s) = q s := by |
| 32 | let := Dual.TensorReductionEquiv.dualScalarAlgebra k A |
| 33 | let qR : S →ₐ[DualNumber k] A := |
| 34 | { q with commutes' := fun c => (hbase c).trans (Dual.TensorReductionEquiv.dualScalarAlgebra_map k A c).symm } |
| 35 | let I := Dual.TensorReduction.dualScalarReductionIdeal k |
| 36 | let J := I.map (algebraMap (DualNumber k) S) |
| 37 | let K : Ideal (DualNumber k ⊗[k] A) := |
| 38 | I.map (algebraMap (DualNumber k) (DualNumber k ⊗[k] A)) |
| 39 | have hqR : Function.Surjective qR := hq |
| 40 | have hkerR : RingHom.ker qR = J := hker |
| 41 | let eS : (S ⧸ J) ≃ₐ[DualNumber k] A := |
| 42 | (Ideal.quotientEquivAlgOfEq (DualNumber k) hkerR.symm).trans |
| 43 | (Ideal.quotientKerAlgEquivOfSurjective hqR) |
| 44 | let eD : ((DualNumber k ⊗[k] A) ⧸ K) ≃ₐ[DualNumber k] A := |
| 45 | Dual.TensorReductionEquiv.dualTensorCanonicalReductionEquiv k A |
| 46 | have : Algebra.FormallySmooth (DualNumber k) (DualNumber k ⊗[k] A) := inferInstance |
| 47 | obtain ⟨f, hf⟩ := SquareZeroAlgebraComparison.exists_smooth_algebraEquiv_lift_squareZero |
| 48 | (R := DualNumber k) (S := S) (T := DualNumber k ⊗[k] A) I |
| 49 | (Dual.TensorReduction.dualScalarReductionIdeal_square k) (eS.trans eD.symm) |
| 50 | refine ⟨f, ?_⟩ |
| 51 | intro s |
| 52 | have he := AlgHom.congr_fun hf s |
| 53 | change Ideal.Quotient.mk K (f s) = eD.symm (eS (Ideal.Quotient.mk J s)) at he |
| 54 | calc |
| 55 | Dual.TensorReduction.dualTensorReduction k A (f s) = eD (Ideal.Quotient.mk K (f s)) := |
| 56 | (Dual.TensorReductionEquiv.dualTensorCanonicalReductionEquiv_mk k A (f s)).symm |
| 57 | _ = eS (Ideal.Quotient.mk J s) := |
| 58 | (congrArg eD he).trans (eD.apply_symm_apply _) |
| 59 | _ = q s := by |
| 60 | dsimp only [eS] |
| 61 | rw [AlgEquiv.trans_apply, Ideal.quotientEquivAlgOfEq_mk, |
| 62 | Ideal.quotientKerAlgEquivOfSurjective_mk] |
| 63 | rfl |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.DualProductComparison |