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.UnitarySplitting.TracePairing |
| 2 | |
| 3 | /-! # Norm One Parameters -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.NormOneParameters.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An explicit infinite family of norm-one scalars in a quadratic field. |
| 10 | These scalars supply generic translates in the unitary Cayley domain. -/ |
| 11 | |
| 12 | variable {F E : Type} [Field F] [Field E] [Algebra F E] [CharZero F] |
| 13 | variable (σ : E ≃ₐ[F] E) |
| 14 | |
| 15 | omit [CharZero F] in |
| 16 | theorem exists_nonzero_antifixed (hσ : Function.Involutive σ) |
| 17 | (hne : ∃ z : E, σ z ≠ z) : ∃ δ : E, δ ≠ 0 ∧ σ δ = -δ := by |
| 18 | obtain ⟨z, hz⟩ := hne |
| 19 | refine ⟨z - σ z, sub_ne_zero.mpr hz.symm, ?_⟩ |
| 20 | rw [map_sub, hσ] |
| 21 | abel |
| 22 | |
| 23 | theorem antifixed_not_scalar (δ : E) (hδ : δ ≠ 0) (hσδ : σ δ = -δ) (a : F) : |
| 24 | algebraMap F E a ≠ δ := by |
| 25 | let : CharZero E := Algebra.charZero_of_charZero F E |
| 26 | intro ha |
| 27 | have hh := congrArg σ ha |
| 28 | rw [σ.commutes, ha, hσδ] at hh |
| 29 | have : δ = 0 := by linear_combination (1 / 2 : E) * hh |
| 30 | exact hδ this |
| 31 | |
| 32 | def normOneParameter (δ : E) (a : F) : E := |
| 33 | (algebraMap F E a + δ) / (algebraMap F E a - δ) |
| 34 | |
| 35 | theorem normOneParameter_mem (δ : E) (hδ : δ ≠ 0) (hσδ : σ δ = -δ) (a : F) : |
| 36 | σ (normOneParameter δ a) * normOneParameter δ a = 1 := by |
| 37 | have hm : algebraMap F E a - δ ≠ 0 := |
| 38 | sub_ne_zero.mpr (antifixed_not_scalar σ δ hδ hσδ a) |
| 39 | have hp : algebraMap F E a + δ ≠ 0 := by |
| 40 | intro h |
| 41 | have he : algebraMap F E (-a) = δ := by rw [map_neg]; linear_combination -h |
| 42 | exact antifixed_not_scalar σ δ hδ hσδ (-a) he |
| 43 | simp only [normOneParameter, map_div₀, map_add, map_sub, σ.commutes, hσδ] |
| 44 | simp only [sub_neg_eq_add, ← sub_eq_add_neg] |
| 45 | field_simp [hm, hp] |
| 46 | |
| 47 | theorem normOneParameter_injective (δ : E) (hδ : δ ≠ 0) (hσδ : σ δ = -δ) : |
| 48 | Function.Injective (normOneParameter (F := F) δ) := by |
| 49 | let : CharZero E := Algebra.charZero_of_charZero F E |
| 50 | intro a b hab |
| 51 | have ha := sub_ne_zero.mpr (antifixed_not_scalar σ δ hδ hσδ a) |
| 52 | have hb := sub_ne_zero.mpr (antifixed_not_scalar σ δ hδ hσδ b) |
| 53 | have hh := (div_eq_div_iff ha hb).mp hab |
| 54 | apply (algebraMap F E).injective |
| 55 | apply mul_right_cancel₀ hδ |
| 56 | linear_combination -(1 / 2 : E) * hh |
| 57 | |
| 58 | theorem infinite_normOne (hσ : Function.Involutive σ) (hne : ∃ z : E, σ z ≠ z) : |
| 59 | Set.Infinite {z : E | σ z * z = 1} := by |
| 60 | obtain ⟨δ, hδ, hσδ⟩ := exists_nonzero_antifixed σ hσ hne |
| 61 | apply (Set.infinite_range_of_injective (normOneParameter_injective σ δ hδ hσδ)).mono |
| 62 | rintro z ⟨a, rfl⟩ |
| 63 | exact normOneParameter_mem σ δ hδ hσδ a |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.RepresentationTheory.Weil.UnitarySplitting.NormOneParameters.Construction |