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 | /-! # Blowup Coordinate Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.BlowupCoordinateLabels.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Keep old boundary labels distinct from the new exceptional label. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {ι : Type v} {σ : Type u} [DecidableEq σ] |
| 14 | |
| 15 | /-- `none` labels the new exceptional divisor. The old denominator |
| 16 | component is removed, and every other old label keeps its coordinate. -/ |
| 17 | def blownBoundaryCoordinate (e : ι ↪ σ) (i : σ) : Option ι → Option σ |
| 18 | | none => some i |
| 19 | | some j => if e j = i then none else some (e j) |
| 20 | |
| 21 | theorem blownBoundaryCoordinate_distinct (e : ι ↪ σ) (i : σ) |
| 22 | (x y : Option ι) (s : σ) |
| 23 | (hx : blownBoundaryCoordinate e i x = some s) |
| 24 | (hy : blownBoundaryCoordinate e i y = some s) : x = y := by |
| 25 | cases x with |
| 26 | | none => |
| 27 | cases y with |
| 28 | | none => rfl |
| 29 | | some y => |
| 30 | simp only [blownBoundaryCoordinate, Option.some.injEq] at hx |
| 31 | simp only [blownBoundaryCoordinate] at hy |
| 32 | by_cases h : e y = i |
| 33 | · rw [ite_eq_left h] at hy |
| 34 | cases hy |
| 35 | · rw [ite_eq_right h] at hy |
| 36 | exact False.elim (h ((Option.some.inj hy).trans hx.symm)) |
| 37 | | some x => |
| 38 | cases y with |
| 39 | | none => |
| 40 | simp only [blownBoundaryCoordinate, Option.some.injEq] at hy |
| 41 | simp only [blownBoundaryCoordinate] at hx |
| 42 | by_cases h : e x = i |
| 43 | · rw [ite_eq_left h] at hx |
| 44 | cases hx |
| 45 | · rw [ite_eq_right h] at hx |
| 46 | exact False.elim (h ((Option.some.inj hx).trans hy.symm)) |
| 47 | | some y => |
| 48 | simp only [blownBoundaryCoordinate] at hx hy |
| 49 | by_cases hx' : e x = i |
| 50 | · rw [ite_eq_left hx'] at hx |
| 51 | cases hx |
| 52 | · rw [ite_eq_right hx'] at hx |
| 53 | by_cases hy' : e y = i |
| 54 | · rw [ite_eq_left hy'] at hy |
| 55 | cases hy |
| 56 | · rw [ite_eq_right hy'] at hy |
| 57 | exact congrArg some (e.injective ((Option.some.inj hx).trans (Option.some.inj hy).symm)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.BlowupCoordinateLabels.Construction |