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.NumberTheory.ArithmeticGroups.Lattices.Bilinear.DiagonalCoordinates |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.RealCoordinates |
| 3 | |
| 4 | /-! # Bilinear Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.BilinearCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integral bracket coordinates are equivalent to integral values |
| 11 | on basis pairs, hence to preservation of the basis lattice by the bracket. -/ |
| 12 | |
| 13 | open Set |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem mem_integralRealCoordinates_iff {ι : Type*} (x : ι → ℝ) : |
| 17 | x ∈ RealCoordinates.Construction.integralRealCoordinates ι ↔ ∀ i, ∃ z : ℤ, (z : ℝ) = x i := by |
| 18 | constructor |
| 19 | · rintro ⟨z, rfl⟩ i |
| 20 | exact ⟨z i, rfl⟩ |
| 21 | · intro h |
| 22 | choose z hz using h |
| 23 | exact ⟨z, funext hz⟩ |
| 24 | |
| 25 | theorem integral_bilinear_coordinates_iff |
| 26 | {L ι : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] [Fintype ι] |
| 27 | (b : Module.Basis ι ℝ L) (B : L →L[ℝ] L →L[ℝ] L) : |
| 28 | Bilinear.DiagonalCoordinates.Construction.continuousBilinearCoordinates b B ∈ RealCoordinates.Construction.integralRealCoordinates (ι × ι × ι) ↔ |
| 29 | ∀ i j, B (b i) (b j) ∈ Submodule.span ℤ (Set.range b) := by |
| 30 | rw [mem_integralRealCoordinates_iff] |
| 31 | constructor |
| 32 | · intro h i j |
| 33 | apply (b.mem_span_iff_repr_mem ℤ _).mpr |
| 34 | intro l |
| 35 | exact h (i, j, l) |
| 36 | · rintro h ⟨i, j, l⟩ |
| 37 | exact (b.mem_span_iff_repr_mem ℤ _).mp (h i j) l |
| 38 | |
| 39 | theorem bilinear_basis_lattice_mem |
| 40 | {L ι : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] |
| 41 | (b : Module.Basis ι ℝ L) (B : L →L[ℝ] L →L[ℝ] L) |
| 42 | (hB : ∀ i j, B (b i) (b j) ∈ Submodule.span ℤ (Set.range b)) |
| 43 | (x y : L) (hx : x ∈ Submodule.span ℤ (Set.range b)) |
| 44 | (hy : y ∈ Submodule.span ℤ (Set.range b)) : |
| 45 | B x y ∈ Submodule.span ℤ (Set.range b) := by |
| 46 | let Λ := Submodule.span ℤ (Set.range b) |
| 47 | induction hx using Submodule.span_induction with |
| 48 | | mem x hx => |
| 49 | obtain ⟨i, rfl⟩ := hx |
| 50 | induction hy using Submodule.span_induction with |
| 51 | | mem y hy => |
| 52 | obtain ⟨j, rfl⟩ := hy |
| 53 | exact hB i j |
| 54 | | zero => simpa only [map_zero] using Λ.zero_mem |
| 55 | | add x y _ _ hxy hyy => simpa only [map_add] using Λ.add_mem hxy hyy |
| 56 | | smul z y _ ih => simpa only [map_zsmul] using Λ.smul_mem z ih |
| 57 | | zero => simpa only [map_zero, zero_apply] using Λ.zero_mem |
| 58 | | add x z _ _ ihx ihz => simpa only [map_add, add_apply] using Λ.add_mem ihx ihz |
| 59 | | smul z x _ ih => simpa only [map_zsmul, smul_apply] using Λ.smul_mem z ih |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.BilinearCoordinates.Construction |