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.ComplexMultiplication.CM.PeriodSpace |
| 2 | import Mathlib.Analysis.Calculus.MeanValue |
| 3 | |
| 4 | /-! # Primitive Eq -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.PrimitiveEq.Constructions.Primitive |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # RiemannProjectivity: separating a primitive into its periods and a periodic function |
| 12 | |
| 13 | A primitive on the vector-space cover of a torus has a lattice-periodic |
| 14 | derivative. Its lattice increments form an additive character. Extending that |
| 15 | character along a lattice basis gives a real-linear covector; subtracting the |
| 16 | covector leaves a lattice-periodic primitive. These are the descent steps for |
| 17 | the first de Rham cohomology comparison, proved without a comparison axiom. |
| 18 | -/ |
| 19 | |
| 20 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | |
| 22 | /-- A periodic derivative makes every lattice increment independent of |
| 23 | the starting point. -/ |
| 24 | theorem increment_eq (F : V → ℂ) (hF : Differentiable ℝ F) |
| 25 | (t : V) (hperiod : ∀ z, fderiv ℝ F (z + t) = fderiv ℝ F z) (z : V) : |
| 26 | F (z + t) - F z = F t - F 0 := by |
| 27 | have hd : ∀ y, HasFDerivAt (𝕜 := ℝ) (fun w => F (w + t) - F w) 0 y := by |
| 28 | intro y |
| 29 | convert! ((hF (y + t)).hasFDerivAt.comp y |
| 30 | ((hasFDerivAt_id y).add_const t)).sub (hF y).hasFDerivAt using 1 |
| 31 | simp [hperiod y] |
| 32 | have hconst := is_const_of_fderiv_eq_zero |
| 33 | (fun y => (hd y).differentiableAt) (fun y => (hd y).fderiv) z 0 |
| 34 | simpa using hconst |
| 35 | |
| 36 | variable (Λ : Submodule ℤ V) (F : V → ℂ) (hF : Differentiable ℝ F) |
| 37 | (hperiod : ∀ z t, t ∈ Λ → fderiv ℝ F (z + t) = fderiv ℝ F z) |
| 38 | |
| 39 | /-- The increment of a primitive is an actual additive character of the lattice. -/ |
| 40 | def latticeCharacter : Λ →+ ℂ where |
| 41 | toFun t := F t - F 0 |
| 42 | map_zero' := by simp |
| 43 | map_add' s t := by |
| 44 | have h := increment_eq F hF t (fun z => hperiod z t t.property) s |
| 45 | change F ((s : V) + (t : V)) - F (s : V) = F (t : V) - F 0 at h |
| 46 | change F ((s : V) + (t : V)) - F 0 = (F (s : V) - F 0) + (F (t : V) - F 0) |
| 47 | linear_combination h |
| 48 | |
| 49 | theorem latticeCharacter_increment (z : V) (t : Λ) : |
| 50 | F (z + t) - F z = latticeCharacter Λ F hF hperiod t := |
| 51 | increment_eq F hF t (fun z => hperiod z t t.property) z |
| 52 | |
| 53 | variable [FiniteDimensional ℝ V] [DiscreteTopology Λ] [IsZLattice ℝ Λ] |
| 54 | |
| 55 | /-- Every lattice character extends uniquely to a continuous real-linear |
| 56 | covector on its ambient real vector space. -/ |
| 57 | theorem exists_covector_extending_character (χ : Λ →+ ℂ) : |
| 58 | ∃! l : V →L[ℝ] ℂ, ∀ t : Λ, l t = χ t := by |
| 59 | let b := Module.Free.chooseBasis ℤ Λ |
| 60 | let bR := b.ofZLatticeBasis ℝ Λ |
| 61 | let l : V →L[ℝ] ℂ := (bR.constr ℝ (fun i => χ (b i))).toContinuousLinearMap |
| 62 | have hl : (l.toLinearMap.restrictScalars ℤ).comp Λ.subtype = χ.toIntLinearMap := by |
| 63 | apply b.ext |
| 64 | intro i |
| 65 | change l (b i : V) = χ (b i) |
| 66 | rw [← b.ofZLatticeBasis_apply ℝ Λ i] |
| 67 | exact bR.constr_basis ℝ (fun i => χ (b i)) i |
| 68 | refine ⟨l, fun t => LinearMap.congr_fun hl t, ?_⟩ |
| 69 | intro m hm |
| 70 | apply ContinuousLinearMap.coe_injective |
| 71 | apply bR.ext |
| 72 | intro i |
| 73 | change m (bR i) = l (bR i) |
| 74 | rw [b.ofZLatticeBasis_apply ℝ Λ, hm] |
| 75 | exact (LinearMap.congr_fun hl (b i)).symm |
| 76 | |
| 77 | include hF hperiod in |
| 78 | /-- Subtracting the unique real-linear period covector leaves a function |
| 79 | that descends through the lattice quotient. -/ |
| 80 | theorem exists_periodic_remainder : |
| 81 | ∃ l : V →L[ℝ] ℂ, |
| 82 | (∀ z t, t ∈ Λ → F (z + t) - F z = l t) ∧ |
| 83 | ∀ z t, t ∈ Λ → F (z + t) - l (z + t) = F z - l z := by |
| 84 | obtain ⟨l, hl, _⟩ := exists_covector_extending_character Λ (latticeCharacter Λ F hF hperiod) |
| 85 | have hinc (z t : V) (ht : t ∈ Λ) : F (z + t) - F z = l t := by |
| 86 | rw [hl ⟨t, ht⟩] |
| 87 | exact latticeCharacter_increment Λ F hF hperiod z ⟨t, ht⟩ |
| 88 | refine ⟨l, hinc, ?_⟩ |
| 89 | intro z t ht |
| 90 | rw [map_add] |
| 91 | linear_combination hinc z t ht |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.PrimitiveEq.Constructions.Primitive |