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.RepresentationTheory.Theta.Geometric.DifferentialNaturality |
| 2 | import Mathlib.RingTheory.DualNumber |
| 3 | |
| 4 | /-! # Period Jets -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJets |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual first-order affine period tests: value plus directional derivative. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open OAI.RepresentationTheory.Theta.Geometric.DifferentialNaturality Filter |
| 14 | open scoped _root_.Topology |
| 15 | |
| 16 | /-- The dual-number point records the actual value and complex directional derivative. -/ |
| 17 | def firstOrderEvaluation (x u : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) : RepresentationTheory.Theta.Geometric.DifferentialNaturality.functionsAt x →ₐ[ℂ] DualNumber ℂ where |
| 18 | toFun f := (f.val x, fderiv ℂ f.val x u) |
| 19 | map_zero' := by |
| 20 | apply TrivSqZeroExt.ext |
| 21 | · rfl |
| 22 | change fderiv ℂ (fun _ : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates => (0 : ℂ)) x u = 0 |
| 23 | simp only [fderiv_const_apply, zero_apply] |
| 24 | map_one' := by |
| 25 | apply TrivSqZeroExt.ext |
| 26 | · rfl |
| 27 | change fderiv ℂ (fun _ : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates => (1 : ℂ)) x u = 0 |
| 28 | simp only [fderiv_const_apply, zero_apply] |
| 29 | map_add' f g := by |
| 30 | apply TrivSqZeroExt.ext |
| 31 | · rfl |
| 32 | change fderiv ℂ (fun y => f.val y + g.val y) x u = |
| 33 | fderiv ℂ f.val x u + fderiv ℂ g.val x u |
| 34 | exact congrArg (fun L : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates →L[ℂ] ℂ => L u) (fderiv_add f.property g.property) |
| 35 | map_mul' f g := by |
| 36 | apply TrivSqZeroExt.ext |
| 37 | · rfl |
| 38 | change fderiv ℂ (fun y => f.val y * g.val y) x u = |
| 39 | f.val x * fderiv ℂ g.val x u + fderiv ℂ f.val x u * g.val x |
| 40 | have h := congrArg (fun L : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates →L[ℂ] ℂ => L u) (fderiv_mul f.property g.property) |
| 41 | exact h.trans (by simp only [add_apply, smul_apply, smul_eq_mul]; ring) |
| 42 | commutes' c := by |
| 43 | apply TrivSqZeroExt.ext |
| 44 | · rfl |
| 45 | change fderiv ℂ (fun _ : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates => c) x u = 0 |
| 46 | simp only [fderiv_const_apply, zero_apply] |
| 47 | |
| 48 | theorem firstOrderEvaluation_value (x u : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) : |
| 49 | (TrivSqZeroExt.fstHom ℂ ℂ ℂ).comp (firstOrderEvaluation x u) = RepresentationTheory.Theta.Geometric.DifferentialNaturality.evaluateAt x := by |
| 50 | ext f |
| 51 | rfl |
| 52 | |
| 53 | theorem firstOrderEvaluation_derivative (x u : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (f : RepresentationTheory.Theta.Geometric.DifferentialNaturality.functionsAt x) : |
| 54 | (firstOrderEvaluation x u f).snd = RepresentationTheory.Theta.Geometric.DifferentialNaturality.periodDifferential x (KaehlerDifferential.D ℂ (RepresentationTheory.Theta.Geometric.DifferentialNaturality.functionsAt x) f) u := by |
| 55 | rw [RepresentationTheory.Theta.Geometric.DifferentialNaturality.periodDifferential_D] |
| 56 | rfl |
| 57 | |
| 58 | theorem firstOrderEvaluation_germ (x u : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates) (f g : RepresentationTheory.Theta.Geometric.DifferentialNaturality.functionsAt x) |
| 59 | (h : f.val =ᶠ[𝓝 x] g.val) : |
| 60 | firstOrderEvaluation x u f = firstOrderEvaluation x u g := by |
| 61 | apply TrivSqZeroExt.ext |
| 62 | · exact h.eq_of_nhds |
| 63 | exact congrArg (fun L : RepresentationTheory.Theta.Geometric.LinearTheta.BallCoordinates →L[ℂ] ℂ => L u) h.fderiv_eq |
| 64 | |
| 65 | /-- Every prime of the dual numbers contains the infinitesimal direction. -/ |
| 66 | theorem dualNumber_prime_contains_epsilon (p : PrimeSpectrum (DualNumber ℂ)) : |
| 67 | (DualNumber.eps : DualNumber ℂ) ∈ p.asIdeal := by |
| 68 | have h : (DualNumber.eps : DualNumber ℂ) ^ 2 ∈ p.asIdeal := by |
| 69 | rw [DualNumber.eps_pow_two] |
| 70 | exact p.asIdeal.zero_mem |
| 71 | exact p.isPrime.mem_of_pow_mem 2 h |
| 72 | |
| 73 | theorem dualNumber_prime_eq_epsilon (p : PrimeSpectrum (DualNumber ℂ)) : |
| 74 | p.asIdeal = Ideal.span {(DualNumber.eps : DualNumber ℂ)} := by |
| 75 | symm |
| 76 | apply (DualNumber.isMaximal_span_singleton_eps (K := ℂ)).eq_of_le p.isPrime.ne_top |
| 77 | exact Ideal.span_le.mpr (by |
| 78 | intro a ha |
| 79 | rcases Set.mem_singleton_iff.mp ha with rfl |
| 80 | exact dualNumber_prime_contains_epsilon p) |
| 81 | |
| 82 | instance dualNumberSpectrum_subsingleton : Subsingleton (PrimeSpectrum (DualNumber ℂ)) := by |
| 83 | refine ⟨fun p q => ?_⟩ |
| 84 | apply PrimeSpectrum.ext |
| 85 | exact (dualNumber_prime_eq_epsilon p).trans (dualNumber_prime_eq_epsilon q).symm |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PeriodJets |