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.IntersectionTheory.ProjectionFormula.CoordinateBlockMap |
| 2 | |
| 3 | /-! # Disjoint Projective Blocks -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DisjointProjectiveBlocks |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two projective spaces embed as disjoint coordinate blocks in |
| 10 | one larger projective space, over the complex base. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem disjoint {a b n : ℕ} (j : Fin (a + 1) → Fin (n + 1)) (hj : Function.Injective j) |
| 18 | (k : Fin (b + 1) → Fin (n + 1)) (hk : Function.Injective k) |
| 19 | (hd : Disjoint (Set.range j) (Set.range k)) : |
| 20 | Disjoint (Set.range (CoordinateBlockMap.map j hj)) (Set.range (CoordinateBlockMap.map k hk)) := by |
| 21 | rw [Set.disjoint_left] at hd ⊢ |
| 22 | rintro _ ⟨p, rfl⟩ ⟨q, he⟩ |
| 23 | obtain ⟨i, hi⟩ := Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen a p |
| 24 | have hki : j i ∉ Set.range k := fun h => hd (Set.mem_range_self i) h |
| 25 | have hm := CoordinateBlockMap.outside_mem k hk q (j i) hki |
| 26 | rw [he] at hm |
| 27 | exact hi ((CoordinateBlockMap.coordinate_mem j hj p i).mp hm) |
| 28 | |
| 29 | def leftIndex (a b : ℕ) (i : Fin (a + 1)) : Fin ((a + b + 1) + 1) := ⟨i.val, by omega⟩ |
| 30 | |
| 31 | def rightIndex (a b : ℕ) (i : Fin (b + 1)) : Fin ((a + b + 1) + 1) := ⟨a + 1 + i.val, by omega⟩ |
| 32 | |
| 33 | theorem left_injective (a b : ℕ) : Function.Injective (leftIndex a b) := by |
| 34 | intro i j he |
| 35 | exact Fin.ext (congrArg (fun x : Fin ((a + b + 1) + 1) => x.val) he) |
| 36 | |
| 37 | theorem right_injective (a b : ℕ) : Function.Injective (rightIndex a b) := by |
| 38 | intro i j he |
| 39 | apply Fin.ext |
| 40 | have h := congrArg Fin.val he |
| 41 | change a + 1 + i.val = a + 1 + j.val at h |
| 42 | omega |
| 43 | |
| 44 | theorem indices_disjoint (a b : ℕ) : Disjoint (Set.range (leftIndex a b)) (Set.range (rightIndex a b)) := by |
| 45 | rw [Set.disjoint_left] |
| 46 | rintro _ ⟨i, rfl⟩ ⟨j, he⟩ |
| 47 | have h := congrArg Fin.val he |
| 48 | change a + 1 + j.val = i.val at h |
| 49 | omega |
| 50 | |
| 51 | def left (a b : ℕ) : Foundations.Scheme.ProjectiveSpace.projectiveSpace a ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace (a + b + 1) := |
| 52 | CoordinateBlockMap.map (leftIndex a b) (left_injective a b) |
| 53 | |
| 54 | def right (a b : ℕ) : Foundations.Scheme.ProjectiveSpace.projectiveSpace b ⟶ Foundations.Scheme.ProjectiveSpace.projectiveSpace (a + b + 1) := |
| 55 | CoordinateBlockMap.map (rightIndex a b) (right_injective a b) |
| 56 | |
| 57 | instance (a b : ℕ) : IsClosedImmersion (left a b) := inferInstanceAs |
| 58 | (IsClosedImmersion (CoordinateBlockMap.map (leftIndex a b) (left_injective a b))) |
| 59 | |
| 60 | instance (a b : ℕ) : IsClosedImmersion (right a b) := inferInstanceAs |
| 61 | (IsClosedImmersion (CoordinateBlockMap.map (rightIndex a b) (right_injective a b))) |
| 62 | |
| 63 | theorem left_over (a b : ℕ) : left a b ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (a + b + 1) = Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase a := |
| 64 | CoordinateBlockMap.over_base _ _ |
| 65 | |
| 66 | theorem right_over (a b : ℕ) : right a b ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase (a + b + 1) = Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase b := |
| 67 | CoordinateBlockMap.over_base _ _ |
| 68 | |
| 69 | theorem ranges_disjoint (a b : ℕ) : Disjoint (Set.range (left a b)) (Set.range (right a b)) := |
| 70 | disjoint _ (left_injective a b) _ (right_injective a b) (indices_disjoint a b) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DisjointProjectiveBlocks |