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.VolumePreservingOperatorUnits |
| 2 | import Mathlib.Analysis.SpecialFunctions.Log.Basic |
| 3 | |
| 4 | /-! # Volume Normalized Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.VolumeNormalizedCoordinates.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A scalar multiple normalizes a real change of basis to absolute |
| 11 | determinant one without changing its conjugation of endomorphisms. -/ |
| 12 | |
| 13 | variable {L : Type*} [NormedAddCommGroup L] [NormedSpace ℝ L] [FiniteDimensional ℝ L] |
| 14 | |
| 15 | def scalarCoordinateEquiv (c : ℝ) (hc : c ≠ 0) : L ≃L[ℝ] L := |
| 16 | (LinearEquiv.smulOfNeZero ℝ L c hc).toContinuousLinearEquiv |
| 17 | |
| 18 | theorem scalarCoordinateEquiv_apply (c : ℝ) (hc : c ≠ 0) (x : L) : |
| 19 | scalarCoordinateEquiv c hc x = c • x := rfl |
| 20 | |
| 21 | theorem scalarCoordinateEquiv_symm_apply (c : ℝ) (hc : c ≠ 0) (x : L) : |
| 22 | (scalarCoordinateEquiv c hc).symm x = c⁻¹ • x := rfl |
| 23 | |
| 24 | theorem scalarCoordinateEquiv_conjugation (c : ℝ) (hc : c ≠ 0) (X : L →L[ℝ] L) : |
| 25 | (scalarCoordinateEquiv c hc).conjContinuousAlgEquiv X = X := by |
| 26 | ext x |
| 27 | change c • X (c⁻¹ • x) = X x |
| 28 | rw [map_smul, smul_smul, mul_inv_cancel₀ hc, one_smul] |
| 29 | |
| 30 | theorem exists_volume_normalized_coordinates (e : L ≃L[ℝ] L) : |
| 31 | ∃ f : L ≃L[ℝ] L, |f.toLinearMap.det| = 1 ∧ |
| 32 | f.conjContinuousAlgEquiv = e.conjContinuousAlgEquiv := by |
| 33 | by_cases hn : Module.finrank ℝ L = 0 |
| 34 | · let : Subsingleton L := (Module.finrank_zero_iff).mp hn |
| 35 | exact ⟨e, by rw [LinearMap.det_eq_one_of_subsingleton, abs_one], rfl⟩ |
| 36 | · let D := |e.toLinearMap.det| |
| 37 | have hD : 0 < D := abs_pos.mpr e.toLinearEquiv.isUnit_det'.ne_zero |
| 38 | let c := Real.exp (-Real.log D / (Module.finrank ℝ L : ℝ)) |
| 39 | have hc : 0 < c := Real.exp_pos _ |
| 40 | have hn' : (Module.finrank ℝ L : ℝ) ≠ 0 := Nat.cast_ne_zero.mpr hn |
| 41 | have hp : c ^ Module.finrank ℝ L = D⁻¹ := by |
| 42 | rw [show c = Real.exp (-Real.log D / (Module.finrank ℝ L : ℝ)) from rfl, |
| 43 | ← Real.exp_nat_mul] |
| 44 | rw [show (Module.finrank ℝ L : ℝ) * (-Real.log D / (Module.finrank ℝ L : ℝ)) = |
| 45 | -Real.log D by field_simp] |
| 46 | rw [Real.exp_neg, Real.exp_log hD] |
| 47 | let f := e.trans (scalarCoordinateEquiv c hc.ne') |
| 48 | refine ⟨f, ?_, ?_⟩ |
| 49 | · have he : f.toLinearMap = c • e.toLinearMap := by ext x; rfl |
| 50 | rw [he, LinearMap.det_smul, abs_mul, abs_pow, abs_of_pos hc, hp] |
| 51 | exact inv_mul_cancel₀ hD.ne' |
| 52 | · ext X x |
| 53 | change ((scalarCoordinateEquiv c hc.ne').conjContinuousAlgEquiv |
| 54 | (e.conjContinuousAlgEquiv X)) x = _ |
| 55 | rw [scalarCoordinateEquiv_conjugation] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.ArithmeticGroups.Lattices.VolumeNormalizedCoordinates.Construction |