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.GlobalCoefficient.BoundRestriction |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalComponent.FiniteBound |
| 3 | |
| 4 | /-! # Canonical Global Coefficient Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The least global coefficient bound is independent of the finite atlas and cannot increase under étale restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {J : X.IdealSheafData} {n : ℕ} |
| 15 | |
| 16 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.hasBound_iff_atlas (A B : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (m : ℕ) : |
| 17 | (∀ i, (A.choice i).HasBound m) ↔ ∀ i, (B.choice i).HasBound m := by |
| 18 | constructor |
| 19 | · intro h i |
| 20 | exact A.hasBound_restrict_etale m h (B.rings i) (B.map i) (B.ground i) |
| 21 | (B.ideals i) (B.ideal_eq i) (B.choice i) |
| 22 | · intro h i |
| 23 | exact B.hasBound_restrict_etale m h (A.rings i) (A.map i) (A.ground i) |
| 24 | (A.ideals i) (A.ideal_eq i) (A.choice i) |
| 25 | |
| 26 | def GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.coefficientBound (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (hc : A.center = ⊤) : ℕ := by |
| 27 | classical |
| 28 | exact Nat.find (A.exists_uniform_bound hc) |
| 29 | |
| 30 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.hasBound_coefficientBound (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (hc : A.center = ⊤) : |
| 31 | ∀ i, (A.choice i).HasBound (A.coefficientBound hc) := by |
| 32 | classical |
| 33 | exact Nat.find_spec (A.exists_uniform_bound hc) |
| 34 | |
| 35 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.coefficientBound_le_iff (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (hc : A.center = ⊤) (m : ℕ) : |
| 36 | A.coefficientBound hc ≤ m ↔ ∀ i, (A.choice i).HasBound m := by |
| 37 | classical |
| 38 | constructor |
| 39 | · intro h i |
| 40 | exact (A.choice i).hasBound_mono (A.hasBound_coefficientBound hc i) h |
| 41 | · intro h |
| 42 | exact Nat.find_min' (A.exists_uniform_bound hc) h |
| 43 | |
| 44 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.coefficientBound_eq (A B : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) |
| 45 | (hA : A.center = ⊤) (hB : B.center = ⊤) : A.coefficientBound hA = B.coefficientBound hB := by |
| 46 | apply Nat.le_antisymm |
| 47 | · apply (A.coefficientBound_le_iff hA _).mpr |
| 48 | exact (A.hasBound_iff_atlas B _).mpr (B.hasBound_coefficientBound hB) |
| 49 | · apply (B.coefficientBound_le_iff hB _).mpr |
| 50 | exact (A.hasBound_iff_atlas B _).mp (A.hasBound_coefficientBound hA) |
| 51 | |
| 52 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.hasBound_comap_etale (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (m : ℕ) |
| 53 | (hb : ∀ i, (A.choice i).HasBound m) {Y : Scheme} (g : Y ⟶ X) [Etale g] |
| 54 | (B : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas (g ≫ f) (J.comap g) n) : ∀ i, (B.choice i).HasBound m := by |
| 55 | intro i |
| 56 | apply A.hasBound_restrict_etale m hb (B.rings i) (B.map i ≫ g) |
| 57 | · rw [Category.assoc] |
| 58 | exact B.ground i |
| 59 | · rw [Scheme.IdealSheafData.comap_comp] |
| 60 | exact B.ideal_eq i |
| 61 | |
| 62 | theorem GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas.coefficientBound_comap_etale_le (A : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas f J n) (hA : A.center = ⊤) |
| 63 | {Y : Scheme} (g : Y ⟶ X) [Etale g] |
| 64 | (B : GlobalComponent.ChoiceAtlas.Construction.GlobalComponentChoiceAtlas (g ≫ f) (J.comap g) n) (hB : B.center = ⊤) : |
| 65 | B.coefficientBound hB ≤ A.coefficientBound hA := |
| 66 | (B.coefficientBound_le_iff hB _).mpr |
| 67 | (A.hasBound_comap_etale _ (A.hasBound_coefficientBound hA) g B) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Resolution.Blowups |