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.IdealSheaf.CongruenceLocal |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.ControlledIdealKernel |
| 3 | |
| 4 | /-! # Congruence Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! It suffices to check intrinsic congruence on open neighborhoods of the two pulled-back supports. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem CongruentMaps.Construction.IdealSheafCongruent.of_comap_top {U X : Scheme.{u}} (a b : U ⟶ X) (T : X.IdealSheafData) |
| 17 | (ha : T.comap a = ⊤) (hb : T.comap b = ⊤) : CongruentMaps.Construction.IdealSheafCongruent a b T := by |
| 18 | refine ⟨ha.trans hb.symm, ?_⟩ |
| 19 | let : IsEmpty (T.comap a).subscheme := ⟨fun x => by |
| 20 | have hrange : Set.range (T.comap a).subschemeι = (∅ : Set U) := by |
| 21 | rw [Scheme.IdealSheafData.range_subschemeι, ha, Scheme.IdealSheafData.support_top] |
| 22 | rfl |
| 23 | have hx : (T.comap a).subschemeι x ∈ (∅ : Set U) := by |
| 24 | rw [← hrange] |
| 25 | exact ⟨x, rfl⟩ |
| 26 | exact hx⟩ |
| 27 | exact isInitialOfIsEmpty.hom_ext _ _ |
| 28 | |
| 29 | theorem CongruentMaps.Construction.IdealSheafCongruent.of_neighborhoods {U X : Scheme.{u}} [IsLocallyNoetherian U] |
| 30 | (a b : U ⟶ X) (T : X.IdealSheafData) |
| 31 | (h : ∀ x : U, ∃ (V : Scheme.{u}) (j : V ⟶ U), |
| 32 | IsOpenImmersion j ∧ x ∈ Set.range j ∧ CongruentMaps.Construction.IdealSheafCongruent (j ≫ a) (j ≫ b) T) : |
| 33 | CongruentMaps.Construction.IdealSheafCongruent a b T := by |
| 34 | classical |
| 35 | choose V j hj hx hc using h |
| 36 | let C : U.OpenCover := Scheme.Cover.mkOfCovers U V j (fun x => ⟨x, hx x⟩) hj |
| 37 | exact CongruentMaps.Construction.IdealSheafCongruent.of_openCover T C hc |
| 38 | |
| 39 | theorem CongruentMaps.Construction.IdealSheafCongruent.of_support_neighborhoods {U X : Scheme.{u}} [IsLocallyNoetherian U] |
| 40 | (a b : U ⟶ X) (T : X.IdealSheafData) |
| 41 | (h : ∀ x : U, x ∈ (T.comap a).support ∨ x ∈ (T.comap b).support → |
| 42 | ∃ (V : Scheme.{u}) (j : V ⟶ U), |
| 43 | IsOpenImmersion j ∧ x ∈ Set.range j ∧ CongruentMaps.Construction.IdealSheafCongruent (j ≫ a) (j ≫ b) T) : |
| 44 | CongruentMaps.Construction.IdealSheafCongruent a b T := by |
| 45 | classical |
| 46 | apply CongruentMaps.Construction.IdealSheafCongruent.of_neighborhoods a b T |
| 47 | intro x |
| 48 | by_cases hx : x ∈ (T.comap a).support ∨ x ∈ (T.comap b).support |
| 49 | · exact h x hx |
| 50 | · let W : U.Opens := (T.comap a).support.compl ⊓ (T.comap b).support.compl |
| 51 | have hxW : x ∈ W := ⟨fun ha => hx (Or.inl ha), fun hb => hx (Or.inr hb)⟩ |
| 52 | refine ⟨W, W.ι, inferInstance, ⟨⟨x, hxW⟩, rfl⟩, CongruentMaps.Construction.IdealSheafCongruent.of_comap_top _ _ T ?_ ?_⟩ |
| 53 | · rw [Scheme.IdealSheafData.comap_comp] |
| 54 | exact ControlledIdealKernel.Construction.idealSheaf_comap_eq_top_of_avoids_support (T.comap a) W.ι (fun y => y.property.1) |
| 55 | · rw [Scheme.IdealSheafData.comap_comp] |
| 56 | exact ControlledIdealKernel.Construction.idealSheaf_comap_eq_top_of_avoids_support (T.comap b) W.ι (fun y => y.property.2) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Resolution.Blowups.IdealSheaf |