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.Dual.AlgebraLiftCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.CoefficientLiftNaturality |
| 3 | import Mathlib.RingTheory.Smooth.Basic |
| 4 | |
| 5 | /-! # Coefficient Derivation Lift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.CoefficientDerivationLift |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Formal smoothness lifts the actual coefficient-valued dual-number |
| 12 | maps. Consequently, restriction of coefficient-valued derivations from a |
| 13 | smooth affine family to its base is surjective. -/ |
| 14 | |
| 15 | variable (k R S C : Type) [CommRing k] [CommRing R] [CommRing S] [CommRing C] |
| 16 | [Algebra k R] [Algebra k S] [Algebra k C] [Algebra R S] [Algebra R C] [Algebra S C] |
| 17 | [IsScalarTower k R S] [IsScalarTower k R C] [IsScalarTower k S C] [IsScalarTower R S C] |
| 18 | [Algebra.FormallySmooth R S] |
| 19 | |
| 20 | theorem exists_smooth_dualCoefficient_lift (q : R →ₐ[k] DualNumber C) |
| 21 | (hq : (TrivSqZeroExt.fstHom k C C).comp q = IsScalarTower.toAlgHom k R C) : |
| 22 | ∃ f : S →ₐ[k] DualNumber C, |
| 23 | (TrivSqZeroExt.fstHom k C C).comp f = IsScalarTower.toAlgHom k S C ∧ |
| 24 | f.comp (IsScalarTower.toAlgHom k R S) = q := by |
| 25 | let twist : Algebra R (DualNumber C) := q.toRingHom.toAlgebra |
| 26 | let : Module R (DualNumber C) := twist.toModule |
| 27 | let : SMul R (DualNumber C) := twist.toSMul |
| 28 | let : IsScalarTower k R (DualNumber C) := |
| 29 | IsScalarTower.of_algebraMap_eq' (R := k) (S := R) (A := DualNumber C) (by |
| 30 | apply RingHom.ext |
| 31 | intro a |
| 32 | exact (q.commutes a).symm) |
| 33 | let red : DualNumber C →ₐ[R] C := |
| 34 | { (TrivSqZeroExt.fstHom k C C).toRingHom with |
| 35 | commutes' := fun r => AlgHom.congr_fun hq r } |
| 36 | have hr : Function.Surjective red := fun c => ⟨TrivSqZeroExt.inl c, rfl⟩ |
| 37 | have hn : IsNilpotent (RingHom.ker red.toRingHom) := |
| 38 | ⟨2, Dual.AlgebraLiftCoordinates.DualCoefficientLifts.ideal_square C⟩ |
| 39 | let u := Algebra.FormallySmooth.liftOfSurjective (IsScalarTower.toAlgHom R S C) red hr hn |
| 40 | refine ⟨u.restrictScalars k, ?_, ?_⟩ |
| 41 | · apply AlgHom.ext |
| 42 | intro s |
| 43 | exact Algebra.FormallySmooth.liftOfSurjective_apply (IsScalarTower.toAlgHom R S C) red hr hn s |
| 44 | · apply AlgHom.ext |
| 45 | intro r |
| 46 | exact u.commutes r |
| 47 | |
| 48 | theorem smooth_coefficientDerivationPrecomposition_surjective : |
| 49 | Function.Surjective (Dual.CoefficientLiftNaturality.coefficientDerivationPrecomposition k R S C) := by |
| 50 | intro d |
| 51 | let q := (Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).symm d |
| 52 | obtain ⟨f, hf, hfr⟩ := exists_smooth_dualCoefficient_lift k R S C q.val q.property |
| 53 | refine ⟨Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k S C ⟨f, hf⟩, ?_⟩ |
| 54 | apply Derivation.ext |
| 55 | intro r |
| 56 | change Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k S C ⟨f, hf⟩ (algebraMap R S r) = d r |
| 57 | rw [Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply] |
| 58 | have hd : Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C q = d := |
| 59 | (Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv k R C).apply_symm_apply d |
| 60 | rw [← hd, Dual.AlgebraLiftCoordinates.dualAlgebraLiftDerivationEquiv_apply] |
| 61 | exact congrArg TrivSqZeroExt.snd (AlgHom.congr_fun hfr r) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Smooth.CoefficientDerivationLift |