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.PrincipalSquareClasses |
| 2 | import OAI.RepresentationTheory.Weil.Local.QuadraticNormAt |
| 3 | import OAI.RepresentationTheory.Weil.Local.SquareIndexTools |
| 4 | |
| 5 | /-! # Norm Square Kernels -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.Local.NormSquareKernels.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Both compact one-dimensional groups have exactly two elements killed by squaring. -/ |
| 12 | |
| 13 | theorem normUnit_square_kernel_card |
| 14 | {k : Type*} [NormedField k] [CharZero k] : |
| 15 | Nat.card (powMonoidHom 2 : PrincipalSquareClasses.Construction.normUnitSubgroup k →* PrincipalSquareClasses.Construction.normUnitSubgroup k).ker = 2 := by |
| 16 | let ε : PrincipalSquareClasses.Construction.normUnitSubgroup k := ⟨(-1 : kˣ), by change ‖(-1 : k)‖ = 1; simp⟩ |
| 17 | apply SquareIndexTools.Construction.square_kernel_card_two ε |
| 18 | · intro he |
| 19 | have hh : (-1 : k) = 1 := congrArg (fun u : PrincipalSquareClasses.Construction.normUnitSubgroup k => u.val.val) he |
| 20 | norm_num at hh |
| 21 | · intro x |
| 22 | constructor |
| 23 | · intro hx |
| 24 | have hs : x.val.val ^ 2 = 1 := congrArg (fun u : PrincipalSquareClasses.Construction.normUnitSubgroup k => u.val.val) hx |
| 25 | rcases sq_eq_one_iff.mp hs with hs | hs |
| 26 | · left; apply Subtype.ext; exact Units.ext hs |
| 27 | · right; apply Subtype.ext; exact Units.ext hs |
| 28 | · rintro (rfl | rfl) |
| 29 | · exact one_pow 2 |
| 30 | · apply Subtype.ext |
| 31 | apply Units.ext |
| 32 | change (-1 : k) ^ 2 = 1 |
| 33 | ring |
| 34 | |
| 35 | theorem normOne_square_kernel_card |
| 36 | {k : Type*} [Field k] [CharZero k] : |
| 37 | Nat.card (powMonoidHom 2 : QuadraticNormAt.Construction.QuadraticNormOne k →* QuadraticNormAt.Construction.QuadraticNormOne k).ker = 2 := by |
| 38 | apply SquareIndexTools.Construction.square_kernel_card_two QuadraticNormAt.Construction.QuadraticNormOne.minusOne |
| 39 | · intro he |
| 40 | have hh : (-1 : k) = 1 := congrArg (fun p : QuadraticNormAt.Construction.QuadraticNormOne k => p.val.1) he |
| 41 | norm_num at hh |
| 42 | · exact QuadraticNormAt.Construction.QuadraticNormOne.sq_eq_one_iff |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.RepresentationTheory.Weil.Local.NormSquareKernels.Construction |