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.AlgebraicGeometry.Resolution.Blowups.Etale.BoundaryModel |
| 2 | |
| 3 | /-! # Coordinate Lift Choice -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CoordinateLiftChoice.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Choose lifts of quotient coordinates that retain exact ambient boundary equations. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | theorem exists_boundary_preserving_coordinate_lifts |
| 14 | {R Q : Type u} [CommRing R] [CommRing Q] (q : R →+* Q) (hq : Function.Surjective q) |
| 15 | {ι : Type u} {β : Type v} (x : ι → Q) (w a : β → R) (ha : ∀ j, IsUnit (a j)) |
| 16 | (e : β → Option ι) (he : ∀ i j s, e i = some s → e j = some s → i = j) |
| 17 | (hw : ∀ j, q (w j) = q (a j) * match e j with | none => 1 | some i => x i) |
| 18 | (hnone : ∀ j, e j = none → w j = a j) : |
| 19 | ∃ g : ι → R, (∀ i, q (g i) = x i) ∧ |
| 20 | ∀ j, w j = a j * match e j with | none => 1 | some i => g i := by |
| 21 | classical |
| 22 | choose v hv using fun i => hq (x i) |
| 23 | let g (i : ι) : R := if h : ∃ j, e j = some i then |
| 24 | ↑((ha h.choose).unit⁻¹) * w h.choose else v i |
| 25 | have hg (i : ι) : q (g i) = x i := by |
| 26 | dsimp only [g] |
| 27 | split_ifs with h |
| 28 | · rw [map_mul, hw, h.choose_spec] |
| 29 | change q (↑((ha h.choose).unit⁻¹)) * (q (a h.choose) * x i) = x i |
| 30 | have hunit : ↑((ha h.choose).unit⁻¹) * a h.choose = 1 := by |
| 31 | simpa only [(ha h.choose).unit_spec] using (ha h.choose).unit.inv_mul |
| 32 | rw [← mul_assoc, ← map_mul, hunit, map_one, one_mul] |
| 33 | · exact hv i |
| 34 | refine ⟨g, hg, ?_⟩ |
| 35 | intro j |
| 36 | cases hj : e j with |
| 37 | | none => rw [hnone j hj, mul_one] |
| 38 | | some i => |
| 39 | change w j = a j * g i |
| 40 | have h : ∃ l, e l = some i := ⟨j, hj⟩ |
| 41 | have hj' : h.choose = j := he h.choose j i h.choose_spec hj |
| 42 | have hgi : g i = ↑((ha j).unit⁻¹) * w j := by |
| 43 | dsimp only [g] |
| 44 | rw [dite_eq_left h, hj'] |
| 45 | have hunit : a j * ↑((ha j).unit⁻¹) = 1 := by |
| 46 | simpa only [(ha j).unit_spec] using (ha j).unit.mul_inv |
| 47 | rw [hgi, ← mul_assoc, hunit, one_mul] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CoordinateLiftChoice.Construction |