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.Resolution.Blowups.Global.HypersurfaceNormalCover |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.DerivationHom |
| 3 | |
| 4 | /-! # Intrinsic Normal Open Refinement -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.IntrinsicNormalOpenRefinement.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth native normal equations can be retained inside any prescribed ambient open neighborhood. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem affineRestriction_etale {X : Scheme} {U V : X.affineOpens} (hVU : V ≤ U) : |
| 15 | (Blowup.Functor.Construction.affineRestriction hVU).Etale := by |
| 16 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 17 | let : IsOpenImmersion V.2.fromSpec := V.2.isOpenImmersion_fromSpec |
| 18 | have he : Spec.map (CommRingCat.ofHom (Blowup.Functor.Construction.affineRestriction hVU)) ≫ U.2.fromSpec = V.2.fromSpec := |
| 19 | IsAffineOpen.map_fromSpec U.2 V.2 (homOfLE (X := X.Opens) hVU).op |
| 20 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (Blowup.Functor.Construction.affineRestriction hVU)) ≫ U.2.fromSpec) := by |
| 21 | rw [he] |
| 22 | infer_instance |
| 23 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (Blowup.Functor.Construction.affineRestriction hVU))) := |
| 24 | IsOpenImmersion.of_comp _ U.2.fromSpec |
| 25 | exact (HasRingHomProperty.Spec_iff (P := @Etale) |
| 26 | (φ := CommRingCat.ofHom (Blowup.Functor.Construction.affineRestriction hVU))).mp inferInstance |
| 27 | |
| 28 | theorem exists_native_normal_neighborhood_within |
| 29 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 30 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (H : X.IdealSheafData) (hH : H ≠ ⊥) |
| 31 | [Smooth (H.subschemeι ≫ f)] (hlocal : Locally.PrincipalIdealSheaf.Construction.LocallyPrincipalIdealSheaf H) |
| 32 | (O : X.Opens) (x : X) (hxH : x ∈ H.support) (hxO : x ∈ O) : |
| 33 | ∃ V : X.affineOpens, x ∈ V.1 ∧ V.1 ≤ O ∧ |
| 34 | ∃ z : Γ(X, V), H.ideal V = Ideal.span {z} ∧ |
| 35 | letI := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f V |
| 36 | ∃ N : Derivation ℂ Γ(X, V) Γ(X, V), N z = 1 := by |
| 37 | obtain ⟨U, hxU, hcase⟩ := Global.HypersurfaceNormalCover.Construction.exists_global_hypersurface_normal_neighborhood f H H hH hlocal le_rfl x |
| 38 | rcases hcase with hunit | hframe |
| 39 | · have hm := (Scheme.IdealSheafData.mem_support_iff_of_mem (I := H) hxU).mp hxH |
| 40 | rw [hunit] at hm |
| 41 | change x ∈ X.zeroLocus (Set.univ : Set Γ(X, U)) at hm |
| 42 | rw [Scheme.zeroLocus_univ] at hm |
| 43 | exact (hm hxU).elim |
| 44 | · let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 45 | obtain ⟨ι, hdec, g, N, hN, _, i, hnormal⟩ := hframe |
| 46 | obtain ⟨W, hW, hxW, hsub⟩ := exists_isAffineOpen_mem_and_subset |
| 47 | (U := U.1 ⊓ O) (x := x) ⟨hxU, hxO⟩ |
| 48 | let V : X.affineOpens := ⟨W, hW⟩ |
| 49 | have hVU : V ≤ U := hsub.trans inf_le_left |
| 50 | let : Algebra ℂ Γ(X, V) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f V |
| 51 | let φ := Blowup.Functor.Construction.affineRestriction hVU |
| 52 | have hφ : φ.Etale := affineRestriction_etale hVU |
| 53 | have hφk : ∀ c : ℂ, φ (algebraMap ℂ Γ(X, U) c) = algebraMap ℂ Γ(X, V) c := |
| 54 | RingHom.congr_fun (Affine.ComplexNaturality.Construction.affineComplexScalars_restrict f hVU) |
| 55 | let D := Blowups.Etale.DerivationHom.Construction.extendEtaleRingDerivationHom ℂ φ hφ hφk (N i) |
| 56 | refine ⟨V, hxW, hsub.trans inf_le_right, φ (g i).val, |
| 57 | Locally.PrincipalIdealSheaf.Construction.principal_idealSheaf_restrict H hVU (g i).val hnormal, D, ?_⟩ |
| 58 | change Blowups.Etale.DerivationHom.Construction.extendEtaleRingDerivationHom ℂ φ hφ hφk (N i) (φ (g i).val) = 1 |
| 59 | rw [Blowups.Etale.DerivationHom.Construction.extendEtaleRingDerivationHom_apply, hN, ite_eq_left rfl, map_one] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Resolution.Blowups.IntrinsicNormalOpenRefinement.Construction |