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 Mathlib |
| 2 | |
| 3 | /-! # Evaluation Relations -/ |
| 4 | |
| 5 | namespace OAI |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.EvaluationRelations.CM |
| 10 | |
| 11 | /-! Linear relations between finite products of function values persist |
| 12 | under arbitrary linear functionals on the factors. This is the algebraic |
| 13 | step needed to descend local operators to actual adelic functions. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | |
| 17 | variable {I J : Type*} [Fintype I] [Fintype J] |
| 18 | {V : I → Type*} [∀ i, AddCommGroup (V i)] [∀ i, Module ℂ (V i)] |
| 19 | [∀ i, FiniteDimensional ℂ (V i)] {X : I → Type*} |
| 20 | (e : ∀ i, V i →ₗ[ℂ] (X i → ℂ)) (he : ∀ i, Function.Injective (e i)) |
| 21 | |
| 22 | def evaluation (i : I) (x : X i) : V i →ₗ[ℂ] ℂ := (LinearMap.proj x).comp (e i) |
| 23 | |
| 24 | omit [Fintype I] [Fintype J] in |
| 25 | include he in |
| 26 | theorem evaluation_span (i : I) : |
| 27 | Submodule.span ℂ (Set.range (evaluation e i)) = ⊤ := by |
| 28 | apply Submodule.span_eq_top_of_ne_zero |
| 29 | intro z hz |
| 30 | have hne : e i z ≠ 0 := by |
| 31 | intro h |
| 32 | apply hz |
| 33 | exact he i (h.trans (map_zero (e i)).symm) |
| 34 | obtain ⟨x, hx⟩ : ∃ x : X i, e i z x ≠ 0 := by |
| 35 | by_contra h |
| 36 | push Not at h |
| 37 | exact hne (funext h) |
| 38 | exact ⟨evaluation e i x, ⟨x, rfl⟩, hx⟩ |
| 39 | |
| 40 | def functionalProduct (u : ∀ i, V i) : |
| 41 | MultilinearMap ℂ (fun i => V i →ₗ[ℂ] ℂ) ℂ := |
| 42 | (MultilinearMap.mkPiAlgebra ℂ I ℂ).compLinearMap (fun i => LinearMap.applyₗ (u i)) |
| 43 | |
| 44 | omit [∀ i, FiniteDimensional ℂ (V i)] in |
| 45 | theorem functionalProduct_apply (u : ∀ i, V i) (l : ∀ i, V i →ₗ[ℂ] ℂ) : |
| 46 | functionalProduct u l = ∏ i, l i (u i) := rfl |
| 47 | |
| 48 | include he in |
| 49 | theorem relation_functionals (c : J → ℂ) (u : J → ∀ i, V i) |
| 50 | (h : ∀ x : ∀ i, X i, ∑ j, c j * ∏ i, e i (u j i) (x i) = 0) |
| 51 | (l : ∀ i, V i →ₗ[ℂ] ℂ) : |
| 52 | ∑ j, c j * ∏ i, l i (u j i) = 0 := by |
| 53 | let T : MultilinearMap ℂ (fun i => V i →ₗ[ℂ] ℂ) ℂ := |
| 54 | ∑ j, c j • functionalProduct (u j) |
| 55 | have hT : T = 0 := by |
| 56 | apply MultilinearMap.ext_of_span_eq_top (fun i => evaluation_span e he i) |
| 57 | intro x |
| 58 | change T (fun i => evaluation e i (x i)) = 0 |
| 59 | simpa only [T, sum_apply, smul_apply, smul_eq_mul, |
| 60 | functionalProduct_apply, evaluation, LinearMap.comp_apply, LinearMap.proj_apply] using h x |
| 61 | have hv := congrArg (fun f : MultilinearMap ℂ (fun i => V i →ₗ[ℂ] ℂ) ℂ => f l) hT |
| 62 | simpa only [T, sum_apply, smul_apply, smul_eq_mul, |
| 63 | functionalProduct_apply, zero_apply] using hv |
| 64 | |
| 65 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.EvaluationRelations.CM |
| 66 | |
| 67 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.EvaluationRelations.CM.FunctionFamily |
| 68 | |
| 69 | /-! A finite family of functions only uses a finite-dimensional subspace, |
| 70 | so relations between its products persist under any local linear operators. -/ |
| 71 | |
| 72 | open scoped Classical |
| 73 | |
| 74 | variable {I J : Type*} [Fintype I] [Fintype J] |
| 75 | {V : I → Type*} [∀ i, AddCommGroup (V i)] [∀ i, Module ℂ (V i)] |
| 76 | {X : I → Type*} (e : ∀ i, V i →ₗ[ℂ] (X i → ℂ)) |
| 77 | (he : ∀ i, Function.Injective (e i)) |
| 78 | |
| 79 | include he in |
| 80 | theorem relation_functionals (c : J → ℂ) (u : J → ∀ i, V i) |
| 81 | (h : ∀ x : ∀ i, X i, ∑ j, c j * ∏ i, e i (u j i) (x i) = 0) |
| 82 | (l : ∀ i, V i →ₗ[ℂ] ℂ) : |
| 83 | ∑ j, c j * ∏ i, l i (u j i) = 0 := by |
| 84 | let W (i : I) : Submodule ℂ (V i) := Submodule.span ℂ (Set.range fun j => u j i) |
| 85 | let (i : I) : FiniteDimensional ℂ (W i) := |
| 86 | FiniteDimensional.span_of_finite ℂ (Set.finite_range fun j => u j i) |
| 87 | let e' (i : I) : W i →ₗ[ℂ] (X i → ℂ) := (e i).comp (W i).subtype |
| 88 | have he' (i : I) : Function.Injective (e' i) := (he i).comp Subtype.val_injective |
| 89 | let u' (j : J) (i : I) : W i := ⟨u j i, Submodule.subset_span ⟨j, rfl⟩⟩ |
| 90 | exact CM.relation_functionals e' he' c u' h |
| 91 | (fun i => (l i).comp (W i).subtype) |
| 92 | |
| 93 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.EvaluationRelations.CM.FunctionFamily |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI |