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.Affine.BaseChangeCoordinates |
| 2 | |
| 3 | /-! # Base Change Function Descent -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.BaseChangeFunctionDescent |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coefficient descent on every native affine open of a flat base |
| 10 | change of an algebra equalizer. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {A R P : Type} [CommRing A] [CommRing R] [CommRing P] |
| 15 | [Algebra A R] [Algebra A P] |
| 16 | (hi : Function.Injective (algebraMap A R)) (f g : R →ₐ[A] P) |
| 17 | (he : Function.Exact (Algebra.linearMap A R) (f.toLinearMap - g.toLinearMap)) |
| 18 | |
| 19 | include hi he in |
| 20 | theorem flat_pullback_fst_hasRegularFunctionDescent {X : Scheme} [IsAffine X] |
| 21 | (h : X ⟶ Spec (.of A)) [Flat h] : |
| 22 | RegularFunctionDescent.HasRegularFunctionDescent (pullback.fst h (Spec.map (CommRingCat.ofHom (algebraMap A R)))) := by |
| 23 | let : Algebra A Γ(X, ⊤) := Affine.StructureCoordinates.affineStructureAlgebra h |
| 24 | let : Module.Flat A Γ(X, ⊤) := Affine.StructureCoordinates.affineStructure_flat h |
| 25 | exact RegularFunctionDescent.HasRegularFunctionDescent.of_isomorphic |
| 26 | (RegularFunctionDescent.flatEqualizerSpecMap_hasRegularFunctionDescent (T := Γ(X, ⊤)) hi f g he) |
| 27 | (Affine.BaseChangeCoordinates.affineBaseChangeCoordinateIso (R := R) h).symm X.isoSpec.symm |
| 28 | (Affine.BaseChangeCoordinates.affineBaseChangeCoordinateIso_inv_fst h) |
| 29 | |
| 30 | include hi he in |
| 31 | theorem flat_isPullback_hasRegularFunctionDescent {X Z : Scheme} [IsAffine X] |
| 32 | (h : X ⟶ Spec (.of A)) [Flat h] (u : Z ⟶ X) (v : Z ⟶ Spec (.of R)) |
| 33 | (H : IsPullback u v h (Spec.map (CommRingCat.ofHom (algebraMap A R)))) : |
| 34 | RegularFunctionDescent.HasRegularFunctionDescent u := by |
| 35 | apply RegularFunctionDescent.HasRegularFunctionDescent.of_isomorphic (flat_pullback_fst_hasRegularFunctionDescent hi f g he h) |
| 36 | H.isoPullback.symm (Iso.refl X) |
| 37 | simpa only [Iso.symm_hom, Iso.refl_hom, Category.comp_id] using H.isoPullback_inv_fst |
| 38 | |
| 39 | include hi he in |
| 40 | theorem flat_isPullback_affineFunctionDescent {Y Z : Scheme} |
| 41 | (h : Y ⟶ Spec (.of A)) [Flat h] (u : Z ⟶ Y) (v : Z ⟶ Spec (.of R)) |
| 42 | (H : IsPullback u v h (Spec.map (CommRingCat.ofHom (algebraMap A R)))) |
| 43 | (U : Y.Opens) (hU : IsAffineOpen U) : RegularFunctionDescent.HasRegularFunctionDescent (u ∣_ U) := by |
| 44 | have : IsAffine U.toScheme := hU |
| 45 | exact flat_isPullback_hasRegularFunctionDescent hi f g he (U.ι ≫ h) (u ∣_ U) |
| 46 | ((u ⁻¹ᵁ U).ι ≫ v) ((isPullback_morphismRestrict u U).paste_vert H) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.RepresentationTheory.Theta.Geometric.BaseChangeFunctionDescent |