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.TangentCarrierBoundaryReindex |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf.CongruencePullback |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.RefinementNeighborhood |
| 4 | |
| 5 | /-! # Tangent Carrier Inactive Boundary -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Boundary components absent from a point impose no extra restriction after an actual common open refinement. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem TangentCarrierBoundaryReindex.Construction.TangentCarrierComparisonAt.exists_with_inactive_boundary |
| 16 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} [Smooth f] {J H H' : X.IdealSheafData} |
| 17 | {β : Type} [Fintype β] (D : β → X.IdealSheafData) (F : Finset β) {n : ℕ} {x : X} |
| 18 | (A : TangentCarrierBoundaryReindex.Construction.TangentCarrierComparisonAt f J H H' (fun i : F => D i.val) n x) |
| 19 | (hx : x ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support) |
| 20 | (hF : ∀ i, i ∉ F → x ∉ (D i).support) : Nonempty (TangentCarrierBoundaryReindex.Construction.TangentCarrierComparisonAt f J H H' D n x) := by |
| 21 | classical |
| 22 | have hp : A.point ∈ ((Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).comap A.left).support := by |
| 23 | rw [Scheme.IdealSheafData.support_comap] |
| 24 | change A.left A.point ∈ (Blowups.Smooth.DifferentialIdealSheaf.Construction.smoothDifferentialIdealSheaf f J n).support |
| 25 | rwa [A.point_eq] |
| 26 | have hright : A.right A.point = x := |
| 27 | (A.congruence.point_eq_on_support A.point hp).symm.trans A.point_eq |
| 28 | let E : Bool × β → A.ambient.IdealSheafData := fun i => |
| 29 | if i.1 then (D i.2).comap A.left else (D i.2).comap A.right |
| 30 | let W := Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood E A.point |
| 31 | have hpW : A.point ∈ W := Boundary.RefinementNeighborhood.Construction.mem_boundaryRefinementNeighborhood E A.point |
| 32 | have hunit (i : β) (hi : i ∉ F) : |
| 33 | ((D i).comap A.left).comap W.ι = ⊤ ∧ ((D i).comap A.right).comap W.ι = ⊤ := by |
| 34 | have hl : A.point ∉ ((D i).comap A.left).support := by |
| 35 | rw [Scheme.IdealSheafData.support_comap] |
| 36 | change A.left A.point ∉ (D i).support |
| 37 | rw [A.point_eq] |
| 38 | exact hF i hi |
| 39 | have hr : A.point ∉ ((D i).comap A.right).support := by |
| 40 | rw [Scheme.IdealSheafData.support_comap] |
| 41 | change A.right A.point ∉ (D i).support |
| 42 | rw [hright] |
| 43 | exact hF i hi |
| 44 | exact ⟨Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood_unit E A.point (true, i) hl, |
| 45 | Boundary.RefinementNeighborhood.Construction.boundaryRefinementNeighborhood_unit E A.point (false, i) hr⟩ |
| 46 | refine ⟨{ ambient := W.toScheme |
| 47 | left := W.ι ≫ A.left |
| 48 | right := W.ι ≫ A.right |
| 49 | left_etale := inferInstance |
| 50 | right_etale := inferInstance |
| 51 | ground := ?_ |
| 52 | ideal := ?_ |
| 53 | carrier := ?_ |
| 54 | boundary := ?_ |
| 55 | congruence := A.congruence.comp W.ι |
| 56 | point := ⟨A.point, hpW⟩ |
| 57 | point_eq := A.point_eq }⟩ |
| 58 | · rw [Category.assoc, Category.assoc, A.ground] |
| 59 | · rw [Scheme.IdealSheafData.comap_comp, Scheme.IdealSheafData.comap_comp, A.ideal] |
| 60 | · rw [Scheme.IdealSheafData.comap_comp, Scheme.IdealSheafData.comap_comp, A.carrier] |
| 61 | · intro i |
| 62 | rw [Scheme.IdealSheafData.comap_comp, Scheme.IdealSheafData.comap_comp] |
| 63 | by_cases hi : i ∈ F |
| 64 | · rw [A.boundary ⟨i, hi⟩] |
| 65 | · exact (hunit i hi).1.trans (hunit i hi).2.symm |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Resolution.Blowups |