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.AffineBasis |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeTrivializationBasis |
| 3 | |
| 4 | /-! # Local Source -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalSource.Construction.LocalSourceBasis |
| 7 | |
| 8 | /-! |
| 9 | # Relation source bases from local bases on the original base |
| 10 | |
| 11 | The relation source is a base change of the subgroup. A basis over an affine |
| 12 | base neighborhood supplies a basis on every affine object chart lying above |
| 13 | that neighborhood, even when the ambient object scheme is not affine. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u v |
| 19 | |
| 20 | theorem exists_basis_over_open |
| 21 | {H S R X : Scheme.{u}} (h : H ⟶ S) (a : X ⟶ S) (r : R ⟶ H) (s : R ⟶ X) |
| 22 | (hs : IsPullback r s h a) [IsFinite h] |
| 23 | (B : S.Opens) [IsAffine B] (D : X.Opens) [IsAffine D] (hD : D ≤ a ⁻¹ᵁ B) |
| 24 | {ι : Type v} |
| 25 | (b : letI := (h ∣_ B).appTop.hom.toAlgebra; |
| 26 | Module.Basis ι Γ(B.toScheme, ⊤) Γ((h ⁻¹ᵁ B).toScheme, ⊤)) : |
| 27 | letI := (s ∣_ D).appTop.hom.toAlgebra |
| 28 | Nonempty (Module.Basis ι Γ(D.toScheme, ⊤) Γ((s ⁻¹ᵁ D).toScheme, ⊤)) := by |
| 29 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 30 | have : IsAffine (h ⁻¹ᵁ B).toScheme := isAffine_of_isAffineHom (h ∣_ B) |
| 31 | have : IsAffine (s ⁻¹ᵁ D).toScheme := isAffine_of_isAffineHom (s ∣_ D) |
| 32 | have hR : s ⁻¹ᵁ D ≤ r ⁻¹ᵁ (h ⁻¹ᵁ B) := by |
| 33 | intro z hz |
| 34 | have he : h (r z) = a (s z) := congrArg (fun f => f z) hs.w |
| 35 | change h (r z) ∈ B |
| 36 | rw [he] |
| 37 | exact hD hz |
| 38 | let aD : D.toScheme ⟶ B.toScheme := a.resLE B D hD |
| 39 | let rD : (s ⁻¹ᵁ D).toScheme ⟶ (h ⁻¹ᵁ B).toScheme := |
| 40 | r.resLE (h ⁻¹ᵁ B) (s ⁻¹ᵁ D) hR |
| 41 | have hp : IsPullback rD (s ∣_ D) (h ∣_ B) aD := by |
| 42 | apply IsPullback.of_right (t := (isPullback_morphismRestrict h B).flip) |
| 43 | · simpa only [aD, rD, Scheme.Hom.resLE_comp_ι] using |
| 44 | (isPullback_morphismRestrict s D).flip.paste_horiz hs |
| 45 | · apply (cancel_mono B.ι).mp |
| 46 | dsimp only [aD, rD] |
| 47 | simp only [Category.assoc, morphismRestrict_ι, Scheme.Hom.resLE_comp_ι, |
| 48 | Scheme.Hom.resLE_comp_ι_assoc, hs.w, morphismRestrict_ι_assoc] |
| 49 | exact AffineBasis.Construction.AffineBasisTransfer.of_isPullback (h ∣_ B) aD rD (s ∣_ D) hp b |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LocalSource.Construction.LocalSourceBasis |