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.QuotientPoints |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.PresentedComplexPoints |
| 3 | |
| 4 | /-! # Presented Algebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.PresentedAlgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tangent-vector description transfers through an actual native |
| 11 | algebra presentation to dual-number points of that algebra. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.Foundations.Scheme.PresentedComplexPoints |
| 14 | |
| 15 | variable {S T : Type*} [CommRing S] [Algebra ℂ S] [CommRing T] [Algebra ℂ T] |
| 16 | |
| 17 | def DualAlgebraPoints (x : S →ₐ[ℂ] ℂ) := |
| 18 | {f : S →ₐ[ℂ] DualNumber ℂ // (TrivSqZeroExt.fstHom ℂ ℂ ℂ).comp f = x} |
| 19 | |
| 20 | def dualAlgebraPointsEquiv (e : T ≃ₐ[ℂ] S) (x : S →ₐ[ℂ] ℂ) : |
| 21 | DualAlgebraPoints (x.comp e.toAlgHom) ≃ DualAlgebraPoints x where |
| 22 | toFun f := ⟨f.val.comp e.symm.toAlgHom, by |
| 23 | apply AlgHom.ext |
| 24 | intro s |
| 25 | exact (DFunLike.congr_fun f.property (e.symm s)).trans (congrArg x (e.apply_symm_apply s))⟩ |
| 26 | invFun f := ⟨f.val.comp e.toAlgHom, by |
| 27 | apply AlgHom.ext |
| 28 | intro t |
| 29 | exact DFunLike.congr_fun f.property (e t)⟩ |
| 30 | left_inv f := by |
| 31 | apply Subtype.ext |
| 32 | apply AlgHom.ext |
| 33 | intro t |
| 34 | exact congrArg f.val (e.symm_apply_apply t) |
| 35 | right_inv f := by |
| 36 | apply Subtype.ext |
| 37 | apply AlgHom.ext |
| 38 | intro s |
| 39 | exact congrArg f.val (e.apply_symm_apply s) |
| 40 | |
| 41 | variable {ι σ : Type*} [Fintype ι] |
| 42 | |
| 43 | omit [Fintype ι] in |
| 44 | theorem presentedDualPoint_coordinates (P : Algebra.Presentation ℂ S ι σ) |
| 45 | (x : S →ₐ[ℂ] ℂ) : |
| 46 | QuotientPoints.quotientPointCoordinates P.ker (x.comp (P.quotientEquiv.restrictScalars ℂ).toAlgHom) = |
| 47 | fun i => x (P.val i) := by |
| 48 | funext i |
| 49 | change x (P.quotientEquiv (Ideal.Quotient.mk P.ker (MvPolynomial.X i))) = x (P.val i) |
| 50 | rw [P.quotientEquiv_mk, P.algebraMap_apply, MvPolynomial.aeval_X] |
| 51 | |
| 52 | def presentedDualPointsEquiv (P : Algebra.Presentation ℂ S ι σ) (x : S →ₐ[ℂ] ℂ) : |
| 53 | QuotientPoints.polynomialRelationTangent P.ker (fun i => x (P.val i)) ≃ DualAlgebraPoints x := |
| 54 | (Set.equivOfEq (congrArg (fun z => (QuotientPoints.polynomialRelationTangent P.ker z : Set (ι → ℂ))) |
| 55 | (presentedDualPoint_coordinates P x).symm)).trans |
| 56 | ((QuotientPoints.dualQuotientPointsEquiv P.ker (x.comp (P.quotientEquiv.restrictScalars ℂ).toAlgHom)).trans |
| 57 | (dualAlgebraPointsEquiv (P.quotientEquiv.restrictScalars ℂ) x)) |
| 58 | |
| 59 | theorem presentedDualPointsEquiv_inverse (P : Algebra.Presentation ℂ S ι σ) |
| 60 | (x : S →ₐ[ℂ] ℂ) (f : DualAlgebraPoints x) (i : ι) : |
| 61 | ((presentedDualPointsEquiv P x).symm f).val i = (f.val (P.val i)).snd := by |
| 62 | change (f.val (P.quotientEquiv (Ideal.Quotient.mk P.ker (MvPolynomial.X i)))).snd = _ |
| 63 | rw [P.quotientEquiv_mk, P.algebraMap_apply, MvPolynomial.aeval_X] |
| 64 | |
| 65 | theorem presentedDualPointsEquiv_apply (P : Algebra.Presentation ℂ S ι σ) |
| 66 | (x : S →ₐ[ℂ] ℂ) (v : QuotientPoints.polynomialRelationTangent P.ker (fun i => x (P.val i))) (i : ι) : |
| 67 | ((presentedDualPointsEquiv P x v).val (P.val i)).snd = v.val i := |
| 68 | (presentedDualPointsEquiv_inverse P x (presentedDualPointsEquiv P x v) i).symm.trans |
| 69 | (congrArg (fun w : QuotientPoints.polynomialRelationTangent P.ker (fun j => x (P.val j)) => w.val i) |
| 70 | ((presentedDualPointsEquiv P x).symm_apply_apply v)) |
| 71 | |
| 72 | theorem presentedDualPointsEquiv_polynomial (P : Algebra.Presentation ℂ S ι σ) |
| 73 | (x : S →ₐ[ℂ] ℂ) (v : QuotientPoints.polynomialRelationTangent P.ker (fun i => x (P.val i))) : |
| 74 | PolynomialDifferential.dualPolynomialEvaluation (fun i => x (P.val i)) v.val = |
| 75 | (presentedDualPointsEquiv P x v).val.comp (MvPolynomial.aeval P.val) := by |
| 76 | apply MvPolynomial.algHom_ext |
| 77 | intro i |
| 78 | rw [PolynomialDifferential.dualPolynomialEvaluation_X, AlgHom.comp_apply, MvPolynomial.aeval_X] |
| 79 | apply TrivSqZeroExt.ext |
| 80 | · exact (DFunLike.congr_fun (presentedDualPointsEquiv P x v).property (P.val i)).symm |
| 81 | · exact (presentedDualPointsEquiv_apply P x v i).symm |
| 82 | |
| 83 | theorem presentedDualPointsEquiv_eval (P : Algebra.Presentation ℂ S ι σ) |
| 84 | (x : S →ₐ[ℂ] ℂ) (v : QuotientPoints.polynomialRelationTangent P.ker (fun i => x (P.val i))) (a : S) : |
| 85 | ((presentedDualPointsEquiv P x v).val a).snd = |
| 86 | fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y (P.σ a)) (fun i => x (P.val i)) v.val := by |
| 87 | have h := DFunLike.congr_fun (presentedDualPointsEquiv_polynomial P x v) (P.σ a) |
| 88 | change PolynomialDifferential.dualPolynomialEvaluation (fun i => x (P.val i)) v.val (P.σ a) = |
| 89 | (presentedDualPointsEquiv P x v).val (MvPolynomial.aeval P.val (P.σ a)) at h |
| 90 | rw [P.aeval_val_σ] at h |
| 91 | exact (congrArg TrivSqZeroExt.snd h).symm.trans (PolynomialDifferential.dualPolynomialEvaluation_snd _ _ _) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Dual.PresentedAlgebra |