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.Boundary.Coordinates |
| 2 | |
| 3 | /-! # Optional Boundary Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Insert the new exceptional label while retaining all original unit and coordinate labels. -/ |
| 10 | |
| 11 | universe u v t |
| 12 | |
| 13 | def OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel {ι : Type v} {κ : Type t} (c : ι → Option κ) : |
| 14 | Option ι → Option (Option κ) |
| 15 | | none => some none |
| 16 | | some j => (c j).map some |
| 17 | |
| 18 | theorem OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel_distinct {ι : Type v} {κ : Type t} (c : ι → Option κ) |
| 19 | (hc : ∀ i j s, c i = some s → c j = some s → i = j) |
| 20 | (i j : Option ι) (s : Option κ) |
| 21 | (hi : OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel c i = some s) |
| 22 | (hj : OptionalBoundaryLabels.Construction.adjoinPartialBoundaryLabel c j = some s) : i = j := by |
| 23 | cases i with |
| 24 | | none => |
| 25 | have hs : s = none := Option.some.inj hi.symm |
| 26 | subst s |
| 27 | cases j with |
| 28 | | none => rfl |
| 29 | | some j => |
| 30 | change (c j).map some = some none at hj |
| 31 | cases h : c j <;> simp [h] at hj |
| 32 | | some i => |
| 33 | cases j with |
| 34 | | none => |
| 35 | have hs : s = none := Option.some.inj hj.symm |
| 36 | subst s |
| 37 | change (c i).map some = some none at hi |
| 38 | cases h : c i <;> simp [h] at hi |
| 39 | | some j => |
| 40 | change (c i).map some = some s at hi |
| 41 | change (c j).map some = some s at hj |
| 42 | cases hci : c i with |
| 43 | | none => simp only [hci, Option.map_none] at hi; cases hi |
| 44 | | some a => |
| 45 | cases hcj : c j with |
| 46 | | none => simp only [hcj, Option.map_none] at hj; cases hj |
| 47 | | some b => |
| 48 | have hi' : some a = s := by simpa only [hci, Option.map_some, Option.some.injEq] using hi |
| 49 | have hj' : some b = s := by simpa only [hcj, Option.map_some, Option.some.injEq] using hj |
| 50 | have hab : b = a := Option.some.inj (hj'.trans hi'.symm) |
| 51 | exact congrArg some (hc i j a hci (hcj.trans (congrArg some hab))) |
| 52 | |
| 53 | theorem Etale.BoundaryModel.Construction.EtaleBoundaryModel.boundaryCoordinate_distinct |
| 54 | {k R : Type u} {ι : Type v} [CommRing k] [CommRing R] [Algebra k R] |
| 55 | {w : ι → R} (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w) |
| 56 | (i j : ι) (s : M.boundaryIndices) |
| 57 | (hi : M.boundaryCoordinate i = some s) (hj : M.boundaryCoordinate j = some s) : i = j := by |
| 58 | apply M.distinct i j s.val |
| 59 | · rw [← M.boundaryCoordinate_map i, hi] |
| 60 | rfl |
| 61 | · rw [← M.boundaryCoordinate_map j, hj] |
| 62 | rfl |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Resolution.Blowups |