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.Weil.Local.FunctionsMetaplectic |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Integral |
| 3 | |
| 4 | /-! # Integral Modulus -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Adelic.IntegralModulus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Integral invertible matrices preserve integral vectors, and an |
| 11 | integral scalar unit has Haar modulus one. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory _root_.Matrix |
| 14 | open scoped Classical Pointwise NNReal |
| 15 | |
| 16 | open OAI.RepresentationTheory.Weil.Local.FunctionsMetaplectic.Construction OAI.RepresentationTheory.Weil.AdelicSplitting.Integral.Construction |
| 17 | |
| 18 | section Algebra |
| 19 | variable {R I : Type*} [CommRing R] [Fintype I] [DecidableEq I] (S : Subring R) |
| 20 | |
| 21 | omit [DecidableEq I] in |
| 22 | theorem integral_mulVec {A : Matrix I I R} (hA : ∀ i j, A i j ∈ S) |
| 23 | {x : I → R} (hx : ∀ i, x i ∈ S) (i : I) : (A *ᵥ x) i ∈ S := |
| 24 | S.sum_mem fun j _ => S.mul_mem (hA i j) (hx j) |
| 25 | |
| 26 | theorem integral_determinant {A : Matrix I I R} (hA : ∀ i j, A i j ∈ S) : A.det ∈ S := by |
| 27 | let B : Matrix I I S := fun i j => ⟨A i j, hA i j⟩ |
| 28 | have h := RingHom.map_det S.subtype B |
| 29 | exact h ▸ B.det.property |
| 30 | |
| 31 | omit [Fintype I] in |
| 32 | theorem integral_sub_one {A : Matrix I I R} (hA : ∀ i j, A i j ∈ S) : |
| 33 | ∀ i j, (A - 1) i j ∈ S := by |
| 34 | intro i j |
| 35 | apply S.sub_mem (hA i j) |
| 36 | by_cases h : i = j <;> simp [Matrix.one_apply, h] |
| 37 | |
| 38 | theorem integral_unit_inverse_vec (A : (Matrix I I R)ˣ) |
| 39 | (hA : ∀ i j, A.val i j ∈ S) (hi : ∀ i j, A.inv i j ∈ S) (x : I → R) : |
| 40 | (∀ i, (A.val *ᵥ x) i ∈ S) ↔ ∀ i, x i ∈ S := by |
| 41 | constructor |
| 42 | · intro hx |
| 43 | have he : A.inv *ᵥ (A.val *ᵥ x) = x := by |
| 44 | rw [Matrix.mulVec_mulVec, A.inv_val, Matrix.one_mulVec] |
| 45 | intro i |
| 46 | rw [← he] |
| 47 | exact integral_mulVec S hi hx i |
| 48 | · intro hx |
| 49 | exact integral_mulVec S hA hx |
| 50 | |
| 51 | end Algebra |
| 52 | |
| 53 | variable {k : Type} [NormedField k] [LocallyCompactSpace k] |
| 54 | variable [MeasurableSpace k] [BorelSpace k] |
| 55 | |
| 56 | theorem localModulus_integral_unit (S : Subring k) |
| 57 | (hSo : IsOpen (S : Set k)) (hSc : IsCompact (S : Set k)) |
| 58 | (a : kˣ) (ha : a.val ∈ S) (hi : a.inv ∈ S) : Weil.Local.FunctionsMetaplectic.Construction.localModulus k a = 1 := by |
| 59 | let μ : Measure k := Measure.addHaar |
| 60 | have hset : a • (S : Set k) = S := by |
| 61 | ext x |
| 62 | change (∃ y ∈ S, a.val * y = x) ↔ x ∈ S |
| 63 | constructor |
| 64 | · rintro ⟨y, hy, rfl⟩ |
| 65 | exact S.mul_mem ha hy |
| 66 | · intro hx |
| 67 | refine ⟨a.inv * x, S.mul_mem hi hx, ?_⟩ |
| 68 | rw [← mul_assoc, a.val_inv, one_mul] |
| 69 | have hz : μ (S : Set k) ≠ 0 := |
| 70 | (Measure.measure_pos_of_nonempty_interior μ |
| 71 | (by rw [hSo.interior_eq]; exact ⟨0, S.zero_mem⟩)).ne' |
| 72 | have h := distribHaarChar_eq_of_measure_smul_eq_mul (g := a) hz hSc.measure_ne_top |
| 73 | (r := 1) (by rw [hset]; simp) |
| 74 | exact congrArg (fun r : ℝ≥0 => (r : ℝ)) h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.RepresentationTheory.Theta.Adelic.IntegralModulus |