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.TwoTransverseTangentComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Affine.IdealSheafCongruence |
| 3 | |
| 4 | /-! # Intrinsic Affine Tangent Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.IntrinsicAffineTangentComparison.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed change of maximal contact gives actual pointed scheme maps, with native ideal and tangent congruence identities. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | theorem exists_native_affine_tangent_comparison |
| 15 | {σ R : Type} [CommRing R] [Algebra ℂ R] [Algebra ℚ R] |
| 16 | [Algebra (MvPolynomial σ ℂ) R] [Algebra.Etale (MvPolynomial σ ℂ) R] |
| 17 | [IsScalarTower ℂ (MvPolynomial σ ℂ) R] [Fintype σ] [DecidableEq σ] |
| 18 | (J : Ideal R) (B : Finset σ) (z t : R) (n : ℕ) (p : PrimeSpectrum R) |
| 19 | (hp : Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ J n ≤ p.asIdeal) |
| 20 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ J n) (ht : t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ J n) |
| 21 | (htransz : ∃ i : σ, i ∉ B ∧ Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := ℂ) (S := R) i z ∉ p.asIdeal) |
| 22 | (htranst : ∃ i : σ, i ∉ B ∧ Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := ℂ) (S := R) i t ∉ p.asIdeal) : |
| 23 | ∃ (S : CommRingCat) (_ : Algebra ℂ S), ∃ a b : Spec S ⟶ Spec (.of R), |
| 24 | Etale a ∧ Etale b ∧ a ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure S ∧ |
| 25 | b ≫ ComplexAffineDifferentialIdeal.Construction.complexSpecStructure R = ComplexAffineDifferentialIdeal.Construction.complexSpecStructure S ∧ |
| 26 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal ℂ J n)).comap a = |
| 27 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal ℂ J n)).comap b ∧ |
| 28 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {z})).comap a = |
| 29 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {t})).comap b ∧ |
| 30 | (∀ i ∈ B, (Affine.QuotientKernel.Construction.affineQuotientKernel |
| 31 | (Ideal.span {algebraMap (MvPolynomial σ ℂ) R (MvPolynomial.X i)})).comap a = |
| 32 | (Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {algebraMap (MvPolynomial σ ℂ) R (MvPolynomial.X i)})).comap b) ∧ |
| 33 | IdealSheaf.CongruentMaps.Construction.IdealSheafCongruent a b (Affine.QuotientKernel.Construction.affineQuotientKernel (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal ℂ J n)) ∧ |
| 34 | ∃ q : PrimeSpectrum S, a q = p ∧ b q = p := by |
| 35 | let r : R →ₐ[ℂ] p.asIdeal.ResidueField := IsScalarTower.toAlgHom ℂ R p.asIdeal.ResidueField |
| 36 | have htz : ∃ i : σ, i ∉ B ∧ r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := ℂ) (S := R) i z) ≠ 0 := by |
| 37 | obtain ⟨i, hi, hd⟩ := htransz |
| 38 | exact ⟨i, hi, fun he => hd (Ideal.algebraMap_residueField_eq_zero.mp he)⟩ |
| 39 | have htt : ∃ i : σ, i ∉ B ∧ r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := ℂ) (S := R) i t) ≠ 0 := by |
| 40 | obtain ⟨i, hi, hd⟩ := htranst |
| 41 | exact ⟨i, hi, fun he => hd (Ideal.algebraMap_residueField_eq_zero.mp he)⟩ |
| 42 | have hpoint : r z = r t := |
| 43 | (Ideal.algebraMap_residueField_eq_zero.mpr (hp hz)).trans |
| 44 | (Ideal.algebraMap_residueField_eq_zero.mpr (hp ht)).symm |
| 45 | obtain ⟨S, instS, algS, F, G, v, hF, hG, heq, hB, hJ, hvF, hvG, hT, hdiff, _⟩ := |
| 46 | TwoTransverseTangentComparison.Construction.exists_two_transverse_equation_tangent_comparison J B z t n r htz htt hz ht hpoint |
| 47 | let a := Spec.map (CommRingCat.ofHom F.toRingHom) |
| 48 | let b := Spec.map (CommRingCat.ofHom G.toRingHom) |
| 49 | let q : PrimeSpectrum S := ⟨RingHom.ker v.toRingHom, Ideal.comap_isPrime v.toRingHom ⊥⟩ |
| 50 | refine ⟨.of S, algS, a, b, |
| 51 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr hF, |
| 52 | (HasRingHomProperty.Spec_iff (P := @Etale)).mpr hG, ?_, ?_, ?_, ?_, ?_, |
| 53 | Affine.IdealSheafCongruence.Construction.idealSheafCongruent_Spec_of_congruence F.toRingHom G.toRingHom _ hT hdiff, q, ?_, ?_⟩ |
| 54 | · change Spec.map (CommRingCat.ofHom F.toRingHom) ≫ Spec.map (CommRingCat.ofHom (algebraMap ℂ R)) = _ |
| 55 | rw [← Spec.map_comp] |
| 56 | apply congrArg Spec.map |
| 57 | exact CommRingCat.hom_ext (RingHom.ext F.commutes) |
| 58 | · change Spec.map (CommRingCat.ofHom G.toRingHom) ≫ Spec.map (CommRingCat.ofHom (algebraMap ℂ R)) = _ |
| 59 | rw [← Spec.map_comp] |
| 60 | apply congrArg Spec.map |
| 61 | exact CommRingCat.hom_ext (RingHom.ext G.commutes) |
| 62 | · rw [Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, hJ] |
| 63 | · rw [Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, |
| 64 | Ideal.map_span, Ideal.map_span, Set.image_singleton, Set.image_singleton] |
| 65 | exact congrArg (fun v : S => Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {v})) heq |
| 66 | · intro i hi |
| 67 | rw [Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, Affine.IdealChartDescent.Construction.affineQuotientKernel_comap_hom, |
| 68 | Ideal.map_span, Ideal.map_span, Set.image_singleton, Set.image_singleton] |
| 69 | exact congrArg (fun v : S => Affine.QuotientKernel.Construction.affineQuotientKernel (Ideal.span {v})) (hB i hi) |
| 70 | · apply PrimeSpectrum.ext |
| 71 | ext x |
| 72 | change v (F x) = 0 ↔ x ∈ p.asIdeal |
| 73 | rw [hvF] |
| 74 | exact Ideal.algebraMap_residueField_eq_zero |
| 75 | · apply PrimeSpectrum.ext |
| 76 | ext x |
| 77 | change v (G x) = 0 ↔ x ∈ p.asIdeal |
| 78 | rw [hvG] |
| 79 | exact Ideal.algebraMap_residueField_eq_zero |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Resolution.Blowups.IntrinsicAffineTangentComparison.Construction |