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.AbelianModuli.HilbertConstruction.Constant.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Scheme |
| 3 | |
| 4 | /-! # Constant Scheme -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantScheme |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness of constant schemes with finite labels over arbitrary bases. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {S : Scheme.{u}} {I : Type u} |
| 17 | |
| 18 | @[simp] |
| 19 | theorem constantScheme_hom_ι_apply (i : I) (x : S) : |
| 20 | (ConstantScheme.Iff.constantScheme S I).hom (Sigma.ι (fun _ : I => S) i x) = x := |
| 21 | congrArg (fun f : S ⟶ S => f x) (ConstantScheme.Iff.constantScheme_ι_hom i) |
| 22 | |
| 23 | /-- A finite disjoint union of identity maps is topologically closed. -/ |
| 24 | theorem constantScheme_isClosedMap [Finite I] : IsClosedMap (ConstantScheme.Iff.constantScheme S I).hom := by |
| 25 | intro C hC |
| 26 | have heq : (ConstantScheme.Iff.constantScheme S I).hom '' C = |
| 27 | ⋃ i : I, (Sigma.ι (fun _ : I => S) i) ⁻¹' C := by |
| 28 | ext s |
| 29 | constructor |
| 30 | · rintro ⟨x, hx, hs⟩ |
| 31 | obtain ⟨⟨i, t⟩, rfl⟩ := (sigmaMk (fun _ : I => S)).surjective x |
| 32 | rw [sigmaMk_mk, constantScheme_hom_ι_apply] at hs |
| 33 | subst t |
| 34 | refine Set.mem_iUnion.mpr ⟨i, ?_⟩ |
| 35 | change Sigma.ι (fun _ : I => S) i s ∈ C |
| 36 | rw [sigmaMk_mk] at hx |
| 37 | exact hx |
| 38 | · intro hs |
| 39 | obtain ⟨i, hi⟩ := Set.mem_iUnion.mp hs |
| 40 | exact ⟨Sigma.ι (fun _ : I => S) i s, hi, constantScheme_hom_ι_apply i s⟩ |
| 41 | rw [heq] |
| 42 | exact isClosed_iUnion_of_finite (fun i => hC.preimage (Sigma.ι (fun _ : I => S) i).continuous) |
| 43 | |
| 44 | /-- Finite constant schemes are affine over their base, even when the base is not affine. -/ |
| 45 | instance constantScheme_affineHom [Finite I] : IsAffineHom (ConstantScheme.Iff.constantScheme S I).hom := by |
| 46 | constructor |
| 47 | intro U hU |
| 48 | have : IsAffine U.toScheme := hU |
| 49 | have : IsAffine (ConstantScheme.Iff.constantScheme U.toScheme I).left := |
| 50 | inferInstanceAs (IsAffine (∐ fun _ : I => U.toScheme)) |
| 51 | let e : (ConstantScheme.Iff.constantScheme U.toScheme I).left ≅ |
| 52 | ((ConstantScheme.Iff.constantScheme S I).hom ⁻¹ᵁ U).toScheme := |
| 53 | ((Over.forget U.toScheme).mapIso (Constant.BaseChange.constantSchemeBaseChangeIso U.ι I)) ≪≫ |
| 54 | pullbackRestrictIsoRestrict (ConstantScheme.Iff.constantScheme S I).hom U |
| 55 | exact IsAffine.of_isIso e.inv |
| 56 | |
| 57 | /-- Finite constant schemes remain topologically closed after every base change. -/ |
| 58 | instance constantScheme_universallyClosed [Finite I] : |
| 59 | UniversallyClosed (ConstantScheme.Iff.constantScheme S I).hom where |
| 60 | universally_isClosedMap {X Y} i₁ i₂ f h := by |
| 61 | let e := Constant.BaseChange.constantSchemeBaseChangeIso i₂ I |
| 62 | have hsnd : IsClosedMap (pullback.snd (ConstantScheme.Iff.constantScheme S I).hom i₂) := by |
| 63 | have he : e.inv.left ≫ (ConstantScheme.Iff.constantScheme Y I).hom = |
| 64 | pullback.snd (ConstantScheme.Iff.constantScheme S I).hom i₂ := e.inv.w |
| 65 | exact he ▸ (constantScheme_isClosedMap (S := Y) (I := I)).comp |
| 66 | (((Over.forget Y).mapIso e).inv.homeomorph.isClosedMap) |
| 67 | have he : h.flip.isoPullback.hom ≫ pullback.snd (ConstantScheme.Iff.constantScheme S I).hom i₂ = f := |
| 68 | h.flip.isoPullback_hom_snd |
| 69 | exact he ▸ hsnd.comp h.flip.isoPullback.hom.homeomorph.isClosedMap |
| 70 | |
| 71 | /-- A constant scheme with finitely many labels is proper over the base. -/ |
| 72 | instance constantScheme_proper [Finite I] : IsProper (ConstantScheme.Iff.constantScheme S I).hom where |
| 73 | |
| 74 | /-- A constant scheme with finitely many labels is finite over the base. -/ |
| 75 | instance constantScheme_finite [Finite I] : IsFinite (ConstantScheme.Iff.constantScheme S I).hom := |
| 76 | IsFinite.of_isProper_of_locallyQuasiFinite _ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantScheme |