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.PresentedAlgebra |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.StandardSmoothJacobian |
| 3 | |
| 4 | /-! # Presented Point Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PresentedPointDifferential |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Differentiating actual regular functions in presentation coordinates |
| 11 | constructs their genuine dual-number values. -/ |
| 12 | |
| 13 | variable {S ι σ U : Type*} [CommRing S] [Algebra ℂ S] [Fintype ι] |
| 14 | [NormedAddCommGroup U] [NormedSpace ℂ U] |
| 15 | |
| 16 | omit [Fintype ι] in |
| 17 | theorem presentedPoint_polynomial_eval (P : Algebra.Presentation ℂ S ι σ) |
| 18 | (x : S →ₐ[ℂ] ℂ) (p : MvPolynomial ι ℂ) : |
| 19 | MvPolynomial.eval (fun i => x (P.val i)) p = x (MvPolynomial.aeval P.val p) := by |
| 20 | have hc : (Foundations.Scheme.PresentedComplexPoints.presentedComplexPointsEquiv P x).val = fun i => x (P.val i) := |
| 21 | funext (Foundations.Scheme.PresentedComplexPoints.presentedComplexPointsEquiv_apply P x) |
| 22 | exact (congrArg (fun z => MvPolynomial.eval z p) hc).symm.trans (Foundations.Scheme.PresentedComplexPoints.presentedComplexPointsEquiv_eval P x p) |
| 23 | |
| 24 | def presentedPointCoordinates (P : Algebra.Presentation ℂ S ι σ) |
| 25 | (φ : U → Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) : U → (ι → ℂ) := fun u i => φ u (P.val i) |
| 26 | |
| 27 | omit [Fintype ι] in |
| 28 | theorem presentedPointCoordinates_differentiable (P : Algebra.Presentation ℂ S ι σ) |
| 29 | (φ : U → Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (u : U) |
| 30 | (hφ : ∀ a : S, DifferentiableAt ℂ (fun w => φ w a) u) : |
| 31 | DifferentiableAt ℂ (presentedPointCoordinates P φ) u := |
| 32 | differentiableAt_pi.mpr (fun i => hφ (P.val i)) |
| 33 | |
| 34 | theorem presentedPoint_polynomial_derivative (P : Algebra.Presentation ℂ S ι σ) |
| 35 | (φ : U → Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (u v : U) |
| 36 | (hφ : ∀ a : S, DifferentiableAt ℂ (fun w => φ w a) u) (p : MvPolynomial ι ℂ) : |
| 37 | fderiv ℂ (fun w => φ w (MvPolynomial.aeval P.val p)) u v = |
| 38 | fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y p) (presentedPointCoordinates P φ u) |
| 39 | (fderiv ℂ (presentedPointCoordinates P φ) u v) := by |
| 40 | have hG := presentedPointCoordinates_differentiable P φ u hφ |
| 41 | have hd := (ComplexPoints.Analytic.PolynomialDerivative.differentiable_polynomial_eval p (presentedPointCoordinates P φ u)).hasFDerivAt.comp |
| 42 | u hG.hasFDerivAt |
| 43 | have hd' : HasFDerivAt (fun w => φ w (MvPolynomial.aeval P.val p)) |
| 44 | ((fderiv ℂ (fun y : ι → ℂ => MvPolynomial.eval y p) (presentedPointCoordinates P φ u)).comp |
| 45 | (fderiv ℂ (presentedPointCoordinates P φ) u)) u := by |
| 46 | apply hd.congr_of_eventuallyEq |
| 47 | exact Filter.Eventually.of_forall (fun w => (presentedPoint_polynomial_eval P (φ w) p).symm) |
| 48 | exact DFunLike.congr_fun hd'.fderiv v |
| 49 | |
| 50 | theorem presentedPoint_derivative_mem (P : Algebra.Presentation ℂ S ι σ) |
| 51 | (φ : U → Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (u v : U) |
| 52 | (hφ : ∀ a : S, DifferentiableAt ℂ (fun w => φ w a) u) : |
| 53 | fderiv ℂ (presentedPointCoordinates P φ) u v ∈ |
| 54 | Dual.QuotientPoints.polynomialRelationTangent P.ker (fun i => φ u (P.val i)) := by |
| 55 | apply (Dual.QuotientPoints.mem_polynomialRelationTangent _ _ _).mpr |
| 56 | intro p hp |
| 57 | have he : MvPolynomial.aeval P.val p = 0 := by |
| 58 | rw [P.ker_eq_ker_aeval_val] at hp |
| 59 | exact hp |
| 60 | have h := presentedPoint_polynomial_derivative P φ u v hφ p |
| 61 | have hz : (fun w => φ w (MvPolynomial.aeval P.val p)) = fun _ : U => (0 : ℂ) := by |
| 62 | funext w |
| 63 | rw [he, map_zero] |
| 64 | rw [hz] at h |
| 65 | exact h.symm.trans (DFunLike.congr_fun (hasFDerivAt_const (0 : ℂ) u).fderiv v) |
| 66 | |
| 67 | def presentedDifferentialPoint (P : Algebra.Presentation ℂ S ι σ) |
| 68 | (φ : U → Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (u v : U) |
| 69 | (hφ : ∀ a : S, DifferentiableAt ℂ (fun w => φ w a) u) : Dual.PresentedAlgebra.DualAlgebraPoints (φ u) := |
| 70 | Dual.PresentedAlgebra.presentedDualPointsEquiv P (φ u) |
| 71 | ⟨fderiv ℂ (presentedPointCoordinates P φ) u v, presentedPoint_derivative_mem P φ u v hφ⟩ |
| 72 | |
| 73 | theorem presentedDifferentialPoint_snd (P : Algebra.Presentation ℂ S ι σ) |
| 74 | (φ : U → Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (u v : U) |
| 75 | (hφ : ∀ a : S, DifferentiableAt ℂ (fun w => φ w a) u) (a : S) : |
| 76 | ((presentedDifferentialPoint P φ u v hφ).val a).snd = fderiv ℂ (fun w => φ w a) u v := by |
| 77 | have h := Dual.PresentedAlgebra.presentedDualPointsEquiv_eval P (φ u) |
| 78 | ⟨fderiv ℂ (presentedPointCoordinates P φ) u v, presentedPoint_derivative_mem P φ u v hφ⟩ a |
| 79 | have hd := presentedPoint_polynomial_derivative P φ u v hφ (P.σ a) |
| 80 | rw [P.aeval_val_σ] at hd |
| 81 | exact h.trans hd.symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PresentedPointDifferential |