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.AlgebraicGeometry.AbelianModuli.ReferenceFamily.LatticeDenominators |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.ScalarQuotientMk |
| 3 | |
| 4 | /-! # Coordinate Lattice -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateLattice |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Full stable lattices in arbitrary finite rank admit explicit integral comparison maps |
| 11 | with the standard integral module. Their composites are multiplication by one nonzero integer. |
| 12 | This retains the O_E action in every quotient away from that integer. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | /-- All coordinates of a finitely generated lattice have one common |
| 17 | nonzero denominator in the ring of integers of the number field. -/ |
| 18 | theorem common_coordinate_integral_multiple {E : Type*} [Field E] [NumberField E] |
| 19 | {r : ℕ} (Λ : Submodule ℤ (Fin r → E)) (hΛ : Λ.FG) : |
| 20 | ∃ n : ℤ, n ≠ 0 ∧ ∀ x ∈ Λ, ∀ i, IsIntegral ℤ (n • x i) := by |
| 21 | obtain ⟨s, hs⟩ := hΛ |
| 22 | let t : Finset E := s.biUnion (fun x => Finset.univ.image x) |
| 23 | let : Algebra.IsAlgebraic ℤ ℚ := IsLocalization.isAlgebraic ℚ (nonZeroDivisors ℤ) |
| 24 | let : Algebra.IsAlgebraic ℤ E := Algebra.IsAlgebraic.trans ℤ ℚ E |
| 25 | obtain ⟨n, hn, hint⟩ := Algebra.IsAlgebraic.exists_integral_multiples ℤ t |
| 26 | refine ⟨n, hn, ?_⟩ |
| 27 | intro x hx |
| 28 | have hx' : x ∈ Submodule.span ℤ (s : Set (Fin r → E)) := hs.symm ▸ hx |
| 29 | clear hx |
| 30 | induction hx' using Submodule.span_induction with |
| 31 | | mem x hx => |
| 32 | intro i |
| 33 | exact hint (x i) (Finset.mem_biUnion.mpr ⟨x, hx, Finset.mem_image.mpr ⟨i, Finset.mem_univ i, rfl⟩⟩) |
| 34 | | zero => |
| 35 | intro i |
| 36 | simpa only [Pi.zero_apply, smul_zero] using (isIntegral_zero : IsIntegral ℤ (0 : E)) |
| 37 | | add x y _ _ hx hy => |
| 38 | intro i |
| 39 | simpa only [Pi.add_apply, smul_add] using (hx i).add (hy i) |
| 40 | | smul a x _ hx => |
| 41 | intro i |
| 42 | simpa only [Pi.smul_apply, smul_comm n a] using (hx i).smul a |
| 43 | |
| 44 | variable {E : Type*} [Field E] [NumberField E] [Algebra ℚ E] |
| 45 | {r : ℕ} |
| 46 | |
| 47 | def FullStableCoordinateLattice (Λ : Submodule ℤ (Fin r → E)) : Prop := |
| 48 | Λ.FG ∧ Submodule.span ℚ (Λ : Set (Fin r → E)) = ⊤ ∧ |
| 49 | ∀ (a : NumberField.RingOfIntegers E) (x : Fin r → E), x ∈ Λ → (a : E) • x ∈ Λ |
| 50 | |
| 51 | variable (Λ : Submodule ℤ (Fin r → E)) (hΛ : FullStableCoordinateLattice Λ) |
| 52 | |
| 53 | def stableCoordinateLattice : Submodule (NumberField.RingOfIntegers E) ((Fin r → E)) where |
| 54 | carrier := Λ |
| 55 | zero_mem' := Λ.zero_mem |
| 56 | add_mem' := Λ.add_mem |
| 57 | smul_mem' a x hx := hΛ.2.2 a x hx |
| 58 | |
| 59 | def integralCoordinateMap : (Fin r → NumberField.RingOfIntegers E) →ₗ[NumberField.RingOfIntegers E] (Fin r → E) where |
| 60 | toFun x i := (x i : E) |
| 61 | map_add' _ _ := rfl |
| 62 | map_smul' _ _ := rfl |
| 63 | |
| 64 | include hΛ in |
| 65 | omit [NumberField E] in |
| 66 | theorem common_coordinate_lattice_multiple : |
| 67 | ∃ n : ℤ, n ≠ 0 ∧ ∀ x : Fin r → NumberField.RingOfIntegers E, |
| 68 | n • integralCoordinateMap x ∈ Λ := by |
| 69 | obtain ⟨n, hn, hmem⟩ := AbelianModuli.ReferenceFamily.LatticeDenominators.common_integer_multiple_mem Λ hΛ.2.1 |
| 70 | (fun i : Fin r => Pi.single i (1 : E)) |
| 71 | refine ⟨n, hn, fun x => ?_⟩ |
| 72 | have he : n • integralCoordinateMap x = |
| 73 | ∑ i : Fin r, (x i : E) • (n • Pi.single i (1 : E)) := by |
| 74 | have hx : integralCoordinateMap x = ∑ i : Fin r, (x i : E) • Pi.single i (1 : E) := by |
| 75 | ext j |
| 76 | change (x j : E) = _ |
| 77 | simp [Finset.sum_apply, Pi.single_apply, Algebra.smul_def] |
| 78 | rw [hx, Finset.smul_sum] |
| 79 | exact Finset.sum_congr rfl (fun i _ => smul_comm n (x i : E) _) |
| 80 | rw [he] |
| 81 | exact Λ.sum_mem (fun i _ => hΛ.2.2 (x i) _ (hmem i)) |
| 82 | |
| 83 | /-- Explicit integral maps in both directions between a full stable |
| 84 | lattice and the standard integral module. -/ |
| 85 | theorem exists_coordinate_lattice_comparison : |
| 86 | ∃ (c : ℤ), c ≠ 0 ∧ |
| 87 | ∃ (f : (Fin r → NumberField.RingOfIntegers E) →ₗ[NumberField.RingOfIntegers E] |
| 88 | stableCoordinateLattice Λ hΛ) |
| 89 | (g : stableCoordinateLattice Λ hΛ →ₗ[NumberField.RingOfIntegers E] |
| 90 | (Fin r → NumberField.RingOfIntegers E)), |
| 91 | (∀ x, g (f x) = c • x) ∧ (∀ x, f (g x) = c • x) := by |
| 92 | obtain ⟨n, hn, hmem⟩ := common_coordinate_lattice_multiple Λ hΛ |
| 93 | obtain ⟨m, hm, hint⟩ := common_coordinate_integral_multiple Λ hΛ.1 |
| 94 | let f : (Fin r → NumberField.RingOfIntegers E) →ₗ[NumberField.RingOfIntegers E] |
| 95 | stableCoordinateLattice Λ hΛ := |
| 96 | (n • (integralCoordinateMap (E := E))).codRestrict _ hmem |
| 97 | let g : stableCoordinateLattice Λ hΛ →ₗ[NumberField.RingOfIntegers E] |
| 98 | (Fin r → NumberField.RingOfIntegers E) := |
| 99 | { toFun := fun x i => ⟨m • x.val i, hint x.val x.property i⟩ |
| 100 | map_add' := fun x y => by |
| 101 | ext i |
| 102 | exact smul_add m (x.val i) (y.val i) |
| 103 | map_smul' := fun a x => by |
| 104 | ext i |
| 105 | exact smul_comm m (a : E) (x.val i) } |
| 106 | refine ⟨m * n, mul_ne_zero hm hn, f, g, ?_, ?_⟩ |
| 107 | · intro x |
| 108 | ext i |
| 109 | exact (mul_smul m n (x i : E)).symm |
| 110 | · intro x |
| 111 | apply Subtype.ext |
| 112 | ext i |
| 113 | change n • (m • x.val i) = (m * n) • x.val i |
| 114 | rw [smul_comm n m, ← mul_smul] |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.CoordinateLattice |