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.ComplexGroups.HolomorphicAlgebraicity.FiniteBirational |
| 2 | import OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.SmoothNormal |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 4 | |
| 5 | /-! # Finite Normal Iso -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FiniteNormalIso.Constructions.Algebraization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The finite graph projection is an isomorphism |
| 13 | |
| 14 | An integral finite source embeds in the target function field using the |
| 15 | inverse generic stalk map. Integral closedness then makes every affine |
| 16 | coordinate-ring map surjective, and hence an isomorphism. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry Set |
| 20 | |
| 21 | theorem app_bijective_of_finite_generic_stalk |
| 22 | {X Y : Scheme} [IsIntegral X] [IsIntegral Y] |
| 23 | (f : X ⟶ Y) [IsFinite f] [Surjective f] |
| 24 | (hg : Function.Bijective (f.stalkMap (genericPoint X))) |
| 25 | (U : Y.Opens) (hU : IsAffineOpen U) [Nonempty U] [IsIntegrallyClosed Γ(Y, U)] : |
| 26 | Function.Bijective (f.app U) := by |
| 27 | let x := genericPoint X |
| 28 | have hgen : f x = genericPoint Y := FiniteBirational.Constructions.Algebraization.genericPoint_map_of_surjective f |
| 29 | have hyU : f x ∈ U := by |
| 30 | rw [hgen] |
| 31 | exact (genericPoint_spec Y).mem_open_set_iff U.isOpen |>.mpr |
| 32 | ⟨(Classical.arbitrary U).val, mem_univ _, (Classical.arbitrary U).property⟩ |
| 33 | let R := Γ(Y, U) |
| 34 | let S := Γ(X, f ⁻¹ᵁ U) |
| 35 | let K := Y.presheaf.stalk (f x) |
| 36 | have hfield : IsField K := by |
| 37 | change IsField (Y.presheaf.stalk (f x)) |
| 38 | rw [hgen] |
| 39 | exact (inferInstance : Field Y.functionField).toIsField |
| 40 | let : Field K := hfield.toField |
| 41 | let : Algebra R S := (f.app U).hom.toAlgebra |
| 42 | let : Algebra.IsIntegral R S := ⟨f.isIntegral_app U hU⟩ |
| 43 | let : Algebra R K := (Y.presheaf.germ U (f x) hyU).hom.toAlgebra |
| 44 | let : IsFractionRing R K := FiniteBirational.Constructions.Algebraization.isFractionRing_generic_stalk Y U hU (f x) hgen hyU |
| 45 | let e₀ := RingEquiv.ofBijective (f.stalkMap x).hom hg |
| 46 | let e : S →ₐ[R] K := |
| 47 | { toRingHom := e₀.symm.toRingHom.comp (X.presheaf.germ (f ⁻¹ᵁ U) x hyU).hom |
| 48 | commutes' := by |
| 49 | intro r |
| 50 | change e₀.symm (X.presheaf.germ (f ⁻¹ᵁ U) x hyU (f.app U r)) = |
| 51 | Y.presheaf.germ U (f x) hyU r |
| 52 | rw [← f.germ_stalkMap_apply U x hyU] |
| 53 | exact e₀.symm_apply_apply _ } |
| 54 | have he : Function.Injective e := |
| 55 | e₀.symm.injective.comp (germ_injective_of_isIntegral X x hyU) |
| 56 | exact FiniteBirational.Constructions.Algebraization.algebraMap_bijective_of_integral_field_embedding e he |
| 57 | |
| 58 | theorem isIso_of_finite_universallyInjective_surjective_smooth |
| 59 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsReduced X.left] [IsIntegral Y.left] [Smooth Y.hom] |
| 60 | (f : X ⟶ Y) [IsFinite f.left] [UniversallyInjective f.left] [Surjective f.left] : |
| 61 | IsIso f.left := by |
| 62 | let : IsIntegral X.left := FiniteBirational.Constructions.Algebraization.isIntegral_of_reduced_universallyInjective_surjective f.left |
| 63 | have hg := FiniteBirational.Constructions.Algebraization.generic_stalkMap_bijective f |
| 64 | apply IsZariskiLocalAtTarget.of_forall_exists_morphismRestrict (P := .isomorphisms _) |
| 65 | intro y |
| 66 | obtain ⟨U, hU, hyU, _⟩ := |
| 67 | (TopologicalSpace.Opens.isBasis_iff_nbhd.mp Y.left.isBasis_affineOpens) |
| 68 | (show y ∈ (⊤ : Y.left.Opens) from trivial) |
| 69 | change Y.left.Opens at U |
| 70 | let : Nonempty U := ⟨⟨y, hyU⟩⟩ |
| 71 | let : IsIntegrallyClosed Γ(Y.left, U) := SmoothNormal.Constructions.Algebraization.isIntegrallyClosed_affineOpen_of_smooth_integral Y U hU |
| 72 | refine ⟨U, hyU, (isIso_morphismRestrict_iff_isIso_app f.left hU).mpr ?_⟩ |
| 73 | exact (ConcreteCategory.isIso_iff_bijective (f.left.app U)).mpr |
| 74 | (app_bijective_of_finite_generic_stalk f.left hg U hU) |
| 75 | |
| 76 | theorem isIso_of_proper_bijective_complex_points |
| 77 | {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsReduced X.left] [LocallyOfFiniteType X.hom] |
| 78 | [IsIntegral Y.left] [Smooth Y.hom] |
| 79 | (f : X ⟶ Y) [IsProper f.left] |
| 80 | (hf : Function.Bijective (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)) : IsIso f.left := by |
| 81 | let : UniversallyInjective f.left := FinitePointProjection.Constructions.Algebraization.universallyInjective_of_injective_complex_points f hf.injective |
| 82 | let : Surjective f.left := |
| 83 | FinitePointProjection.Constructions.Algebraization.surjective_of_surjective_complex_points f f.left.isClosedMap.isClosed_range hf.surjective |
| 84 | let : IsFinite f.left := FinitePointProjection.Constructions.Algebraization.finite_of_proper_injective_complex_points f hf.injective |
| 85 | exact isIso_of_finite_universallyInjective_surjective_smooth f |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.FiniteNormalIso.Constructions.Algebraization |