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.ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricPrincipal |
| 3 | |
| 4 | /-! # Affine Open Geometric Domain -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.AffineOpenGeometricDomain.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The coordinate algebra of an affine open in a smooth geometrically |
| 11 | irreducible scheme remains a domain after every field extension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem affine_open_tensor_domain |
| 19 | (K L A : Type u) [Field K] [Field L] [Algebra K L] |
| 20 | [CommRing A] [IsDomain A] [Algebra K A] |
| 21 | (X : Over (Spec (.of K))) [Smooth X.hom] [GeometricallyIrreducible X.hom] |
| 22 | (j : Affine.Construction.affineOver K A ⟶ X) [IsOpenImmersion j.left] : IsDomain (L ⊗[K] A) := by |
| 23 | let g := Spec.map (CommRingCat.ofHom (algebraMap K L)) |
| 24 | let F := Over.pullback g |
| 25 | have : IrreducibleSpace (F.obj X).left := |
| 26 | pullback_of_geometrically GeometricallyIrreducible.geometrically_irreducibleSpace L g |
| 27 | have : IsReduced (F.obj X).left := SmoothComponents.Construction.smooth_scheme_reduced (pullback.snd X.hom g) |
| 28 | have : IsIntegral (F.obj X).left := isIntegral_of_irreducibleSpace_of_isReduced _ |
| 29 | have : IsOpenImmersion (F.map j).left := MorphismProperty.of_isPullback |
| 30 | (FoundationsPullback.Constructions.pullback_over_map_isPullback g j).flip inferInstance |
| 31 | have hn : Nonempty (F.obj (Affine.Construction.affineOver K A)).left := by |
| 32 | let x : (Affine.Construction.affineOver K A).left := Classical.choice (inferInstanceAs (Nonempty (Spec (.of A)))) |
| 33 | obtain ⟨y, -⟩ := (pullback.fst (Affine.Construction.affineOver K A).hom g).surjective x |
| 34 | exact ⟨y⟩ |
| 35 | have : IsIntegral (F.obj (Affine.Construction.affineOver K A)).left := isIntegral_of_isOpenImmersion (F.map j).left |
| 36 | let e : (F.obj (Affine.Construction.affineOver K A)).left ≅ Spec (.of (L ⊗[K] A)) := |
| 37 | (Over.forget (Spec (.of L))).mapIso (Affine.Construction.baseChangeAffineIso K L A) |
| 38 | have : IsIntegral (Spec (.of (L ⊗[K] A))) := IsIntegral.of_isIso e.hom |
| 39 | exact (affine_isIntegral_iff _).mp this |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.ArithmeticGeometry.Models.SpreadingOut.AffineOpenGeometricDomain.Construction |