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.AtlasFromAffineCover |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Global.CanonicalBoundaryAtlas |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.BoundaryModel.Operations |
| 4 | |
| 5 | /-! # Mixed Center Model Refinement -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Refine a native common-center atlas to affine opens with actual boundary coordinate models. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | theorem CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.exists_model_refinement |
| 16 | {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} {I : X.IdealSheafData} |
| 17 | {β : Type} {D : β → X.IdealSheafData} (A : CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D) : |
| 18 | ∃ B : CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas f I D, ∀ i, |
| 19 | letI := Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (B.opens i) |
| 20 | Nonempty (Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel ℂ Γ(X, B.opens i) β (B.equations i)) := by |
| 21 | classical |
| 22 | let : ∀ i, Algebra ℂ Γ(X, A.opens i) := fun i => Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (A.opens i) |
| 23 | let κ := (i : A.indices) × PrimeSpectrum Γ(X, A.opens i) |
| 24 | let C (p : κ) := Classical.choice (A.boundary p.1 p.2) |
| 25 | let j (p : κ) : Spec (C p).carrier ⟶ X := |
| 26 | Spec.map (CommRingCat.ofHom (C p).map.toRingHom) ≫ (A.opens p.1).2.fromSpec |
| 27 | let : ∀ p, IsOpenImmersion (j p) := fun p => by |
| 28 | let : IsOpenImmersion (A.opens p.1).2.fromSpec := (A.opens p.1).2.isOpenImmersion_fromSpec |
| 29 | exact inferInstanceAs (IsOpenImmersion (_ ≫ _)) |
| 30 | have hcover (x : X) : ∃ p : κ, x ∈ Set.range (j p) := by |
| 31 | obtain ⟨i, q, hq⟩ := MonomialBoundaryAtlas.Construction.exists_point_on_chosen_affine_spec A.opens A.cover x |
| 32 | refine ⟨⟨i, q⟩, (C ⟨i, q⟩).point, ?_⟩ |
| 33 | change (A.opens i).2.fromSpec (PrimeSpectrum.comap (C ⟨i, q⟩).map.toRingHom (C ⟨i, q⟩).point) = x |
| 34 | rw [(C ⟨i, q⟩).point_over] |
| 35 | exact hq |
| 36 | let Q : X.AffineOpenCover := |
| 37 | { I₀ := κ |
| 38 | X := fun p => (C p).carrier |
| 39 | f := j |
| 40 | map_prop := fun _ => inferInstance |
| 41 | idx := fun x => (hcover x).choose |
| 42 | covers := fun x => (hcover x).choose_spec } |
| 43 | let : ∀ p : Q.I₀, Algebra ℂ (Q.X p) := fun p => (C p).algebra |
| 44 | have hg (p : κ) : j p ≫ f = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure (C p).carrier := by |
| 45 | dsimp only [j] |
| 46 | rw [Category.assoc, ← Affine.ComplexNaturality.Construction.affineComplexScalars_spec f (A.opens p.1), ← Spec.map_comp] |
| 47 | apply congrArg Spec.map |
| 48 | ext c |
| 49 | exact (C p).map.commutes c |
| 50 | let K (p : κ) := (I.ideal (A.opens p.1)).map (C p).map.toRingHom |
| 51 | let w (p : κ) (l : β) := (C p).map (A.equations p.1 l) |
| 52 | have hI (p : κ) : I.comap (j p) = Affine.QuotientKernel.Construction.affineQuotientKernel (K p) := |
| 53 | Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel I (A.opens p.1) (C p).map.toRingHom |
| 54 | have hD (p : κ) (l : β) : (D l).comap (j p) = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {w p l}) := by |
| 55 | change (D l).comap (Spec.map (CommRingCat.ofHom (C p).map.toRingHom) ≫ (A.opens p.1).2.fromSpec) = _ |
| 56 | rw [Affine.IdealSheafIdentification.Construction.idealSheaf_comap_affineMap_eq_quotient_kernel, A.component, Ideal.map_span, Set.image_singleton] |
| 57 | have hc (p : κ) : MixedBoundary.CenterCharts.Construction.HasMixedBoundaryCenterCharts ℂ (C p).carrier (K p) (w p) (A.divided p.1) := by |
| 58 | apply (A.center p.1).etale_baseChange (C p).map |
| 59 | exact (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 60 | (inferInstance : Etale (Spec.map (CommRingCat.ofHom (C p).map.toRingHom))) |
| 61 | let B := CanonicalBoundaryAtlas.Construction.GlobalMixedCenterAtlas.ofAffineCover f I D Q hg K w (fun p => A.divided p.1) |
| 62 | hI hD (fun p => (C p).model.hasEtaleBoundaryCharts) hc |
| 63 | refine ⟨B, ?_⟩ |
| 64 | intro p |
| 65 | change κ at p |
| 66 | let : Algebra ℂ Γ(X, Affine.OpenBoundaryTransport.Construction.specOpenImage (C p).carrier (j p)) := |
| 67 | Smooth.DifferentialIdealSheaf.Construction.affineComplexAlgebra f (Affine.OpenBoundaryTransport.Construction.specOpenImage (C p).carrier (j p)) |
| 68 | let e := Affine.OpenBoundaryTransport.Construction.specOpenSectionAlgEquiv f (C p).carrier (j p) (hg p) |
| 69 | exact ⟨(C p).model.baseChange e.symm.toAlgHom (RingHom.Etale.of_bijective e.symm.bijective)⟩ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global |