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.Regular.IntrinsicAffineTangent |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineMaps |
| 3 | |
| 4 | /-! # Affine Dual Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.AffineDualPoints |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native affine tangent vectors are actual dual-number points, with |
| 11 | scalar compatibility and functoriality for genuine algebra maps. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.ComplexPoints.Analytic.SmoothAffineMaps |
| 14 | open scoped _root_.Manifold ContDiff |
| 15 | |
| 16 | variable {S : Type*} [CommRing S] [Algebra ℂ S] [IsDomain S] [Algebra.Smooth ℂ S] |
| 17 | local notation "ModelS" => (Fin (OAI.AlgebraicGeometry.Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ S) → ℂ) |
| 18 | |
| 19 | def nativeAffineDualPointEquiv (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) : |
| 20 | TangentSpace 𝓘(ℂ, ModelS) x ≃ Dual.PresentedAlgebra.DualAlgebraPoints x := |
| 21 | (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations x).toEquiv.trans (PointDerivations.dualPointDerivationsEquiv x).symm |
| 22 | |
| 23 | theorem nativeAffineDualPoint_fst (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 24 | (v : TangentSpace 𝓘(ℂ, ModelS) x) (a : S) : |
| 25 | ((nativeAffineDualPointEquiv x v).val a).fst = x a := |
| 26 | DFunLike.congr_fun (nativeAffineDualPointEquiv x v).property a |
| 27 | |
| 28 | theorem nativeAffineDualPoint_snd (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 29 | (v : TangentSpace 𝓘(ℂ, ModelS) x) (a : S) : |
| 30 | ((nativeAffineDualPointEquiv x v).val a).snd = |
| 31 | mfderiv 𝓘(ℂ, ModelS) 𝓘(ℂ, ℂ) (fun y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S => y a) x v := |
| 32 | Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations_apply x v a |
| 33 | |
| 34 | theorem nativeAffineDualPoint_scale (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 35 | (v : TangentSpace 𝓘(ℂ, ModelS) x) (z : ℂ) : |
| 36 | (LieRanks.dualNumberScale ℂ z).comp (nativeAffineDualPointEquiv x v).val = |
| 37 | (nativeAffineDualPointEquiv x (z • v)).val := by |
| 38 | apply AlgHom.ext |
| 39 | intro a |
| 40 | apply TrivSqZeroExt.ext |
| 41 | · exact (TrivSqZeroExt.fst_map (z • (LinearMap.id : ℂ →ₗ[ℂ] ℂ)) |
| 42 | ((nativeAffineDualPointEquiv x v).val a)).trans |
| 43 | ((nativeAffineDualPoint_fst x v a).trans (nativeAffineDualPoint_fst x (z • v) a).symm) |
| 44 | · have h := TrivSqZeroExt.snd_map (z • (LinearMap.id : ℂ →ₗ[ℂ] ℂ)) |
| 45 | ((nativeAffineDualPointEquiv x v).val a) |
| 46 | change ((LieRanks.dualNumberScale ℂ z) ((nativeAffineDualPointEquiv x v).val a)).snd = _ |
| 47 | refine h.trans ?_ |
| 48 | change z • (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations x v).val a = |
| 49 | (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations x (z • v)).val a |
| 50 | exact (congrArg (fun D : PointDerivations.pointDerivations x => D.val a) |
| 51 | ((Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations x).map_smul z v)).symm |
| 52 | |
| 53 | variable {T : Type*} [CommRing T] [Algebra ℂ T] [IsDomain T] [Algebra.Smooth ℂ T] |
| 54 | local notation "ModelT" => (Fin (OAI.AlgebraicGeometry.Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ T) → ℂ) |
| 55 | |
| 56 | theorem nativeAffineTangentDerivations_natural (h : S →ₐ[ℂ] T) |
| 57 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints T) (v : TangentSpace 𝓘(ℂ, ModelT) x) (a : S) : |
| 58 | (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations (x.comp h) |
| 59 | (mfderiv 𝓘(ℂ, ModelT) 𝓘(ℂ, ModelS) (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x v)).val a = |
| 60 | (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations x v).val (h a) := by |
| 61 | have hf := (ComplexPoints.Analytic.SmoothAffineMaps.contMDiff_smoothDomain_comap h 1).mdifferentiableAt (x := x) one_ne_zero |
| 62 | have hg := (Regular.IntrinsicAffineTangent.contMDiff_affineEvaluation a 1).mdifferentiableAt (x := x.comp h) one_ne_zero |
| 63 | have hc := mfderiv_comp_apply (I := 𝓘(ℂ, ModelT)) (I' := 𝓘(ℂ, ModelS)) |
| 64 | (I'' := 𝓘(ℂ, ℂ)) x hg hf v |
| 65 | exact (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations_apply (x.comp h) _ a).trans |
| 66 | (hc.symm.trans (Regular.IntrinsicAffineTangent.nativeAffineTangentDerivations_apply x v (h a)).symm) |
| 67 | |
| 68 | theorem nativeAffineDualPoint_natural (h : S →ₐ[ℂ] T) |
| 69 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints T) (v : TangentSpace 𝓘(ℂ, ModelT) x) : |
| 70 | (nativeAffineDualPointEquiv (x.comp h) |
| 71 | (mfderiv 𝓘(ℂ, ModelT) 𝓘(ℂ, ModelS) (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap h) x v)).val = |
| 72 | (nativeAffineDualPointEquiv x v).val.comp h := by |
| 73 | apply AlgHom.ext |
| 74 | intro a |
| 75 | apply TrivSqZeroExt.ext |
| 76 | · exact (nativeAffineDualPoint_fst (x.comp h) _ a).trans (nativeAffineDualPoint_fst x v (h a)).symm |
| 77 | · exact nativeAffineTangentDerivations_natural h x v a |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.AffineDualPoints |