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.AffineGroupoidIs |
| 2 | |
| 3 | /-! # Affine Basis -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineBasis.Construction.AffineBasisTransfer |
| 6 | |
| 7 | /-! # Transport of affine source bases along pullbacks and arrow isomorphisms -/ |
| 8 | |
| 9 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | theorem of_isPullback {H S Y X : Scheme.{u}} |
| 14 | [IsAffine H] [IsAffine S] [IsAffine Y] [IsAffine X] |
| 15 | (h : H ⟶ S) (a : X ⟶ S) (r : Y ⟶ H) (s : Y ⟶ X) |
| 16 | (hs : IsPullback r s h a) {ι : Type v} |
| 17 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) : |
| 18 | letI := s.appTop.hom.toAlgebra |
| 19 | Nonempty (Module.Basis ι Γ(X, ⊤) Γ(Y, ⊤)) := by |
| 20 | obtain ⟨b', _⟩ := AffineGroupoidIs.Construction.AffineGroupoid.exists_basis_of_isPushout |
| 21 | h.appTop a.appTop r.appTop s.appTop (isPushout_appTop_of_isPullback hs) b |
| 22 | exact ⟨b'⟩ |
| 23 | |
| 24 | theorem of_arrowIso {H S Y X : Scheme.{u}} |
| 25 | [IsAffine H] [IsAffine S] [IsAffine Y] [IsAffine X] |
| 26 | {h : H ⟶ S} {s : Y ⟶ X} (e : Arrow.mk h ≅ Arrow.mk s) {ι : Type v} |
| 27 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) : |
| 28 | letI := s.appTop.hom.toAlgebra |
| 29 | Nonempty (Module.Basis ι Γ(X, ⊤) Γ(Y, ⊤)) := by |
| 30 | exact of_isPullback (H := H) (S := S) (Y := Y) (X := X) h e.inv.right e.inv.left s |
| 31 | (IsPullback.of_horiz_isIso ⟨e.inv.w⟩) b |
| 32 | |
| 33 | /-- A basis on one affine open restricts to every smaller affine open. -/ |
| 34 | theorem restrictLE {X S : Scheme.{u}} (f : X ⟶ S) [IsFinite f] |
| 35 | (U V : S.Opens) [IsAffine U] [IsAffine V] (hUV : U ≤ V) {ι : Type v} |
| 36 | (b : letI := (f ∣_ V).appTop.hom.toAlgebra; |
| 37 | Module.Basis ι Γ(V.toScheme, ⊤) Γ((f ⁻¹ᵁ V).toScheme, ⊤)) : |
| 38 | letI := (f ∣_ U).appTop.hom.toAlgebra |
| 39 | Nonempty (Module.Basis ι Γ(U.toScheme, ⊤) Γ((f ⁻¹ᵁ U).toScheme, ⊤)) := by |
| 40 | have : IsAffine (f ⁻¹ᵁ U).toScheme := isAffine_of_isAffineHom (f ∣_ U) |
| 41 | have : IsAffine (f ⁻¹ᵁ V).toScheme := isAffine_of_isAffineHom (f ∣_ V) |
| 42 | have hp : IsPullback (X.homOfLE (f.preimage_mono hUV)) (f ∣_ U) |
| 43 | (f ∣_ V) (S.homOfLE hUV) := by |
| 44 | apply IsPullback.of_right (t := (isPullback_morphismRestrict f V).flip) |
| 45 | · simpa only [Scheme.homOfLE_ι] using (isPullback_morphismRestrict f U).flip |
| 46 | · exact (morphismRestrict_homOfLE f U V hUV).symm |
| 47 | exact of_isPullback (f ∣_ V) (S.homOfLE hUV) (X.homOfLE (f.preimage_mono hUV)) |
| 48 | (f ∣_ U) hp b |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AffineBasis.Construction.AffineBasisTransfer |