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.Quotients.FiniteDescent.AffineRationalOf |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.FiniteType |
| 3 | |
| 4 | /-! # Affine Rational Exists -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineRationalExists.Construction.AffineRationalCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finitely many rational coordinate functions detect an affine open of a separated scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem exists_finset {X Y : Scheme.{u}} [IsIntegral X] [X.IsSeparated] [IsAffine Y] |
| 17 | (f : X ⟶ Y) [LocallyOfFiniteType f] (U : X.affineOpens) [Nonempty U.1] : |
| 18 | ∃ T : Finset X.functionField, ∀ x : X, x ∈ U.1 ↔ |
| 19 | ∀ r ∈ T, ∃ b : X.presheaf.stalk x, algebraMap _ X.functionField b = r := by |
| 20 | classical |
| 21 | let β := (f.appLE ⊤ U.1 le_top).hom |
| 22 | let : Algebra Γ(Y, ⊤) Γ(X, U) := β.toAlgebra |
| 23 | have : Algebra.FiniteType Γ(Y, ⊤) Γ(X, U) := |
| 24 | f.finiteType_appLE (isAffineOpen_top Y) U.2 le_top |
| 25 | obtain ⟨T, hT⟩ := (inferInstance : Algebra.FiniteType Γ(Y, ⊤) Γ(X, U)).out |
| 26 | refine ⟨T.image (X.germToFunctionField U.1), fun x => ?_⟩ |
| 27 | constructor |
| 28 | · intro hx r hr |
| 29 | obtain ⟨a, _, rfl⟩ := Finset.mem_image.mp hr |
| 30 | exact ⟨X.presheaf.germ U.1 x hx a, X.algebraMap_germ_eq_germToFunctionField hx a⟩ |
| 31 | · intro hx |
| 32 | apply AffineRationalOf.Construction.AffineRationalDomain.mem_of_regular_coordinates U x |
| 33 | intro a |
| 34 | have ha : a ∈ Algebra.adjoin Γ(Y, ⊤) (T : Set Γ(X, U)) := by rw [hT]; trivial |
| 35 | induction ha using Algebra.adjoin_induction with |
| 36 | | mem a ha => exact hx _ (Finset.mem_image.mpr ⟨a, ha, rfl⟩) |
| 37 | | algebraMap c => |
| 38 | have : Nonempty (⊤ : X.Opens) := ⟨⟨x, trivial⟩⟩ |
| 39 | refine ⟨X.presheaf.germ ⊤ x trivial (f.appTop c), |
| 40 | (X.algebraMap_germ_eq_germToFunctionField (U := ⊤) |
| 41 | (show x ∈ (⊤ : X.Opens) from trivial) (f.appTop c)).trans ?_⟩ |
| 42 | change X.germToFunctionField ⊤ (f.appTop c) = |
| 43 | X.germToFunctionField U.1 (X.presheaf.map (homOfLE (show U.1 ≤ ⊤ from le_top)).op |
| 44 | (f.appTop c)) |
| 45 | exact (X.presheaf.germ_res_apply (homOfLE (show U.1 ≤ ⊤ from le_top)) |
| 46 | (genericPoint X) _ (f.appTop c)).symm |
| 47 | | add a b _ _ ha hb => |
| 48 | obtain ⟨a', ha'⟩ := ha |
| 49 | obtain ⟨b', hb'⟩ := hb |
| 50 | exact ⟨a' + b', by rw [map_add, map_add, ha', hb']⟩ |
| 51 | | mul a b _ _ ha hb => |
| 52 | obtain ⟨a', ha'⟩ := ha |
| 53 | obtain ⟨b', hb'⟩ := hb |
| 54 | exact ⟨a' * b', by rw [map_mul, map_mul, ha', hb']⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineRationalExists.Construction.AffineRationalCoordinates |