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 | /-! # Exterior Lattice -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.ExteriorLattice.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Exterior powers of finitely generated integral modules: their |
| 12 | exterior products generate a finitely generated module preserved by |
| 13 | every linear map preserving the original module. -/ |
| 14 | |
| 15 | open scoped Classical TensorProduct |
| 16 | |
| 17 | variable {R k V : Type*} [CommRing R] [Field k] [Algebra R k] |
| 18 | [AddCommGroup V] [Module k V] [Module R V] [IsScalarTower R k V] |
| 19 | |
| 20 | def exteriorLatticeSpan (Λ : Submodule R V) (r : ℕ) : Submodule R (⋀[k]^r V) := |
| 21 | Submodule.span R (Set.range (fun v : Fin r → Λ => exteriorPower.ιMulti k r (fun i => (v i).val))) |
| 22 | |
| 23 | theorem exteriorLatticeSpan_fg (Λ : Submodule R V) (hΛ : Λ.FG) (r : ℕ) : |
| 24 | (exteriorLatticeSpan (k := k) Λ r).FG := by |
| 25 | let : Module.Finite R Λ := Module.Finite.of_fg hΛ |
| 26 | let f : MultilinearMap R (fun _ : Fin r => Λ) (⋀[k]^r V) := |
| 27 | ((exteriorPower.ιMulti k r (M := V)).toMultilinearMap.restrictScalars R).compLinearMap |
| 28 | (fun _ => Λ.subtype) |
| 29 | let T := PiTensorProduct.lift f |
| 30 | have hrange : T.range = exteriorLatticeSpan (k := k) Λ r := by |
| 31 | rw [← Submodule.map_top, ← PiTensorProduct.span_tprod_eq_top, Submodule.map_span, ← Set.range_comp] |
| 32 | apply congrArg (Submodule.span R) |
| 33 | apply congrArg Set.range |
| 34 | funext v |
| 35 | exact PiTensorProduct.lift.tprod (φ := f) v |
| 36 | rw [← hrange] |
| 37 | have hfg : (⊤ : Submodule R (⨂[R] (_ : Fin r), Λ)).FG := Module.Finite.fg_top |
| 38 | simpa only [Submodule.map_top] using hfg.map T |
| 39 | |
| 40 | theorem exteriorLatticeSpan_map_mem (Λ : Submodule R V) (r : ℕ) |
| 41 | (f : V →ₗ[k] V) (hf : ∀ v ∈ Λ, f v ∈ Λ) |
| 42 | {w : ⋀[k]^r V} (hw : w ∈ exteriorLatticeSpan (k := k) Λ r) : |
| 43 | exteriorPower.map r f w ∈ exteriorLatticeSpan (k := k) Λ r := by |
| 44 | let F := (exteriorPower.map r f).restrictScalars R |
| 45 | change F w ∈ exteriorLatticeSpan (k := k) Λ r |
| 46 | induction hw using Submodule.span_induction with |
| 47 | | mem w hw => |
| 48 | obtain ⟨v, rfl⟩ := hw |
| 49 | change exteriorPower.map r f (exteriorPower.ιMulti k r (fun i => (v i).val)) ∈ _ |
| 50 | rw [exteriorPower.map_apply_ιMulti] |
| 51 | exact Submodule.subset_span ⟨fun i => ⟨f (v i).val, hf _ (v i).property⟩, rfl⟩ |
| 52 | | zero => rw [map_zero]; exact Submodule.zero_mem _ |
| 53 | | add x y _ _ hx hy => rw [map_add]; exact Submodule.add_mem _ hx hy |
| 54 | | smul c x _ hx => rw [map_smul]; exact Submodule.smul_mem _ c hx |
| 55 | |
| 56 | end |
| 57 | |
| 58 | /-! The exterior lattice spans the whole exterior power whenever the |
| 59 | original integral module spans its ambient vector space. -/ |
| 60 | |
| 61 | open scoped Classical TensorProduct |
| 62 | |
| 63 | theorem exteriorLatticeSpan_full |
| 64 | {R k V : Type*} [CommRing R] [Field k] [Algebra R k] |
| 65 | [AddCommGroup V] [Module k V] [Module R V] [IsScalarTower R k V] |
| 66 | (Λ : Submodule R V) (hΛ : Submodule.span k (Λ : Set V) = ⊤) (r : ℕ) : |
| 67 | Submodule.span k (exteriorLatticeSpan (k := k) Λ r : Set (⋀[k]^r V)) = ⊤ := by |
| 68 | let M := Submodule.span k (exteriorLatticeSpan (k := k) Λ r : Set (⋀[k]^r V)) |
| 69 | let i : (⋀[k]^r V) →ₗ[k] ExteriorAlgebra k V := (⋀[k]^r V).subtype |
| 70 | have hfull : (⋀[k]^r V) ≤ M.map i := by |
| 71 | conv_lhs => rw [← exteriorPower.ιMulti_span_fixedDegree_of_span_eq_top (R := k) (n := r) V hΛ] |
| 72 | apply Submodule.span_le.mpr |
| 73 | rintro _ ⟨v, hv, rfl⟩ |
| 74 | let u : Fin r → Λ := fun j => ⟨v j, hv (Set.mem_range_self j)⟩ |
| 75 | refine ⟨exteriorPower.ιMulti k r (fun j => (u j).val), ?_, rfl⟩ |
| 76 | exact Submodule.subset_span (Submodule.subset_span (Set.mem_range_self u)) |
| 77 | apply top_unique |
| 78 | intro w _ |
| 79 | obtain ⟨z, hz, he⟩ := hfull w.property |
| 80 | have hzEq : z = w := Subtype.ext he |
| 81 | exact hzEq ▸ hz |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.ArithmeticGroups.Lattices.ExteriorLattice.Construction |