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.Coordinates |
| 2 | |
| 3 | /-! # Action -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Action.CongruenceLevel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open scoped Classical |
| 10 | |
| 11 | section Descent |
| 12 | variable {K R Y T : Type*} [Field K] [Ring R] |
| 13 | [AddCommGroup Y] [Module K Y] [AddCommGroup T] [Module K T] |
| 14 | (π : Y →ₗ[K] T) (hs : Function.Surjective π) |
| 15 | |
| 16 | def descendEnd (f : Module.End K Y) (hf : ∀ x, π x = 0 → π (f x) = 0) : |
| 17 | Module.End K T := |
| 18 | ((π.ker).liftQ (π.comp f) hf).comp (π.quotKerEquivOfSurjective hs).symm.toLinearMap |
| 19 | |
| 20 | lemma descendEnd_apply (f : Module.End K Y) |
| 21 | (hf : ∀ x, π x = 0 → π (f x) = 0) (x : Y) : |
| 22 | descendEnd π hs f hf (π x) = π (f x) := by |
| 23 | simp [descendEnd, LinearMap.quotKerEquivOfSurjective_symm_apply] |
| 24 | rfl |
| 25 | |
| 26 | def descendedAction (ρ : R →+* Module.End K Y) |
| 27 | (hρ : ∀ a x, π x = 0 → π (ρ a x) = 0) : R →+* Module.End K T where |
| 28 | toFun a := descendEnd π hs (ρ a) (hρ a) |
| 29 | map_zero' := by |
| 30 | ext t |
| 31 | obtain ⟨x, rfl⟩ := hs t |
| 32 | simp [descendEnd_apply] |
| 33 | map_one' := by |
| 34 | ext t |
| 35 | obtain ⟨x, rfl⟩ := hs t |
| 36 | simp [descendEnd_apply] |
| 37 | map_add' a b := by |
| 38 | ext t |
| 39 | obtain ⟨x, rfl⟩ := hs t |
| 40 | simp [descendEnd_apply] |
| 41 | map_mul' a b := by |
| 42 | ext t |
| 43 | obtain ⟨x, rfl⟩ := hs t |
| 44 | simp [Module.End.mul_apply, descendEnd_apply] |
| 45 | |
| 46 | lemma descendedAction_apply (ρ : R →+* Module.End K Y) |
| 47 | (hρ : ∀ a x, π x = 0 → π (ρ a x) = 0) (a : R) (x : Y) : |
| 48 | descendedAction π hs ρ hρ a (π x) = π (ρ a x) := descendEnd_apply π hs _ _ x |
| 49 | end Descent |
| 50 | |
| 51 | variable {E Place : Type*} [Field E] [Algebra ℚ E] |
| 52 | (σ : Place → E →ₐ[ℚ] ℂ) |
| 53 | |
| 54 | def ambientAction : E →+* Module.End ℂ (Geometry.ComplexBall.PrescribedSignsB.Ambient Place) where |
| 55 | toFun a := |
| 56 | { toFun := fun u τ => (σ τ a • (u τ).1, AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ τ) a • (u τ).2) |
| 57 | map_add' := fun u v => by ext τ j <;> simp <;> ring |
| 58 | map_smul' := fun r u => by ext τ j <;> simp [smul_smul] <;> ring } |
| 59 | map_zero' := by ext u τ j <;> simp |
| 60 | map_one' := by ext u τ j <;> simp |
| 61 | map_add' a b := by ext u τ j <;> simp [add_smul] |
| 62 | map_mul' a b := by ext u τ j <;> simp [smul_smul] |
| 63 | |
| 64 | lemma ambientAction_embedding (a : E) (x : Fin 3 → E) : |
| 65 | ambientAction σ a (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x) = Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ (a • x) := by |
| 66 | ext τ j <;> simp [ambientAction, Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates, map_mul] |
| 67 | |
| 68 | lemma prescribed_action (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) |
| 69 | (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (a : E) (u : Geometry.ComplexBall.PrescribedSignsB.Ambient Place) |
| 70 | (hu : Geometry.ComplexBall.PrescribedSignsB.Prescribed (fun τ x y => B τ x y) μ d z u) : |
| 71 | Geometry.ComplexBall.PrescribedSignsB.Prescribed (fun τ x y => B τ x y) μ d z (ambientAction σ a u) := by |
| 72 | intro τ |
| 73 | have h := hu τ |
| 74 | by_cases he : τ = μ |
| 75 | · subst τ |
| 76 | simp only at h ⊢ |
| 77 | refine ⟨(Submodule.span ℂ {Geometry.ComplexBall.PrescribedSignsB.lineVector z}).smul_mem _ h.1, ?_⟩ |
| 78 | change B μ (Geometry.ComplexBall.PrescribedSignsB.lineVector z) (AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ μ) a • (u μ).2) = 0 |
| 79 | rw [map_smul, h.2, smul_zero] |
| 80 | · simp only [ite_eq_right he] at h ⊢ |
| 81 | cases hd : d τ <;> simp only [hd, Bool.false_eq_true, ite_false, ite_true] at h ⊢ |
| 82 | · change AlgebraicGeometry.ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (σ τ) a • (u τ).2 = 0 |
| 83 | rw [h, smul_zero] |
| 84 | · change σ τ a • (u τ).1 = 0 |
| 85 | rw [h, smul_zero] |
| 86 | |
| 87 | theorem quotient_integer_action |
| 88 | [NumberField E] |
| 89 | (B : Place → Geometry.ComplexBall.PrescribedSignsB.Bilin) (μ : Place) (d : Place → Bool) (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) |
| 90 | (P : Submodule ℂ (Geometry.ComplexBall.PrescribedSignsB.Ambient Place)) |
| 91 | (hP : ∀ u, u ∈ P ↔ Geometry.ComplexBall.PrescribedSignsB.Prescribed (fun τ x y => B τ x y) μ d z u) |
| 92 | {T : Type*} [AddCommGroup T] [Module ℂ T] |
| 93 | (π : Geometry.ComplexBall.PrescribedSignsB.Ambient Place →ₗ[ℂ] T) (hker : π.ker = P) (hs : Function.Surjective π) : |
| 94 | ∃ ρ : NumberField.RingOfIntegers E →+* Module.End ℂ T, |
| 95 | ∀ (a : NumberField.RingOfIntegers E) (x : Fin 3 → E), |
| 96 | ρ a (π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x)) = |
| 97 | π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ ((a : E) • x)) := by |
| 98 | let ρ₀ : NumberField.RingOfIntegers E →+* Module.End ℂ (Geometry.ComplexBall.PrescribedSignsB.Ambient Place) := |
| 99 | (ambientAction σ).comp (algebraMap (NumberField.RingOfIntegers E) E) |
| 100 | have hρ : ∀ a u, π u = 0 → π (ρ₀ a u) = 0 := by |
| 101 | intro a u hu |
| 102 | have hp : u ∈ P := by rw [← hker]; exact hu |
| 103 | have hpu := prescribed_action σ B μ d z (a : E) u ((hP u).mp hp) |
| 104 | have hm : ρ₀ a u ∈ P := (hP _).mpr hpu |
| 105 | rw [← hker] at hm |
| 106 | exact hm |
| 107 | refine ⟨descendedAction π hs ρ₀ hρ, ?_⟩ |
| 108 | intro a x |
| 109 | rw [descendedAction_apply] |
| 110 | change π (ambientAction σ (a : E) (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x)) = _ |
| 111 | rw [ambientAction_embedding] |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.ArithmeticGroups.Action.CongruenceLevel |