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.RepresentationTheory.Theta.Geometric.FlatAffineFunctionDescent |
| 2 | |
| 3 | /-! # Regular Function Descent -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.RegularFunctionDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Descent of compatible native regular functions, and its invariance |
| 10 | under actual scheme isomorphisms used by affine charts. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | def HasRegularFunctionDescent {X Y : Scheme} (f : X ⟶ Y) : Prop := |
| 16 | ∀ r : Γ(X, ⊤), |
| 17 | (∀ {Z : Scheme} (a b : Z ⟶ X), a ≫ f = b ≫ f → a.appTop r = b.appTop r) → |
| 18 | ∃ s : Γ(Y, ⊤), f.appTop s = r |
| 19 | |
| 20 | theorem flatEqualizerSpecMap_hasRegularFunctionDescent |
| 21 | {A R P T : Type} [CommRing A] [CommRing R] [CommRing P] [CommRing T] |
| 22 | [Algebra A R] [Algebra A P] [Algebra A T] [Module.Flat A T] |
| 23 | (hi : Function.Injective (algebraMap A R)) (f g : R →ₐ[A] P) |
| 24 | (he : Function.Exact (Algebra.linearMap A R) (f.toLinearMap - g.toLinearMap)) : |
| 25 | HasRegularFunctionDescent (FlatAffineFunctionDescent.flatEqualizerSpecMap A R T) := by |
| 26 | intro r hr |
| 27 | exact (FlatAffineFunctionDescent.existsUnique_flatEqualizer_function_descent hi f g he r hr).exists |
| 28 | |
| 29 | theorem HasRegularFunctionDescent.of_isomorphic |
| 30 | {X Y X' Y' : Scheme} {f : X ⟶ Y} {f' : X' ⟶ Y'} |
| 31 | (h : HasRegularFunctionDescent f') (eX : X' ≅ X) (eY : Y' ≅ Y) |
| 32 | (he : eX.hom ≫ f = f' ≫ eY.hom) : HasRegularFunctionDescent f := by |
| 33 | intro r hr |
| 34 | have hr' : ∀ {Z : Scheme} (a b : Z ⟶ X'), a ≫ f' = b ≫ f' → |
| 35 | a.appTop (eX.hom.appTop r) = b.appTop (eX.hom.appTop r) := by |
| 36 | intro Z a b hab |
| 37 | apply hr (a ≫ eX.hom) (b ≫ eX.hom) |
| 38 | calc |
| 39 | (a ≫ eX.hom) ≫ f = (a ≫ f') ≫ eY.hom := by rw [Category.assoc, he, Category.assoc] |
| 40 | _ = (b ≫ f') ≫ eY.hom := congrArg (fun k => k ≫ eY.hom) hab |
| 41 | _ = (b ≫ eX.hom) ≫ f := by simp only [Category.assoc, he] |
| 42 | obtain ⟨s, hs⟩ := h (eX.hom.appTop r) hr' |
| 43 | refine ⟨eY.inv.appTop s, ?_⟩ |
| 44 | have : IsIso eX.hom.appTop := inferInstanceAs (IsIso (Scheme.Γ.map eX.hom.op)) |
| 45 | apply (ConcreteCategory.bijective_of_isIso eX.hom.appTop).injective |
| 46 | have he' : eX.hom ≫ f ≫ eY.inv = f' := by |
| 47 | rw [← Category.assoc, he, Category.assoc, eY.hom_inv_id, Category.comp_id] |
| 48 | have H := congrArg (fun k : X' ⟶ Y' => k.appTop s) he' |
| 49 | exact H.trans hs |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.RepresentationTheory.Theta.Geometric.RegularFunctionDescent |