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.Quaternion.Arithmetic.Norm |
| 2 | |
| 3 | /-! # Finite Kernel Representatives -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.FiniteKernelRepresentatives |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite collection of homomorphism values admits finitely many |
| 10 | representatives modulo the kernel. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Quaternion |
| 13 | open Set |
| 14 | |
| 15 | theorem finite_kernel_representatives {H K : Type*} [Group H] [Group K] |
| 16 | (f : H →* K) (T : Set K) (hT : T.Finite) : |
| 17 | ∃ R : Set H, R.Finite ∧ ∀ x : H, f x ∈ T → |
| 18 | ∃ r ∈ R, ∃ q : f.ker, q.val * r = x := by |
| 19 | let S := T ∩ Set.range f |
| 20 | choose r hr using fun c : S => c.property.2 |
| 21 | let R := Set.range r |
| 22 | have : Finite S := (hT.subset inter_subset_left).to_subtype |
| 23 | refine ⟨R, Set.finite_range r, ?_⟩ |
| 24 | intro x hx |
| 25 | let c : S := ⟨f x, hx, ⟨x, rfl⟩⟩ |
| 26 | have hker : x * (r c)⁻¹ ∈ f.ker := by |
| 27 | rw [MonoidHom.mem_ker, map_mul, map_inv, hr c] |
| 28 | exact mul_inv_cancel (f x) |
| 29 | exact ⟨r c, Set.mem_range_self c, ⟨x * (r c)⁻¹, hker⟩, inv_mul_cancel_right x (r c)⟩ |
| 30 | |
| 31 | theorem quaternion_finite_norm_representatives {F : Type*} [Field F] (a b : F) |
| 32 | (T : Set F) (hT : T.Finite) : |
| 33 | ∃ R : Set (QuaternionAlgebra F a 0 b)ˣ, R.Finite ∧ |
| 34 | ∀ x : (QuaternionAlgebra F a 0 b)ˣ, Norm.quaternionNorm a b x.val ∈ T → |
| 35 | ∃ r ∈ R, ∃ q : (Norm.quaternionUnitNorm a b).ker, q.val * r = x := by |
| 36 | exact finite_kernel_representatives (Norm.quaternionUnitNorm a b) (Units.val ⁻¹' T) |
| 37 | (hT.preimage Units.val_injective.injOn) |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.NumberTheory.Quaternion.Arithmetic.FiniteKernelRepresentatives |