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.Pointed.EtaleComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.IsomorphicCoordinateHomogenization |
| 3 | |
| 4 | /-! # Constructed Homogenized Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ConstructedHomogenizedComparison.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Constructing a pointed common étale neighborhood with equal homogenized ideals. -/ |
| 11 | |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {σ k R S C : Type u} [CommRing k] [CommRing R] [CommRing S] [Field C] |
| 17 | [Algebra k R] [Algebra k S] [Algebra k C] [Algebra ℚ R] [Algebra ℚ S] |
| 18 | [Algebra (MvPolynomial σ k) R] [Algebra (MvPolynomial σ k) S] |
| 19 | [IsScalarTower k (MvPolynomial σ k) R] [IsScalarTower k (MvPolynomial σ k) S] |
| 20 | [Algebra.Etale (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) S] |
| 21 | [DecidableEq σ] |
| 22 | |
| 23 | /-- Given two étale hypersurface coordinate systems with the same complementary |
| 24 | coordinates and tangent-ideal hypersurface equations, construct the common |
| 25 | étale neighborhood, the common point, and equality of the homogenized ideals. -/ |
| 26 | theorem exists_pointed_etale_homogenized_comparison |
| 27 | (e : R ≃ₐ[k] S) (D : Derivation k R R) (E : Derivation k S S) |
| 28 | (J : Ideal R) (i : σ) (n : ℕ) (r : R →ₐ[k] C) |
| 29 | (hD : ∀ a : σ, D (algebraMap (MvPolynomial σ k) R (MvPolynomial.X a)) = |
| 30 | if i = a then 1 else 0) |
| 31 | (hE : ∀ a : σ, E (algebraMap (MvPolynomial σ k) S (MvPolynomial.X a)) = |
| 32 | if i = a then 1 else 0) |
| 33 | (hcommon : ∀ a : σ, i ≠ a → |
| 34 | e.symm (algebraMap (MvPolynomial σ k) S (MvPolynomial.X a)) = |
| 35 | algebraMap (MvPolynomial σ k) R (MvPolynomial.X a)) |
| 36 | (hz : algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) ∈ |
| 37 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 38 | (hw : e.symm (algebraMap (MvPolynomial σ k) S (MvPolynomial.X i)) ∈ |
| 39 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 40 | (hpoint : r (algebraMap (MvPolynomial σ k) R (MvPolynomial.X i)) = |
| 41 | r (e.symm (algebraMap (MvPolynomial σ k) S (MvPolynomial.X i)))) : |
| 42 | ∃ (U : Type u) (_ : CommRing U) (_ : Algebra k U), |
| 43 | ∃ f g : R →ₐ[k] U, ∃ v : U →ₐ[k] C, |
| 44 | f.toRingHom.Etale ∧ g.toRingHom.Etale ∧ |
| 45 | (∀ p : MvPolynomial σ k, |
| 46 | f (algebraMap (MvPolynomial σ k) R p) = |
| 47 | g (e.symm (algebraMap (MvPolynomial σ k) S p))) ∧ |
| 48 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map f.toRingHom = |
| 49 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map g.toRingHom ∧ |
| 50 | (∀ x : R, v (f x) = r x) ∧ (∀ x : R, v (g x) = r x) := by |
| 51 | let P := MvPolynomial σ k |
| 52 | let α := IsScalarTower.toAlgHom k P R |
| 53 | let β := IsScalarTower.toAlgHom k P S |
| 54 | have hp : ∀ p : P, r (algebraMap P R p) = r (e.symm (algebraMap P S p)) := by |
| 55 | have he : r.comp α = (r.comp e.symm.toAlgHom).comp β := by |
| 56 | apply MvPolynomial.algHom_ext |
| 57 | intro a |
| 58 | change r (algebraMap P R (MvPolynomial.X a)) = |
| 59 | r (e.symm (algebraMap P S (MvPolynomial.X a))) |
| 60 | by_cases hia : i = a |
| 61 | · subst a |
| 62 | exact hpoint |
| 63 | · rw [hcommon a hia] |
| 64 | exact fun p => AlgHom.congr_fun he p |
| 65 | obtain ⟨f, g, v, hf, hg, hcoords, hvf, hvg⟩ := Pointed.EtaleComparison.Construction.exists_pointed_etale_comparison e r hp |
| 66 | let q : Ideal (R ⊗[P] S) := RingHom.ker v.toRingHom |
| 67 | let : q.IsPrime := Ideal.comap_isPrime v.toRingHom ⊥ |
| 68 | have hq : ∀ x : R, g x - f x ∈ q := by |
| 69 | intro x |
| 70 | change v (g x - f x) = 0 |
| 71 | rw [map_sub, hvg, hvf, sub_self] |
| 72 | obtain ⟨s, hs, heq⟩ := IsomorphicCoordinateHomogenization.Construction.isomorphic_coordinate_homogenization_neighborhood |
| 73 | e D E f g J i n hD hE hcommon (fun a => hcoords (MvPolynomial.X a)) hz hw q hq |
| 74 | let U := Localization.Away s |
| 75 | let η : R ⊗[P] S →ₐ[k] U := IsScalarTower.toAlgHom k (R ⊗[P] S) U |
| 76 | let f' := η.comp f |
| 77 | let g' := η.comp g |
| 78 | have hsunit : IsUnit (v s) := by |
| 79 | apply isUnit_iff_ne_zero.mpr |
| 80 | exact hs |
| 81 | let v' : U →ₐ[k] C := IsLocalization.Away.liftAlgHom s hsunit |
| 82 | have hη : η.toRingHom.Etale := by |
| 83 | change (algebraMap (R ⊗[P] S) U).Etale |
| 84 | exact RingHom.etale_algebraMap.mpr (Algebra.Etale.of_isLocalizationAway s) |
| 85 | have hf' : f'.toRingHom = η.toRingHom.comp f.toRingHom := by |
| 86 | ext x |
| 87 | rfl |
| 88 | have hg' : g'.toRingHom = η.toRingHom.comp g.toRingHom := by |
| 89 | ext x |
| 90 | rfl |
| 91 | refine ⟨U, inferInstance, inferInstance, f', g', v', ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 92 | · rw [hf'] |
| 93 | exact RingHom.Etale.stableUnderComposition f.toRingHom η.toRingHom hf hη |
| 94 | · rw [hg'] |
| 95 | exact RingHom.Etale.stableUnderComposition g.toRingHom η.toRingHom hg hη |
| 96 | · intro p |
| 97 | exact congrArg η (hcoords p) |
| 98 | · rw [hf', hg'] |
| 99 | have hηmap : η.toRingHom = algebraMap (R ⊗[P] S) U := by |
| 100 | apply RingHom.ext |
| 101 | intro x |
| 102 | rfl |
| 103 | rw [hηmap, ← Ideal.map_map, ← Ideal.map_map] |
| 104 | exact heq |
| 105 | · intro x |
| 106 | calc |
| 107 | v' (f' x) = v (f x) := IsLocalization.Away.lift_eq s hsunit (f x) |
| 108 | _ = r x := hvf x |
| 109 | · intro x |
| 110 | calc |
| 111 | v' (g' x) = v (g x) := IsLocalization.Away.lift_eq s hsunit (g x) |
| 112 | _ = r x := hvg x |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.Resolution.Blowups.ConstructedHomogenizedComparison.Construction |