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.Theta.Adelic.QuadraticNormSquareClasses |
| 2 | import OAI.RepresentationTheory.Weil.Local.PrincipalSquareClasses |
| 3 | import OAI.RepresentationTheory.Weil.Local.CompactGroupIndex |
| 4 | |
| 5 | /-! # Quadratic Local Square Comparison -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalSquareComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The small norm-one and principal-unit square quotients have the same |
| 12 | cardinality for every nonsquare quadratic coefficient. -/ |
| 13 | |
| 14 | open Set _root_.Metric |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticNormSquareQuotient OAI.RepresentationTheory.Theta.Adelic.QuadraticNormChart OAI.RepresentationTheory.Theta.Adelic.QuadraticNormOperations.Small |
| 16 | open OAI.RepresentationTheory.Theta.Adelic.QuadraticNormSquareClasses OAI.RepresentationTheory.Theta.Adelic.QuadraticNormOperations |
| 17 | |
| 18 | variable {k : Type*} [NormedField k] [IsUltrametricDist k] [CharZero k] |
| 19 | |
| 20 | def principalNormSquareQuotientEquiv |
| 21 | (d : k) (hns : ¬ IsSquare d) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) (hdr : ‖d‖ * r ≤ 1) |
| 22 | (hP : (Weil.Local.SquareBall.Construction.principalSquareCoordinate : k → k) '' Metric.ball 0 r = Metric.ball 0 (‖(2 : k)‖ * r)) |
| 23 | (hT : QuadraticNormOperations.normSquareCoordinate d '' Metric.ball 0 r = Metric.ball 0 (‖(2 : k)‖ * r)) : |
| 24 | (Weil.Local.PrincipalSquareClasses.Construction.principalUnitSubgroup (k := k) r hr hr1 ⧸ |
| 25 | Weil.Local.QuadraticNormSubgroup.Construction.squareUnitsSubgroup (Weil.Local.PrincipalSquareClasses.Construction.principalUnitSubgroup (k := k) r hr hr1)) ≃ |
| 26 | (QuadraticNormOperations.Small.normSmallSubgroup d hns r hr hr1 hdr ⧸ |
| 27 | Weil.Local.QuadraticNormSubgroup.Construction.squareUnitsSubgroup (QuadraticNormOperations.Small.normSmallSubgroup d hns r hr hr1 hdr)) := by |
| 28 | let e := (Weil.Local.PrincipalSquareClasses.Construction.principalUnitChart (k := k) r hr hr1).symm.trans (QuadraticNormOperations.Small.normSmallChart d hns r hr hr1 hdr) |
| 29 | have he (a : Weil.Local.PrincipalSquareClasses.Construction.principalUnitSubgroup (k := k) r hr hr1) : |
| 30 | QuadraticNormChart.normCoordinate d (e a).val = a.val.val - 1 := by |
| 31 | change QuadraticNormChart.normCoordinate d (QuadraticNormChart.normChart d hns (a.val.val - 1)) = a.val.val - 1 |
| 32 | exact QuadraticNormChart.normCoordinate_chart d hns _ |
| 33 | refine Quotient.congr e fun a b => ?_ |
| 34 | rw [QuotientGroup.leftRel_apply, QuotientGroup.leftRel_apply, |
| 35 | Weil.Local.PrincipalSquareClasses.Construction.principalUnit_mem_squares_iff r hr hr1 hP, |
| 36 | QuadraticNormSquareClasses.normSmall_mem_squares_iff d hns r hr hr1 hdr hT, |
| 37 | Weil.Local.PrincipalSquareClasses.Construction.principalUnit_inverse_mul_norm, QuadraticNormSquareClasses.normSmall_inverse_mul_norm, he, he] |
| 38 | |
| 39 | theorem principalNorm_square_index_eq |
| 40 | (d : k) (hns : ¬ IsSquare d) (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) (hdr : ‖d‖ * r ≤ 1) |
| 41 | (hP : (Weil.Local.SquareBall.Construction.principalSquareCoordinate : k → k) '' Metric.ball 0 r = Metric.ball 0 (‖(2 : k)‖ * r)) |
| 42 | (hT : QuadraticNormOperations.normSquareCoordinate d '' Metric.ball 0 r = Metric.ball 0 (‖(2 : k)‖ * r)) : |
| 43 | (Weil.Local.QuadraticNormSubgroup.Construction.squareUnitsSubgroup (Weil.Local.PrincipalSquareClasses.Construction.principalUnitSubgroup (k := k) r hr hr1)).index = |
| 44 | (Weil.Local.QuadraticNormSubgroup.Construction.squareUnitsSubgroup (QuadraticNormOperations.Small.normSmallSubgroup d hns r hr hr1 hdr)).index := |
| 45 | Nat.card_congr (principalNormSquareQuotientEquiv d hns r hr hr1 hdr hP hT) |
| 46 | |
| 47 | theorem exists_principalNorm_square_index_eq |
| 48 | {k : Type*} [NontriviallyNormedField k] [CompleteSpace k] [CharZero k] [IsUltrametricDist k] |
| 49 | (d : k) (hns : ¬ IsSquare d) : |
| 50 | ∃ (r : ℝ) (hr : 0 < r) (hr1 : r ≤ 1) (hdr : ‖d‖ * r ≤ 1), r ≤ ‖(2 : k)‖ ∧ |
| 51 | (Weil.Local.QuadraticNormSubgroup.Construction.squareUnitsSubgroup (Weil.Local.PrincipalSquareClasses.Construction.principalUnitSubgroup (k := k) r hr hr1)).index = |
| 52 | (Weil.Local.QuadraticNormSubgroup.Construction.squareUnitsSubgroup (QuadraticNormOperations.Small.normSmallSubgroup d hns r hr hr1 hdr)).index := by |
| 53 | obtain ⟨r, hr, hr1, hr2, hdr, hP, hT⟩ := |
| 54 | QuadraticSquareBall.exists_common_square_ball_radius d |
| 55 | exact ⟨r, hr, hr1, hdr, hr2, principalNorm_square_index_eq d hns r hr hr1 hdr hP hT⟩ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.RepresentationTheory.Theta.Adelic.QuadraticLocalSquareComparison |