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.NormalQuotientFrameBlowup |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.AdaptedEtaleFrame |
| 3 | |
| 4 | /-! # Normal Quotient Open Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.NormalQuotientOpenFrame.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Lift exact quotient coordinates to actual ambient opens, retaining the normal equation. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem quotient_dual_frame_lifts_to_pointed_open |
| 17 | {k R Q ι : Type u} [CommRing k] [CommRing R] [CommRing Q] |
| 18 | [Algebra k R] [Algebra k Q] [Algebra.Smooth k R] |
| 19 | [Fintype ι] [DecidableEq ι] |
| 20 | (q : R →ₐ[k] Q) (hq : Function.Surjective q) |
| 21 | (z : R) (hqz : q z = 0) (D : Derivation k R R) (hDz : D z = 1) |
| 22 | (g : ι → R) (δ : ι → Derivation k Q Q) |
| 23 | (hδ : ∀ i j, δ i (q (g j)) = if i = j then 1 else 0) |
| 24 | (p : PrimeSpectrum R) (hqp : RingHom.ker q.toRingHom ≤ p.asIdeal) : |
| 25 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (_ : Algebra.Smooth k S) |
| 26 | (f : R →ₐ[k] S), IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 27 | ∃ (P : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom P = p ∧ |
| 28 | ∃ E : Option ι → Derivation k S S, |
| 29 | ∀ i j, E i (f (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g z j)) = if i = j then 1 else 0 := by |
| 30 | classical |
| 31 | choose E hEz hE using fun i => |
| 32 | Blowups.Smooth.ConormalDerivationLift.Construction.exists_quotient_derivation_lift_annihilating_normal k q hq (δ i) z hqz D hDz |
| 33 | let a := (JacobianDerivationFrame.Construction.derivationJacobian E g).det |
| 34 | have hqa : q a = 1 := by |
| 35 | have hm : q.toRingHom.mapMatrix (JacobianDerivationFrame.Construction.derivationJacobian E g) = 1 := by |
| 36 | ext i j |
| 37 | change q (E i (g j)) = (1 : Matrix ι ι Q) i j |
| 38 | rw [hE, Matrix.one_apply] |
| 39 | exact hδ i j |
| 40 | change q.toRingHom (JacobianDerivationFrame.Construction.derivationJacobian E g).det = 1 |
| 41 | rw [RingHom.map_det, hm, Matrix.det_one] |
| 42 | have ha : a ∉ p.asIdeal := by |
| 43 | have hm : a - 1 ∈ p.asIdeal := hqp (by |
| 44 | change q (a - 1) = 0 |
| 45 | rw [map_sub, hqa, map_one, sub_self]) |
| 46 | intro ha |
| 47 | exact p.isPrime.one_notMem (by |
| 48 | simpa only [sub_sub_cancel] using p.asIdeal.sub_mem ha hm) |
| 49 | let S := JacobianNeighborhood.Construction.derivationJacobianNeighborhood E g |
| 50 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away a |
| 51 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 52 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway a |
| 53 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 54 | obtain ⟨P, hP⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime a p ha |
| 55 | let g' : ι → S := fun i => f (g i) |
| 56 | let E' := JacobianDerivationFrame.Construction.normalizedJacobianFrame (JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation E g) g' |
| 57 | have hE'g : ∀ i j, E' i (g' j) = if i = j then 1 else 0 := |
| 58 | JacobianDerivationFrame.Construction.normalizedJacobianFrame_dual _ _ (JacobianNeighborhood.Construction.jacobianNeighborhood_jacobian_isUnit E g) |
| 59 | have hE'z : ∀ i, E' i (f z) = 0 := by |
| 60 | apply TransverseFiniteFrameCorrection.Construction.normalizedJacobianFrame_annihilates |
| 61 | intro i |
| 62 | change JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation E g i (algebraMap R S z) = 0 |
| 63 | rw [JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation_constants, hEz, map_zero] |
| 64 | let D' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D |
| 65 | have hD'z : D' (f z) = 1 := by |
| 66 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D (algebraMap R S z) = 1 |
| 67 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hDz, map_one] |
| 68 | obtain ⟨F, hFz, hFg⟩ := |
| 69 | TransverseFiniteFrameCorrection.Construction.exists_normal_derivation_annihilating_frame D' E' g' (f z) hD'z hE'z hE'g |
| 70 | refine ⟨.of S, inferInstance, inferInstance, f, IsOpenImmersion.of_isLocalization a, |
| 71 | P, hP, AdaptedEtaleFrame.Construction.transverseExtendedDerivations E' F (f z), ?_⟩ |
| 72 | have he : (fun j => f (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g z j)) = |
| 73 | AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g' (f z) := by |
| 74 | funext j |
| 75 | cases j <;> rfl |
| 76 | intro i j |
| 77 | rw [congrFun he j] |
| 78 | exact AdaptedEtaleFrame.Construction.transverseExtendedDerivations_dual E' g' F (f z) hE'g hFz hFg i j |
| 79 | |
| 80 | theorem quotient_dual_frame_lifts_to_pointed_coordinates |
| 81 | {k R Q ι : Type u} [CommRing k] [CommRing R] [CommRing Q] |
| 82 | [Algebra k R] [Algebra k Q] [Algebra.Smooth k R] |
| 83 | [Fintype ι] [DecidableEq ι] |
| 84 | (q : R →ₐ[k] Q) (hq : Function.Surjective q) |
| 85 | (z : R) (hqz : q z = 0) (D : Derivation k R R) (hDz : D z = 1) |
| 86 | (g : ι → R) (δ : ι → Derivation k Q Q) |
| 87 | (hδ : ∀ i j, δ i (q (g j)) = if i = j then 1 else 0) |
| 88 | (p : PrimeSpectrum R) (hqp : RingHom.ker q.toRingHom ≤ p.asIdeal) : |
| 89 | ∃ (S : CommRingCat.{u}) (_ : Algebra k S) (f : R →ₐ[k] S), |
| 90 | IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) ∧ |
| 91 | ∃ (P : PrimeSpectrum S), PrimeSpectrum.comap f.toRingHom P = p ∧ |
| 92 | ∃ (n : ℕ) (φ : MvPolynomial (Fin n ⊕ Option ι) k →+* S), φ.Etale ∧ |
| 93 | (∀ c : k, φ (MvPolynomial.C c) = algebraMap k S c) ∧ |
| 94 | ∀ j, φ (MvPolynomial.X (Sum.inr j)) = f (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g z j) := by |
| 95 | obtain ⟨A, hAk, hAs, f, hf, P, hP, E, hE⟩ := |
| 96 | quotient_dual_frame_lifts_to_pointed_open q hq z hqz D hDz g δ hδ p hqp |
| 97 | obtain ⟨t, ht, n, φ, hφ, hφk, hX⟩ := |
| 98 | AdaptedEtaleFrame.Construction.exists_adapted_etale_frame E (fun j => f (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g z j)) hE P.asIdeal |
| 99 | let S := Localization.Away t |
| 100 | let a : A →ₐ[k] S := IsScalarTower.toAlgHom k A S |
| 101 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom f.toRingHom)) := hf |
| 102 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom a.toRingHom)) := |
| 103 | IsOpenImmersion.of_isLocalization t |
| 104 | obtain ⟨P', hP'⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime t P ht |
| 105 | refine ⟨.of S, inferInstance, a.comp f, ?_, P', ?_, n, φ, hφ, hφk, hX⟩ |
| 106 | · change IsOpenImmersion (Spec.map |
| 107 | (CommRingCat.ofHom f.toRingHom ≫ CommRingCat.ofHom a.toRingHom)) |
| 108 | rw [Spec.map_comp] |
| 109 | infer_instance |
| 110 | · apply PrimeSpectrum.ext |
| 111 | change (P'.asIdeal.comap a.toRingHom).comap f.toRingHom = p.asIdeal |
| 112 | have he : P'.asIdeal.comap a.toRingHom = P.asIdeal := congrArg PrimeSpectrum.asIdeal hP' |
| 113 | rw [he] |
| 114 | exact congrArg PrimeSpectrum.asIdeal hP |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.Resolution.Blowups.NormalQuotientOpenFrame.Construction |