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.Disjoint.BoundaryRefinement |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBoundary.Labels |
| 3 | |
| 4 | /-! # Refinement Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A disjoint boundary refinement becomes a partial relabelling with unit factors on actual neighborhoods. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | def Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood {X : Scheme} {γ : Type} [Fintype γ] |
| 15 | (E : γ → X.IdealSheafData) (x : X) : X.Opens := by |
| 16 | classical |
| 17 | exact ⨅ j, if x ∈ (E j).support then ⊤ else (E j).support.compl |
| 18 | |
| 19 | theorem Boundary.RefinementNeighborhood.Construction.mem_boundaryRefinementNeighborhood {X : Scheme} {γ : Type} [Fintype γ] |
| 20 | (E : γ → X.IdealSheafData) (x : X) : x ∈ Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood E x := by |
| 21 | classical |
| 22 | change x ∈ ((⨅ j, if x ∈ (E j).support then ⊤ else (E j).support.compl : X.Opens) : Set X) |
| 23 | rw [TopologicalSpace.Opens.coe_iInf] |
| 24 | apply Set.mem_iInter.mpr |
| 25 | intro j |
| 26 | split_ifs with h |
| 27 | · trivial |
| 28 | · exact h |
| 29 | |
| 30 | theorem Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood_unit |
| 31 | {X : Scheme} {γ : Type} [Fintype γ] (E : γ → X.IdealSheafData) (x : X) |
| 32 | (j : γ) (hj : x ∉ (E j).support) : |
| 33 | (E j).comap (Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood E x).ι = ⊤ := by |
| 34 | classical |
| 35 | have hle : Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood E x ≤ (E j).support.compl := |
| 36 | (iInf_le (fun k => if x ∈ (E k).support then ⊤ else (E k).support.compl) j).trans |
| 37 | (by rw [ite_eq_right hj]) |
| 38 | exact ControlledIdealKernel.Construction.idealSheaf_comap_eq_top_of_avoids_support (E j) _ (fun y => hle y.property) |
| 39 | |
| 40 | def Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel {X : Scheme} {β γ : Type} |
| 41 | (r : γ → β) (E : γ → X.IdealSheafData) (x : X) (j : γ) : Option β := by |
| 42 | classical |
| 43 | exact if x ∈ (E j).support then some (r j) else none |
| 44 | |
| 45 | theorem Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel_eq_some {X : Scheme} {β γ : Type} |
| 46 | (r : γ → β) (E : γ → X.IdealSheafData) (x : X) (j : γ) (i : β) : |
| 47 | Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel r E x j = some i ↔ x ∈ (E j).support ∧ r j = i := by |
| 48 | classical |
| 49 | by_cases hj : x ∈ (E j).support <;> simp [Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel, hj] |
| 50 | |
| 51 | theorem Disjoint.BoundaryRefinement.Construction.DisjointBoundaryRefinement.eq_of_mem_support |
| 52 | {X : Scheme} {β γ : Type} [Fintype γ] {r : γ → β} |
| 53 | {D : β → X.IdealSheafData} {E : γ → X.IdealSheafData} |
| 54 | (B : Disjoint.BoundaryRefinement.Construction.DisjointBoundaryRefinement r D E) (x : X) (i j : γ) (hr : r i = r j) |
| 55 | (hi : x ∈ (E i).support) (hj : x ∈ (E j).support) : i = j := by |
| 56 | by_contra hne |
| 57 | have h : x ∈ (E i ⊔ E j).support := by |
| 58 | rw [Scheme.IdealSheafData.support_sup] |
| 59 | exact ⟨hi, hj⟩ |
| 60 | rw [B.disjoint i j hne hr, Scheme.IdealSheafData.support_top] at h |
| 61 | exact h |
| 62 | |
| 63 | theorem Disjoint.BoundaryRefinement.Construction.DisjointBoundaryRefinement.partialLabel_injective |
| 64 | {X : Scheme} {β γ : Type} [Fintype γ] {r : γ → β} |
| 65 | {D : β → X.IdealSheafData} {E : γ → X.IdealSheafData} |
| 66 | (B : Disjoint.BoundaryRefinement.Construction.DisjointBoundaryRefinement r D E) (x : X) (i j : γ) (s : β) |
| 67 | (hi : Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel r E x i = some s) |
| 68 | (hj : Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel r E x j = some s) : i = j := by |
| 69 | have hi' := (Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel_eq_some r E x i s).mp hi |
| 70 | have hj' := (Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel_eq_some r E x j s).mp hj |
| 71 | exact B.eq_of_mem_support x i j (hi'.2.trans hj'.2.symm) hi'.1 hj'.1 |
| 72 | |
| 73 | theorem Disjoint.BoundaryRefinement.Construction.DisjointBoundaryRefinement.local_label_eq |
| 74 | {X : Scheme} {β γ : Type} [Fintype γ] {r : γ → β} |
| 75 | {D : β → X.IdealSheafData} {E : γ → X.IdealSheafData} |
| 76 | (B : Disjoint.BoundaryRefinement.Construction.DisjointBoundaryRefinement r D E) (x : X) (j : γ) : |
| 77 | (E j).comap (Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood E x).ι = |
| 78 | match Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel r E x j with |
| 79 | | none => ⊤ |
| 80 | | some i => (D i).comap (Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood E x).ι := by |
| 81 | classical |
| 82 | by_cases hj : x ∈ (E j).support |
| 83 | · simp only [Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel, ite_eq_left hj] |
| 84 | rw [B.product (r j), Finite.DisjointCenterSequence.Construction.idealSheaf_comap_finset_prod] |
| 85 | symm |
| 86 | apply Finset.prod_eq_single j |
| 87 | · intro k hk hkj |
| 88 | have hnot : x ∉ (E k).support := fun h => hkj |
| 89 | (B.eq_of_mem_support x k j ((Disjoint.BoundaryRefinement.Construction.mem_boundaryRefinementFiber r (r j) k).mp hk) h hj) |
| 90 | exact (Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood_unit E x k hnot).trans |
| 91 | Scheme.IdealSheafData.one_eq_top.symm |
| 92 | · intro hnot |
| 93 | exact False.elim (hnot ((Disjoint.BoundaryRefinement.Construction.mem_boundaryRefinementFiber r (r j) j).mpr rfl)) |
| 94 | · simp only [Boundary.RefinementNeighborhood.Construction.boundaryRefinementPartialLabel, ite_eq_right hj] |
| 95 | exact Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood_unit E x j hj |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Resolution.Blowups |