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.ComplexMultiplication.CMAbelianVariety |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ClosedProjective |
| 3 | import OAI.AlgebraicGeometry.Foundations.Scheme.SmoothProjectiveDecomposition |
| 4 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 5 | |
| 6 | /-! # Smooth -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Albanese.Construction.Smooth |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true in |
| 18 | set_option backward.isDefEq.respectTransparency false in |
| 19 | /-- A product over an algebraically closed field is preirreducible when its |
| 20 | factors are irreducible, of finite type on the left, and smooth on the right. -/ |
| 21 | theorem tensor_preirreducible {K : Type u} [Field K] [IsAlgClosed K] |
| 22 | (X Y : Over (Spec (.of K))) [IrreducibleSpace X.left] [IrreducibleSpace Y.left] |
| 23 | [LocallyOfFiniteType X.hom] [Smooth Y.hom] : |
| 24 | IsPreirreducible (Set.univ : Set (X ⊗ Y).left) := by |
| 25 | have : JacobsonSpace X.left := LocallyOfFiniteType.jacobsonSpace X.hom |
| 26 | have : Smooth (fst X Y).left := by dsimp; infer_instance |
| 27 | let e : (𝟙_ (Over (Spec (.of K))) ⊗ Y).left ≅ Y.left := |
| 28 | (Over.forget _).mapIso (λ_ Y) |
| 29 | have : IrreducibleSpace (𝟙_ (Over (Spec (.of K))) ⊗ Y).left := |
| 30 | e.hom.homeomorph.irreducibleSpace_iff.mpr inferInstance |
| 31 | have hfiber (x : X.left) (hx : x ∈ closedPoints X.left) : |
| 32 | IsPreirreducible ((fst X Y).left ⁻¹' {x}) := by |
| 33 | let p : 𝟙_ (Over (Spec (.of K))) ⟶ X := |
| 34 | Over.homMk (pointOfClosedPoint X.hom x hx) (by simp) |
| 35 | let α : 𝟙_ (Over (Spec (.of K))) ⊗ Y ⟶ X ⊗ Y := p ⊗ₘ 𝟙 Y |
| 36 | have hrange : Set.range α.left = (fst X Y).left ⁻¹' {x} := by |
| 37 | dsimp [α] |
| 38 | rw [Over.tensorHom_left] |
| 39 | simp [Scheme.Pullback.range_map, p] |
| 40 | congr 1 |
| 41 | ext z |
| 42 | simp [pointOfClosedPoint_apply, eq_comm] |
| 43 | simpa only [Set.image_univ, hrange] using |
| 44 | ((IrreducibleSpace.isIrreducible_univ _).image α.left |
| 45 | α.left.continuous.continuousOn).isPreirreducible |
| 46 | have hdense : (Set.univ : Set X.left) ⊆ |
| 47 | closure (Set.univ ∩ {x | IsPreirreducible ((fst X Y).left ⁻¹' {x})}) := by |
| 48 | calc |
| 49 | Set.univ = closure (closedPoints X.left) := closure_closedPoints.symm |
| 50 | _ ⊆ closure (Set.univ ∩ {x | IsPreirreducible ((fst X Y).left ⁻¹' {x})}) := |
| 51 | closure_mono (fun x hx => ⟨Set.mem_univ x, hfiber x hx⟩) |
| 52 | simpa only [Set.preimage_univ] using |
| 53 | (PreirreducibleSpace.isPreirreducible_univ (X := X.left)).preimage_of_dense_isPreirreducible_fiber |
| 54 | (fst X Y).left (fst X Y).left.isOpenMap hdense |
| 55 | |
| 56 | /-- Products of smooth integral schemes over an algebraically closed field |
| 57 | are integral. -/ |
| 58 | theorem smooth_tensor_integral {K : Type u} [Field K] [IsAlgClosed K] |
| 59 | (X Y : Over (Spec (.of K))) [IsIntegral X.left] [IsIntegral Y.left] |
| 60 | [Smooth X.hom] [Smooth Y.hom] : IsIntegral (X ⊗ Y).left := by |
| 61 | have : Surjective Y.hom := |
| 62 | ⟨Function.surjective_to_subsingleton (α := Y.left) (β := Spec _) _⟩ |
| 63 | have : Surjective (fst X Y).left := by dsimp; infer_instance |
| 64 | have : Nonempty (X ⊗ Y).left := |
| 65 | ⟨((fst X Y).left.surjective (Classical.choice inferInstance)).choose⟩ |
| 66 | have : PreirreducibleSpace (X ⊗ Y).left := ⟨tensor_preirreducible X Y⟩ |
| 67 | have : IrreducibleSpace (X ⊗ Y).left := ⟨inferInstance⟩ |
| 68 | have : Smooth (X ⊗ Y).hom := by dsimp; infer_instance |
| 69 | have : IsReduced (X ⊗ Y).left := Foundations.Scheme.SmoothProjectiveDecomposition.smoothScheme_isReduced (X ⊗ Y).hom |
| 70 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 71 | |
| 72 | /-- The product of a complex abelian variety with itself is an integral scheme. -/ |
| 73 | theorem abelian_tensor_integral (A : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) : |
| 74 | IsIntegral (A.toOver ⊗ A.toOver).left := by |
| 75 | have : IsIntegral A.toOver.left := inferInstanceAs (IsIntegral A.carrier) |
| 76 | have : Smooth A.toOver.hom := A.variety.presentation.smooth |
| 77 | exact smooth_tensor_integral A.toOver A.toOver |
| 78 | |
| 79 | /-- Connectedness and smoothness supply the integrality required by the |
| 80 | project's variety bundle, without an additional hypothesis on Construction. -/ |
| 81 | theorem connected_presentation_integral (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 82 | [ConnectedSpace X.carrier] : IsIntegral X.carrier := by |
| 83 | let x : X.carrier := Classical.choice inferInstance |
| 84 | let C : irreducibleComponents X.carrier := |
| 85 | ⟨irreducibleComponent x, irreducibleComponent_mem_irreducibleComponents x⟩ |
| 86 | have hC : IsClopen (C : Set X.carrier) := |
| 87 | ⟨isClosed_of_mem_irreducibleComponents _ C.property, (X.componentOpen C).isOpen⟩ |
| 88 | have hfull : (C : Set X.carrier) = Set.univ := |
| 89 | hC.eq_univ ⟨x, mem_irreducibleComponent⟩ |
| 90 | have : IrreducibleSpace X.carrier := |
| 91 | (irreducibleSpace_def X.carrier).mpr (by |
| 92 | change IsIrreducible Set.univ |
| 93 | rw [← hfull] |
| 94 | exact C.property.1) |
| 95 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Albanese.Construction.Smooth |