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.Modeled.LogarithmicNaturality |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.GlobalCoefficient.ComponentGluing |
| 3 | |
| 4 | /-! # Logarithmic Overlap -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Global.LogarithmicOverlap.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native logarithmic ideals agree on actual overlaps of étale boundary coordinate charts. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | theorem global_logarithmic_boundary_overlap |
| 17 | {k : Type u} [Field k] {X : Scheme.{u}} (f : X ⟶ Spec (.of k)) |
| 18 | (R S : CommRingCat.{u}) [Algebra k R] [Algebra k S] |
| 19 | (j : Spec R ⟶ X) (l : Spec S ⟶ X) [Etale j] [Etale l] |
| 20 | (hj : j ≫ f = Spec.map (CommRingCat.ofHom (algebraMap k R))) |
| 21 | (hl : l ≫ f = Spec.map (CommRingCat.ofHom (algebraMap k S))) |
| 22 | {β : Type v} (D : β → X.IdealSheafData) (w : β → R) (v : β → S) |
| 23 | (hw : ∀ a, (D a).comap j = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {w a})) |
| 24 | (hv : ∀ a, (D a).comap l = Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {v a})) |
| 25 | (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R β w) (N : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k S β v) |
| 26 | (J : X.IdealSheafData) (A : Ideal R) (B : Ideal S) |
| 27 | (hA : J.comap j = Affine.QuotientKernel.Construction.affineQuotientKernel A) (hB : J.comap l = Affine.QuotientKernel.Construction.affineQuotientKernel B) (n : ℕ) : |
| 28 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k w A n)).comap (pullback.fst j l) = |
| 29 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.LogarithmicIdeal.Construction.iteratedRelativeLogarithmicDifferentialIdeal k v B n)).comap (pullback.snd j l) := by |
| 30 | apply GlobalCoefficient.ComponentGluing.Construction.idealSheaf_eq_of_fromSpec |
| 31 | intro W |
| 32 | let P := pullback j l |
| 33 | let T := Γ(P, W) |
| 34 | let u : Spec (.of T) ⟶ Spec R := W.2.fromSpec ≫ pullback.fst j l |
| 35 | let z : Spec (.of T) ⟶ Spec S := W.2.fromSpec ≫ pullback.snd j l |
| 36 | let φ : R →+* T := (Spec.preimage u).hom |
| 37 | let ψ : S →+* T := (Spec.preimage z).hom |
| 38 | have hφ : Spec.map (CommRingCat.ofHom φ) = u := Spec.map_preimage u |
| 39 | have hψ : Spec.map (CommRingCat.ofHom ψ) = z := Spec.map_preimage z |
| 40 | have hcomm : u ≫ j = z ≫ l := by |
| 41 | dsimp only [u, z] |
| 42 | rw [Category.assoc, Category.assoc, pullback.condition] |
| 43 | have hbase : φ.comp (algebraMap k R) = ψ.comp (algebraMap k S) := by |
| 44 | have he : CommRingCat.ofHom (φ.comp (algebraMap k R)) = |
| 45 | CommRingCat.ofHom (ψ.comp (algebraMap k S)) := by |
| 46 | apply Spec.map_injective |
| 47 | change Spec.map (CommRingCat.ofHom (algebraMap k R) ≫ CommRingCat.ofHom φ) = |
| 48 | Spec.map (CommRingCat.ofHom (algebraMap k S) ≫ CommRingCat.ofHom ψ) |
| 49 | rw [Spec.map_comp, Spec.map_comp, hφ, hψ, ← hj, ← hl] |
| 50 | simpa only [Category.assoc] using congrArg (fun q => q ≫ f) hcomm |
| 51 | exact congrArg CommRingCat.Hom.hom he |
| 52 | let : Algebra k T := (φ.comp (algebraMap k R)).toAlgebra |
| 53 | let φₖ : R →ₐ[k] T := { __ := φ, commutes' := fun _ => rfl } |
| 54 | let ψₖ : S →ₐ[k] T := { __ := ψ, commutes' := fun c => (RingHom.congr_fun hbase c).symm } |
| 55 | let : IsOpenImmersion W.2.fromSpec := W.2.isOpenImmersion_fromSpec |
| 56 | have hφe : φₖ.toRingHom.Etale := by |
| 57 | apply (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 58 | rw [Spec.map_preimage] |
| 59 | exact inferInstanceAs (Etale u) |
| 60 | have hψe : ψₖ.toRingHom.Etale := by |
| 61 | apply (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 62 | rw [Spec.map_preimage] |
| 63 | exact inferInstanceAs (Etale z) |
| 64 | have hAB : A.map φ = B.map ψ := by |
| 65 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 66 | rw [← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, hφ, hψ, |
| 67 | ← hA, ← hB, ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hcomm] |
| 68 | have hboundary (a : β) : (Ideal.span {w a}).map φ = (Ideal.span {v a}).map ψ := by |
| 69 | apply (GlobalCoefficient.ComponentGluing.Construction.affineQuotientKernel_eq_iff _ _).mp |
| 70 | rw [← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, ← Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, hφ, hψ, |
| 71 | ← hw a, ← hv a, ← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, hcomm] |
| 72 | have he := Modeled.LogarithmicNaturality.Construction.logarithmic_ideals_agree_on_common_etale_refinement φₖ ψₖ hφe hψe |
| 73 | w v M N hboundary A B hAB n |
| 74 | rw [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp] |
| 75 | change (Affine.QuotientKernel.Construction.affineQuotientKernel _).comap u = (Affine.QuotientKernel.Construction.affineQuotientKernel _).comap z |
| 76 | rw [← hφ, ← hψ, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom] |
| 77 | exact congrArg Affine.QuotientKernel.Construction.affineQuotientKernel he |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Resolution.Blowups.Global.LogarithmicOverlap.Construction |