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.Lattices.UpperUnipotentBlockRetraction |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Weight.ProjectionKernel |
| 3 | |
| 4 | /-! # Upper Unipotent Block Kernel -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.UpperUnipotentBlockKernel.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The equal-weight block retraction has precisely the strict |
| 11 | weight-raising kernel and the equal-weight block image. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | theorem upperUnitriangularBlockProjection_kernel_iff {n : ℕ} |
| 16 | (w : Fin n → ℝ) (hw : Antitone w) (g : UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup n) : |
| 17 | g ∈ (UpperUnipotentBlockRetraction.Construction.upperUnitriangularBlockProjection w hw).ker ↔ |
| 18 | ∀ i j, w i ≤ w j → (g.val.val - 1) i j = 0 := by |
| 19 | constructor |
| 20 | · intro hg |
| 21 | have he : Weight.BlockProjection.Construction.weightBlockProjection w g.val.val = 1 := |
| 22 | congrArg (fun x : UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup n => x.val.val) hg |
| 23 | exact Weight.ProjectionKernel.Construction.matrix_filtered_projection_sub_one w g.val.val |
| 24 | (UpperUnitriangularGroup.Construction.upper_triangular_ordered_weight_filtered w hw g.val.val g.property.1) he |
| 25 | · intro hg |
| 26 | change UpperUnipotentBlockRetraction.Construction.upperUnitriangularBlockProjection w hw g = 1 |
| 27 | apply Subtype.ext |
| 28 | apply Units.ext |
| 29 | ext i j |
| 30 | change Weight.BlockProjection.Construction.weightBlockProjection w g.val.val i j = (1 : Matrix (Fin n) (Fin n) ℝ) i j |
| 31 | rw [Weight.BlockProjection.Construction.weightBlockProjection_apply] |
| 32 | by_cases hij : w i = w j |
| 33 | · rw [ite_eq_left hij] |
| 34 | exact sub_eq_zero.mp (hg i j hij.le) |
| 35 | · rw [ite_eq_right hij, Matrix.one_apply_ne (fun he => hij (congrArg w he))] |
| 36 | |
| 37 | theorem upperUnitriangularBlockProjection_range_iff {n : ℕ} |
| 38 | (w : Fin n → ℝ) (hw : Antitone w) (g : UpperUnitriangularGroup.Construction.upperUnitriangularMatrixGroup n) : |
| 39 | g ∈ (UpperUnipotentBlockRetraction.Construction.upperUnitriangularBlockProjection w hw).range ↔ |
| 40 | ∀ i j, w i ≠ w j → g.val.val i j = 0 := by |
| 41 | constructor |
| 42 | · rintro ⟨h, rfl⟩ i j hij |
| 43 | rw [UpperUnipotentBlockRetraction.Construction.upperUnitriangularBlockProjection_val, Weight.BlockProjection.Construction.weightBlockProjection_apply, ite_eq_right hij] |
| 44 | · intro hg |
| 45 | refine ⟨g, ?_⟩ |
| 46 | apply Subtype.ext |
| 47 | apply Units.ext |
| 48 | ext i j |
| 49 | change Weight.BlockProjection.Construction.weightBlockProjection w g.val.val i j = g.val.val i j |
| 50 | rw [Weight.BlockProjection.Construction.weightBlockProjection_apply] |
| 51 | by_cases hij : w i = w j |
| 52 | · rw [ite_eq_left hij] |
| 53 | · rw [ite_eq_right hij, hg i j hij] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.ArithmeticGroups.Lattices.UpperUnipotentBlockKernel.Construction |