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.Torus.Data |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectivityCriterion |
| 3 | |
| 4 | /-! # Doubled Period Lattice -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Doubling the period lattice permits the original Hermitian form to be |
| 11 | halved in the theta construction while preserving its integral periods. -/ |
| 12 | |
| 13 | variable (Φ : Torus.Data.CM.ProjectivePeriodData) |
| 14 | |
| 15 | def Torus.Data.CM.ProjectivePeriodData.halfLinearEquiv : Φ.space ≃L[ℝ] Φ.space where |
| 16 | toFun z := (1 / 2 : ℝ) • z |
| 17 | invFun z := (2 : ℝ) • z |
| 18 | map_add' := smul_add _ |
| 19 | map_smul' a z := smul_comm _ _ _ |
| 20 | left_inv z := by simp only [smul_smul]; norm_num |
| 21 | right_inv z := by simp only [smul_smul]; norm_num |
| 22 | continuous_toFun := continuous_const_smul _ |
| 23 | continuous_invFun := continuous_const_smul _ |
| 24 | |
| 25 | def Torus.Data.CM.ProjectivePeriodData.doubledLattice : Submodule ℤ Φ.space := |
| 26 | ZLattice.comap ℝ Φ.periodIntegerLattice Φ.halfLinearEquiv.toLinearMap |
| 27 | |
| 28 | instance Torus.Data.CM.ProjectivePeriodData.doubledLattice_discrete : DiscreteTopology Φ.doubledLattice := |
| 29 | inferInstanceAs (DiscreteTopology |
| 30 | (ZLattice.comap ℝ Φ.periodIntegerLattice Φ.halfLinearEquiv.toLinearMap)) |
| 31 | |
| 32 | instance Torus.Data.CM.ProjectivePeriodData.doubledLattice_full : IsZLattice ℝ Φ.doubledLattice := |
| 33 | inferInstanceAs (IsZLattice ℝ |
| 34 | (ZLattice.comap ℝ Φ.periodIntegerLattice Φ.halfLinearEquiv.toLinearMap)) |
| 35 | |
| 36 | instance Torus.Data.CM.ProjectivePeriodData.doubledPeriodTorus_compact : CompactSpace (Φ.space ⧸ Φ.doubledLattice.toAddSubgroup) := by |
| 37 | apply isCompact_univ_iff.mp |
| 38 | have hc := IsZLattice.isCompact_range_of_periodic Φ.doubledLattice |
| 39 | (QuotientAddGroup.mk : Φ.space → Φ.space ⧸ Φ.doubledLattice.toAddSubgroup) |
| 40 | QuotientAddGroup.continuous_mk (by |
| 41 | intro z w hw |
| 42 | rw [QuotientAddGroup.mk_add, (QuotientAddGroup.eq_zero_iff w).mpr hw, add_zero]) |
| 43 | rwa [Set.range_eq_univ.mpr QuotientAddGroup.mk_surjective] at hc |
| 44 | |
| 45 | theorem Torus.Data.CM.ProjectivePeriodData.mem_doubledLattice (z : Φ.space) : |
| 46 | z ∈ Φ.doubledLattice ↔ ∃ l : Φ.periodIntegerLattice, (2 : ℕ) • l.val = z := by |
| 47 | constructor |
| 48 | · intro hz |
| 49 | refine ⟨⟨(1 / 2 : ℝ) • z, hz⟩, ?_⟩ |
| 50 | rw [← Nat.cast_smul_eq_nsmul ℝ, smul_smul] |
| 51 | norm_num |
| 52 | · rintro ⟨l, rfl⟩ |
| 53 | change (1 / 2 : ℝ) • (2 : ℕ) • l.val ∈ Φ.periodIntegerLattice |
| 54 | rw [← Nat.cast_smul_eq_nsmul ℝ, smul_smul] |
| 55 | norm_num |
| 56 | |
| 57 | def Torus.Data.CM.ProjectivePeriodData.halfHermitian (H : Φ.space →ₗ⋆[ℂ] Φ.space →ₗ[ℂ] ℂ) : |
| 58 | Φ.space →ₗ⋆[ℂ] Φ.space →ₗ[ℂ] ℂ := (1 / 2 : ℂ) • H |
| 59 | |
| 60 | theorem Torus.Data.CM.ProjectivePeriodData.halfHermitian_symm (H : Φ.space →ₗ⋆[ℂ] Φ.space →ₗ[ℂ] ℂ) |
| 61 | (hsym : ∀ u v, H v u = star (H u v)) : |
| 62 | ∀ u v, Φ.halfHermitian H v u = star (Φ.halfHermitian H u v) := by |
| 63 | intro u v |
| 64 | change (1 / 2 : ℂ) * H v u = star ((1 / 2 : ℂ) * H u v) |
| 65 | rw [hsym, star_mul] |
| 66 | simp [mul_comm] |
| 67 | |
| 68 | theorem Torus.Data.CM.ProjectivePeriodData.halfHermitian_positive (H : Φ.space →ₗ⋆[ℂ] Φ.space →ₗ[ℂ] ℂ) |
| 69 | (hpos : ∀ u, u ≠ 0 → 0 < (H u u).re) : |
| 70 | ∀ u, u ≠ 0 → 0 < (Φ.halfHermitian H u u).re := by |
| 71 | intro u hu |
| 72 | change 0 < ((1 / 2 : ℂ) * H u u).re |
| 73 | simp only [one_div, Complex.mul_re, Complex.inv_re, Complex.inv_im, Complex.re_ofNat, |
| 74 | Complex.im_ofNat, neg_zero, zero_div, zero_mul, sub_zero] |
| 75 | norm_num |
| 76 | exact hpos u hu |
| 77 | |
| 78 | theorem Torus.Data.CM.ProjectivePeriodData.halfHermitian_integral (H : Φ.space →ₗ⋆[ℂ] Φ.space →ₗ[ℂ] ℂ) |
| 79 | (hint : ∀ u ∈ Φ.periodIntegerLattice, ∀ v ∈ Φ.periodIntegerLattice, |
| 80 | ∃ m : ℤ, (H u v).im = (m : ℝ)) : |
| 81 | ∀ u ∈ Φ.doubledLattice, ∀ v ∈ Φ.doubledLattice, |
| 82 | ∃ m : ℤ, (Φ.halfHermitian H u v).im = (m : ℝ) := by |
| 83 | intro u hu v hv |
| 84 | obtain ⟨l, rfl⟩ := (Φ.mem_doubledLattice u).mp hu |
| 85 | obtain ⟨m, rfl⟩ := (Φ.mem_doubledLattice v).mp hv |
| 86 | obtain ⟨a, ha⟩ := hint l.val l.property m.val m.property |
| 87 | refine ⟨2 * a, ?_⟩ |
| 88 | change ((1 / 2 : ℂ) * H ((2 : ℕ) • l.val) ((2 : ℕ) • m.val)).im = _ |
| 89 | simp only [map_nsmul, LinearMap.smul_apply, nsmul_eq_mul, ← mul_assoc] |
| 90 | norm_num |
| 91 | rw [ha] |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.RepresentationTheory.Theta.Geometric |