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.TransverseFiniteFrameCorrection |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.JacobianNeighborhood |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.QuotientPairBlowup |
| 4 | |
| 5 | /-! # Normal Quotient Frame Blowup -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.NormalQuotientFrameBlowup.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Any finite coordinate center on a smooth normal quotient lifts to a smooth actual ambient blowup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem normal_quotient_frame_blowup_smooth |
| 18 | {k R ι : Type u} [CommRing k] [CommRing R] [Algebra k R] [Algebra.Smooth k R] |
| 19 | [Fintype ι] [DecidableEq ι] |
| 20 | (z : R) (g : ι → R) (D : Derivation k R R) (hDz : D z = 1) |
| 21 | (δ : ι → Derivation k (R ⧸ Ideal.span {z}) (R ⧸ Ideal.span {z})) |
| 22 | (hδ : ∀ i j, δ i (Ideal.Quotient.mk (Ideal.span {z}) (g j)) = if i = j then 1 else 0) : |
| 23 | Smooth (ReesGrading.Construction.affineBlowupToSpec (Ideal.span (Set.range g) ⊔ Ideal.span {z}) ≫ |
| 24 | Spec.map (CommRingCat.ofHom (algebraMap k R))) := by |
| 25 | classical |
| 26 | let q := Ideal.Quotient.mkₐ k (Ideal.span {z}) |
| 27 | have hqz : q z = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_span_singleton_self z) |
| 28 | have hlift (i : ι) := Blowups.Smooth.ConormalDerivationLift.Construction.exists_quotient_derivation_lift_annihilating_normal k q |
| 29 | Ideal.Quotient.mk_surjective (δ i) z hqz D hDz |
| 30 | choose E hEz hE using hlift |
| 31 | let a := (JacobianDerivationFrame.Construction.derivationJacobian E g).det |
| 32 | have hqa : Ideal.Quotient.mk (Ideal.span {z}) a = 1 := by |
| 33 | have hm : q.toRingHom.mapMatrix (JacobianDerivationFrame.Construction.derivationJacobian E g) = 1 := by |
| 34 | ext i j |
| 35 | change q (E i (g j)) = (1 : Matrix ι ι (R ⧸ Ideal.span {z})) i j |
| 36 | rw [hE, Matrix.one_apply] |
| 37 | exact hδ i j |
| 38 | change q.toRingHom (JacobianDerivationFrame.Construction.derivationJacobian E g).det = 1 |
| 39 | rw [RingHom.map_det, hm, Matrix.det_one] |
| 40 | have hza : Ideal.span {z, a} = ⊤ := NormalQuotientDualPair.Construction.span_normal_pair_eq_top_of_quotient_one z a hqa |
| 41 | let I := Ideal.span (Set.range g) ⊔ Ideal.span {z} |
| 42 | apply Affine.BlowupSmoothOpenDescent.Construction.affineBlowup_smooth_of_pointed_open_bases k I |
| 43 | intro p |
| 44 | by_cases hz : z ∈ p.asIdeal |
| 45 | · have ha : a ∉ p.asIdeal := by |
| 46 | intro ha |
| 47 | have hle : Ideal.span {z, a} ≤ p.asIdeal := Ideal.span_le.mpr (by |
| 48 | intro x hx |
| 49 | rcases Set.mem_insert_iff.mp hx with rfl | hx |
| 50 | · exact hz |
| 51 | · exact Set.mem_singleton_iff.mp hx ▸ ha) |
| 52 | rw [hza] at hle |
| 53 | exact p.isPrime.ne_top (top_le_iff.mp hle) |
| 54 | let S := JacobianNeighborhood.Construction.derivationJacobianNeighborhood E g |
| 55 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away a |
| 56 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 57 | let : Algebra.Etale R S := Algebra.Etale.of_isLocalizationAway a |
| 58 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 59 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime a p ha |
| 60 | let g' : ι → S := fun i => f (g i) |
| 61 | let E' := JacobianDerivationFrame.Construction.normalizedJacobianFrame (JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation E g) g' |
| 62 | have hE'g : ∀ i j, E' i (g' j) = if i = j then 1 else 0 := |
| 63 | JacobianDerivationFrame.Construction.normalizedJacobianFrame_dual _ _ (JacobianNeighborhood.Construction.jacobianNeighborhood_jacobian_isUnit E g) |
| 64 | have hE'z : ∀ i, E' i (f z) = 0 := by |
| 65 | apply TransverseFiniteFrameCorrection.Construction.normalizedJacobianFrame_annihilates |
| 66 | intro i |
| 67 | change JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation E g i (algebraMap R S z) = 0 |
| 68 | rw [JacobianNeighborhood.Construction.jacobianNeighborhoodDerivation_constants, hEz, map_zero] |
| 69 | let D' := Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D |
| 70 | have hD'z : D' (f z) = 1 := by |
| 71 | change Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := S) D (algebraMap R S z) = 1 |
| 72 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hDz, map_one] |
| 73 | obtain ⟨F, hFz, hFg⟩ := TransverseFiniteFrameCorrection.Construction.exists_normal_derivation_annihilating_frame D' E' g' (f z) hD'z hE'z hE'g |
| 74 | have hs := DualFrameBlowupSmooth.Construction.dual_derivation_family_blowup_smooth (AdaptedEtaleFrame.Construction.transverseExtendedCoordinates g' (f z)) |
| 75 | (AdaptedEtaleFrame.Construction.transverseExtendedDerivations E' F (f z)) (AdaptedEtaleFrame.Construction.transverseExtendedDerivations_dual E' g' F (f z) hE'g hFz hFg) |
| 76 | rw [TransverseFiniteFrameCorrection.Construction.transverseExtendedCoordinates_span] at hs |
| 77 | refine ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization a, Q, hQ, ?_⟩ |
| 78 | change Smooth (ReesGrading.Construction.affineBlowupToSpec ((Ideal.span (Set.range g) ⊔ Ideal.span {z}).map f.toRingHom) ≫ _) |
| 79 | rw [Ideal.map_sup, Ideal.map_span, Ideal.map_span, Set.image_singleton, ← Set.range_comp] |
| 80 | exact hs |
| 81 | · let S := Localization.Away z |
| 82 | let : Algebra.Smooth R S := Algebra.Smooth.of_isLocalization_Away z |
| 83 | let : Algebra.Smooth k S := Algebra.Smooth.comp k R S |
| 84 | let f : R →ₐ[k] S := IsScalarTower.toAlgHom k R S |
| 85 | obtain ⟨Q, hQ⟩ := Blowups.Etale.RefinementHelpers.Construction.exists_localization_away_prime z p hz |
| 86 | refine ⟨.of S, inferInstance, f, IsOpenImmersion.of_isLocalization z, Q, hQ, ?_⟩ |
| 87 | have hzI : z ∈ I := (show Ideal.span {z} ≤ I from le_sup_right) (Ideal.mem_span_singleton_self z) |
| 88 | have ht : I.map f.toRingHom = ⊤ := IdempotentQuotientCenter.Construction.center_map_away_member_eq_top I z hzI |
| 89 | rw [ht] |
| 90 | let : IsIso (ReesGrading.Construction.affineBlowupToSpec (⊤ : Ideal S)) := |
| 91 | PrincipalBlowup.Construction.affineBlowupToSpec_isIso_of_principal (⊤ : Ideal S) ⟨1, trivial⟩ Ideal.span_singleton_one.symm isRegular_one |
| 92 | let : Smooth (Spec.map (CommRingCat.ofHom (algebraMap k S))) := |
| 93 | (HasRingHomProperty.Spec_iff (P := @Smooth) (φ := CommRingCat.ofHom (algebraMap k S))).mpr |
| 94 | (RingHom.smooth_algebraMap.mpr inferInstance) |
| 95 | infer_instance |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.AlgebraicGeometry.Resolution.Blowups.NormalQuotientFrameBlowup.Construction |