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 | /-! # Extend Unit Labels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restore inactive original boundary labels as the actual invertible equations. -/ |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | variable {k R : Type u} {ι : Type v} [CommRing k] [CommRing R] [Algebra k R] |
| 14 | (w : ι → R) (B : Finset ι) |
| 15 | |
| 16 | /-- A model for the selected equations extends to the original family |
| 17 | when every omitted equation is invertible. The omitted labels are |
| 18 | retained as unit components, with their actual equations. -/ |
| 19 | def Etale.BoundaryModel.Construction.EtaleBoundaryModel.extendUnitLabels |
| 20 | (M : Etale.BoundaryModel.Construction.EtaleBoundaryModel k R B (fun j => w j.val)) |
| 21 | (hu : ∀ j, j ∉ B → IsUnit (w j)) : Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w := by |
| 22 | classical |
| 23 | refine |
| 24 | { indices := M.indices |
| 25 | finite := M.finite |
| 26 | decidableEq := M.decidableEq |
| 27 | map := M.map |
| 28 | etale := M.etale |
| 29 | ground := M.ground |
| 30 | coordinate := fun j => if hj : j ∈ B then M.coordinate ⟨j, hj⟩ else none |
| 31 | distinct := ?_ |
| 32 | multiplier := fun j => if hj : j ∈ B then M.multiplier ⟨j, hj⟩ else w j |
| 33 | multiplierUnit := ?_ |
| 34 | equation := ?_ } |
| 35 | · intro i j s hi hj |
| 36 | by_cases hbi : i ∈ B |
| 37 | · by_cases hbj : j ∈ B |
| 38 | · rw [dite_eq_left hbi] at hi |
| 39 | rw [dite_eq_left hbj] at hj |
| 40 | exact congrArg Subtype.val (M.distinct ⟨i, hbi⟩ ⟨j, hbj⟩ s hi hj) |
| 41 | · rw [dite_eq_right hbj] at hj |
| 42 | cases hj |
| 43 | · rw [dite_eq_right hbi] at hi |
| 44 | cases hi |
| 45 | · intro j |
| 46 | by_cases hj : j ∈ B |
| 47 | · rw [dite_eq_left hj] |
| 48 | exact M.multiplierUnit ⟨j, hj⟩ |
| 49 | · rw [dite_eq_right hj] |
| 50 | exact hu j hj |
| 51 | · intro j |
| 52 | by_cases hj : j ∈ B |
| 53 | · rw [dite_eq_left hj, dite_eq_left hj] |
| 54 | exact M.equation ⟨j, hj⟩ |
| 55 | · rw [dite_eq_right hj, dite_eq_right hj] |
| 56 | exact (mul_one (w j)).symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Resolution.Blowups |