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.CoordinateSubspaceChart |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Pointed.CoordinateSubspaceModel |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.SmoothCenterBlowup |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Coefficient.ChartSupport |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.IdealSheafIdentification |
| 6 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.ResidualNeighborhoodBoundary |
| 7 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.KernelZero |
| 8 | |
| 9 | /-! # Coordinate Subspace Chart Existence -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.CoordinateSubspaceChartExistence.Construction |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Smooth points of a nonzero closed ideal in an integral smooth ambient scheme have retained integral coordinate-subspace charts. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem exists_global_coordinate_subspace_chart |
| 20 | {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 21 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth f] (J : X.IdealSheafData) (hJ : J ≠ ⊥) |
| 22 | [Smooth (J.subschemeι ≫ f)] (x : X) (hx : x ∈ J.support) : |
| 23 | Nonempty (CoordinateSubspaceChart.Construction.GlobalCoordinateSubspaceChart f J x) := by |
| 24 | classical |
| 25 | obtain ⟨O, hO, hxO, _⟩ := exists_isAffineOpen_mem_and_subset (U := ⊤) (x := x) trivial |
| 26 | let U : X.affineOpens := ⟨O, hO⟩ |
| 27 | let : Algebra ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f U |
| 28 | let : Algebra.Smooth ℂ Γ(X, U) := Blowups.Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra_smooth f U |
| 29 | let : IsNoetherianRing Γ(X, U) := IsLocallyNoetherian.component_noetherian U |
| 30 | let : Algebra.Smooth ℂ (Γ(X, U) ⧸ J.ideal U) := SmoothCenterBlowup.Construction.idealSheaf_complex_smooth_center_quotient f J U |
| 31 | let : IsOpenImmersion U.2.fromSpec := U.2.isOpenImmersion_fromSpec |
| 32 | have hxrange : x ∈ U.2.fromSpec.opensRange := by rw [U.2.opensRange_fromSpec]; exact hxO |
| 33 | obtain ⟨p, hp⟩ := hxrange |
| 34 | have hJp : J.ideal U ≤ p.asIdeal := by |
| 35 | apply (Coefficient.ChartSupport.Construction.affine_center_le_prime_iff_global_support J _ U.2.fromSpec (J.ideal U) |
| 36 | (Affine.IdealSheafIdentification.Construction.idealSheaf_comap_fromSpec_eq_quotient_kernel J U) p).mpr |
| 37 | rwa [hp] |
| 38 | obtain ⟨S, hSalg, hSsmooth, φ, hφ, q, hq, ι, hι, hdec, n, ψ, hψ, hI⟩ := |
| 39 | Pointed.CoordinateSubspaceModel.Construction.exists_pointed_coordinate_subspace_open_model (k := ℂ) (J.ideal U) p hJp |
| 40 | let : Algebra ℂ S := hSalg |
| 41 | let : Algebra.Smooth ℂ S := hSsmooth |
| 42 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom φ.toRingHom)) := hφ |
| 43 | let j := Spec.map (CommRingCat.ofHom φ.toRingHom) ≫ U.2.fromSpec |
| 44 | have hg : j ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure S := by |
| 45 | dsimp only [j] |
| 46 | rw [Category.assoc, ← Affine.ComplexNaturality.Construction.affineComplexScalars_spec f U, ← Spec.map_comp] |
| 47 | apply congrArg Spec.map |
| 48 | ext c |
| 49 | exact φ.commutes c |
| 50 | have hjq : j q = x := by |
| 51 | change U.2.fromSpec (PrimeSpectrum.comap φ.toRingHom q) = x |
| 52 | rw [hq] |
| 53 | exact hp |
| 54 | have he : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel |
| 55 | ((RingHom.ker Coordinate.SubspaceIdeal.Construction.polynomialCoordinateProjection.toRingHom).map ψ.toRingHom) := by |
| 56 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel, hI] |
| 57 | let : Nonempty (Spec S) := ⟨q⟩ |
| 58 | let : IsIntegral (Spec S) := isIntegral_of_isOpenImmersion j |
| 59 | have hmodel : RingHom.ker (Coordinate.SubspaceIdeal.Construction.polynomialCoordinateProjection (σ := ι) (τ := Fin n) (R := ℂ)).toRingHom ≠ ⊥ := by |
| 60 | intro hz |
| 61 | have hnonzero := ResidualNeighborhoodBoundary.Construction.idealSheaf_comap_nonempty_open_ne_bot j J hJ |
| 62 | apply hnonzero |
| 63 | rw [he, hz, Ideal.map_bot, Affine.KernelZero.Construction.affineQuotientKernel_bot] |
| 64 | exact ⟨{ ring := S |
| 65 | algebra := hSalg |
| 66 | smooth := hSsmooth |
| 67 | domain := (affine_isIntegral_iff S).mp inferInstance |
| 68 | map := j |
| 69 | isOpenImmersion := inferInstance |
| 70 | ground := hg |
| 71 | point := q |
| 72 | point_over := hjq |
| 73 | normal := ι |
| 74 | normalFinite := hι |
| 75 | normalDecidableEq := hdec |
| 76 | freeDimension := n |
| 77 | coordinate := ψ |
| 78 | coordinate_etale := hψ |
| 79 | modelNonzero := hmodel |
| 80 | ideal_eq := he }⟩ |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.CoordinateSubspaceChartExistence.Construction |