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.Etale.HypersurfaceTreeCover |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.RefinementCoefficientData |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.GeneratedFrame |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Smooth.CoefficientTerminalBound |
| 5 | import OAI.AlgebraicGeometry.Resolution.Blowups.NoetherianCoordinateTransform |
| 6 | |
| 7 | /-! # Open Coefficient Tree Lift -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.OpenCoefficientTreeLift.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Lifting finite framed coefficient trees with open refinements to actual smooth ambient trees. -/ |
| 14 | |
| 15 | open _root_.Polynomial _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | attribute [local instance] Relative.DifferentialBlowup.Construction.blowupRelativeBaseAlgebra Blowups.Etale.RelativeLineBlowup.Construction.etaleLineChartBaseAlgebra |
| 20 | Blowups.Etale.RelativeLineBlowup.Construction.etaleLineChartCoordinateAlgebra Blowups.Etale.RelativeLineBlowup.Construction.etaleLineChart_scalarTower Blowups.Etale.RelativeLineBlowup.Construction.etaleLineChart_algebra_etale |
| 21 | EtaleLine.ReferenceBase.Construction.etaleLineChart_originalScalarTower EtaleLine.HorizontalDerivation.Construction.etaleLine_polynomial_originalScalarTower |
| 22 | |
| 23 | variable (k : Type u) [Field k] [CharZero k] [IsAlgClosed k] |
| 24 | |
| 25 | /-- A finite actual coefficient tree at factorial control lifts, without |
| 26 | increasing depth, to a finite tree of permissible smooth ambient blowups. |
| 27 | The exact retained coefficient ideal is carried through every branch. -/ |
| 28 | theorem exists_lifted_framed_open_coefficient_tree {n : ℕ} |
| 29 | {H : CommRingCat.{u}} [Algebra k H] {B : Ideal H} |
| 30 | (T : Affine.FramedOpenControlTree.Construction.AffineFramedOpenControlTree k (n + 1).factorial H B) : |
| 31 | ∀ [Algebra.Smooth k H] (R : CommRingCat.{u}) |
| 32 | [Algebra k R] [Algebra H R] [IsScalarTower k H R] |
| 33 | [Algebra H[X] R] [IsScalarTower H H[X] R] [Algebra.Etale H[X] R] |
| 34 | [Algebra.Smooth k R] [IsNoetherianRing R] [Algebra ℚ R] |
| 35 | (e : (R ⧸ Ideal.span {algebraMap H[X] R X}) ≃ₐ[H] H) |
| 36 | {τ : Type u} (p : τ → R) (C : Ideal (R ⧸ Ideal.span {algebraMap H[X] R X})), |
| 37 | C.map e.toRingHom = B → |
| 38 | WeightedGeneratorFamily.Construction.weightedCoordinateDerivativeFamilyIdeal |
| 39 | (Retracted.CoefficientStep.Construction.etaleLineOriginalNormalDerivation k (H := H) (R := R)) |
| 40 | (algebraMap H[X] R X) p (n + 1) ≤ C → |
| 41 | C ≤ Relative.CoefficientIdeal.Construction.relativeCoefficientIdeal k (algebraMap H[X] R X) (Ideal.span (Set.range p)) (n + 1) → |
| 42 | algebraMap H[X] R X ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k (Ideal.span (Set.range p)) n → |
| 43 | ∃ S : Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) R (Ideal.span (Set.range p)), S.blowupDepth ≤ T.blowupDepth := by |
| 44 | classical |
| 45 | induction T with |
| 46 | | @terminal H _ B ht => |
| 47 | intro _ R _ _ _ _ _ _ _ _ _ e τ p C hC _ hupp hz |
| 48 | have hterminal := Blowups.Smooth.CoefficientTerminalBound.Construction.retracted_coefficient_terminal_bound_clears_order k |
| 49 | (algebraMap H[X] R X) (Ideal.span (Set.range p)) n hz e.toRingEquiv C hupp |
| 50 | (by simpa only [hC] using ht) |
| 51 | refine ⟨.terminal (by simpa only [Nat.add_sub_cancel] using hterminal), ?_⟩ |
| 52 | exact Nat.zero_le _ |
| 53 | | @refineOpen H _ B ι _ A aA φ hφ hcover children ih => |
| 54 | intro _ R _ _ _ _ _ _ _ _ _ e τ p C hC hlow hupp hz |
| 55 | have hφe (i : ι) : (φ i).toRingHom.Etale := by |
| 56 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (φ i).toRingHom)) := hφ i |
| 57 | have he : Etale (Spec.map (CommRingCat.ofHom (φ i).toRingHom)) := inferInstance |
| 58 | exact (HasRingHomProperty.Spec_iff (P := @Etale)).mp he |
| 59 | have hdata (i : ι) := EtaleLine.RefinementCoefficientData.Construction.exists_etale_line_refined_coefficient_data k |
| 60 | (φ i) (hφe i) e p n C hlow hupp hz |
| 61 | choose V akV aAV aAPV hkAV hAPV heV hsV f hf hcoord e' C' hl hu hC' hz' hcomm using hdata |
| 62 | let : ∀ i, Algebra k (V i) := akV |
| 63 | let : ∀ i, Algebra (A i) (V i) := aAV |
| 64 | let : ∀ i, Algebra (A i)[X] (V i) := aAPV |
| 65 | let : ∀ i, IsScalarTower k (A i) (V i) := hkAV |
| 66 | let : ∀ i, IsScalarTower (A i) (A i)[X] (V i) := hAPV |
| 67 | let : ∀ i, Algebra.Etale (A i)[X] (V i) := heV |
| 68 | let : ∀ i, Algebra.Smooth k (V i) := hsV |
| 69 | have hchildren (i : ι) : ∃ S : Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) |
| 70 | (V i) ((Ideal.span (Set.range p)).map (f i).toRingHom), |
| 71 | S.blowupDepth ≤ (children i).blowupDepth := by |
| 72 | let : Algebra.Smooth k (A i) := Blowups.Etale.RefinementHelpers.Construction.smooth_target_of_etale_algHom k (φ i) (hφe i) |
| 73 | let : IsNoetherianRing (V i) := Algebra.FiniteType.isNoetherianRing k (V i) |
| 74 | let : Algebra ℚ (V i) := ((algebraMap k (V i)).comp (algebraMap ℚ k)).toAlgebra |
| 75 | have hp : (Ideal.span (Set.range p)).map (f i).toRingHom = |
| 76 | Ideal.span (Set.range (fun t => f i (p t))) := by |
| 77 | rw [Ideal.map_span, ← Set.range_comp] |
| 78 | rfl |
| 79 | rw [hp] |
| 80 | exact ih i (V i) (e' i) (fun t => f i (p t)) (C' i) |
| 81 | (by simpa only [hC] using hC' i) (hl i) (hu i) (hz' i) |
| 82 | let ρ := e.toRingHom.comp (Ideal.Quotient.mk (Ideal.span {algebraMap H[X] R X})) |
| 83 | have hρ : Function.Surjective ρ := e.surjective.comp Ideal.Quotient.mk_surjective |
| 84 | let ρ' (i : ι) := (e' i).toRingHom.comp (Ideal.Quotient.mk (Ideal.span {algebraMap (A i)[X] (V i) X})) |
| 85 | have hcove (q : PrimeSpectrum R) (hq : algebraMap H[X] R X ∈ q.asIdeal) : |
| 86 | ∃ i, ∃ q' : PrimeSpectrum (V i), PrimeSpectrum.comap (f i).toRingHom q' = q := by |
| 87 | have hker : RingHom.ker ρ ≤ q.asIdeal := by |
| 88 | intro x hx |
| 89 | change e (Ideal.Quotient.mk (Ideal.span {algebraMap H[X] R X}) x) = 0 at hx |
| 90 | have hx' : Ideal.Quotient.mk (Ideal.span {algebraMap H[X] R X}) x = 0 := |
| 91 | e.injective (by simpa only [map_zero] using hx) |
| 92 | exact ((Ideal.span_singleton_le_iff_mem q.asIdeal).mpr hq) |
| 93 | (Ideal.Quotient.eq_zero_iff_mem.mp hx') |
| 94 | exact Blowups.Etale.RefinementHelpers.Construction.retraction_square_cover_lifts ρ hρ A V (fun i => (φ i).toRingHom) |
| 95 | (fun i => (f i).toRingHom) ρ' hcomm hcover q hker |
| 96 | exact Blowups.Etale.HypersurfaceTreeCover.Construction.exists_control_tree_of_hypersurface_cover k R (Ideal.span (Set.range p)) |
| 97 | (algebraMap H[X] R X) n (Finset.univ.sup fun i => (children i).blowupDepth) hz |
| 98 | ι V f hf hcove (fun i => (hchildren i).choose) |
| 99 | (fun i => (hchildren i).choose_spec.trans |
| 100 | (Finset.le_sup (f := fun i : ι => (children i).blowupDepth) (Finset.mem_univ i))) |
| 101 | | @blowup H _ B ι _ _ g δ hδ hb hperm children ih => |
| 102 | intro _ R _ _ _ _ _ _ _ _ _ e τ p C hC hlow hupp hz |
| 103 | let K := Ideal.span (Set.range g) |
| 104 | let I := Blowups.Etale.RelativeLineBlowup.Construction.etaleLineCenter (R := R) K |
| 105 | obtain ⟨hp, hsmooth, hblowup⟩ := EtaleLine.FrameCoefficientStep.Construction.etaleLine_frame_coefficient_center k e p (n + 1) |
| 106 | g δ hδ C hlow (by simpa only [hC] using hperm) |
| 107 | let : Smooth (ReesGrading.Construction.affineBlowupToSpec I ≫ Spec.map (CommRingCat.ofHom (algebraMap k R))) := hblowup |
| 108 | let : Smooth (ReesGrading.Construction.affineBlowupToSpec K ≫ Spec.map (CommRingCat.ofHom (algebraMap k H))) := |
| 109 | DualFrameBlowupSmooth.Construction.dual_derivation_family_blowup_smooth g δ hδ |
| 110 | have hchildren (i : ι) : |
| 111 | ∃ S : Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) |
| 112 | (.of (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineBlowupChart (R := R) K ⟨g i, Ideal.subset_span ⟨i, rfl⟩⟩)) |
| 113 | (ControlledTransform.Construction.blowupControlledTransform I (Ideal.span (Set.range p)) (n + 1) |
| 114 | (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineDenominator K ⟨g i, Ideal.subset_span ⟨i, rfl⟩⟩)), |
| 115 | S.blowupDepth ≤ (children i).blowupDepth := by |
| 116 | let a : K := ⟨g i, Ideal.subset_span ⟨i, rfl⟩⟩ |
| 117 | let : Algebra.Smooth k (Blowup.Charts.Construction.blowupChart K a) := Blowups.Smooth.BlowupChart.Construction.blowupChart_smooth_of_blowup_smooth k K a |
| 118 | let : Algebra.Smooth k (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineBlowupChart (R := R) K a) := |
| 119 | Blowups.Smooth.BlowupChart.Construction.blowupChart_smooth_of_blowup_smooth k I (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineDenominator (R := R) K a) |
| 120 | let : IsNoetherianRing (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineBlowupChart (R := R) K a) := |
| 121 | NoetherianCoordinateTransform.Construction.blowupChart_isNoetherian I (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineDenominator (R := R) K a) |
| 122 | obtain ⟨e', C', hlow', hupp', hC', hz'⟩ := |
| 123 | EtaleLine.PersistentCoefficientStep.Construction.etaleLine_persistent_coefficient_chart k e K a p n hp hz C hlow hupp |
| 124 | rw [ControlledGeneratorFamily.Construction.blowupControlledTransform_eq_span_family I p _ (n + 1) hp] |
| 125 | exact ih i (.of (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineBlowupChart (R := R) K a)) e' |
| 126 | (ControlledGeneratorFamily.Construction.blowupChartTransformFamily I p (Blowups.Etale.RelativeLineBlowup.Construction.etaleLineDenominator (R := R) K a) (n + 1) hp) |
| 127 | C' (by simpa only [hC] using hC') hlow' hupp' hz' |
| 128 | let next : ∀ j : Option ι, Blowups.Smooth.AffineEtaleControlTree.Construction.SmoothAffineEtaleControlTree k (n + 1) |
| 129 | (.of (Blowup.Charts.Construction.blowupChart I (EtaleLine.FamilyCover.Construction.etaleLineFamilyChartGenerator (R := R) g j))) |
| 130 | (ControlledTransform.Construction.blowupControlledTransform I (Ideal.span (Set.range p)) (n + 1) |
| 131 | (EtaleLine.FamilyCover.Construction.etaleLineFamilyChartGenerator (R := R) g j)) := by |
| 132 | intro j |
| 133 | cases j with |
| 134 | | none => |
| 135 | dsimp only [EtaleLine.FamilyCover.Construction.etaleLineFamilyChartGenerator] |
| 136 | exact .terminal (by simpa only [Nat.add_sub_cancel] using |
| 137 | EtaleLine.PersistentCoefficientStep.Construction.etaleLine_normal_chart_terminal k K (Ideal.span (Set.range p)) n hp hz) |
| 138 | | some i => exact (hchildren i).choose |
| 139 | refine ⟨.blowup I (Nat.succ_pos n) hp hsmooth hblowup (Option ι) |
| 140 | (EtaleLine.FamilyCover.Construction.etaleLineFamilyChartGenerator g) (EtaleLine.GeneratedFrame.Construction.etaleLineGeneratedFrameDerivation k δ) |
| 141 | (EtaleLine.GeneratedFrame.Construction.etaleLineGeneratedChartFamily_dual k K (fun i => ⟨g i, Ideal.subset_span ⟨i, rfl⟩⟩) δ hδ) |
| 142 | (EtaleLine.FamilyCover.Construction.etaleLineFamilyChartGenerator_span g) next, ?_⟩ |
| 143 | change (Finset.univ.sup fun j => (next j).blowupDepth) + 1 ≤ |
| 144 | (Finset.univ.sup fun i => (children i).blowupDepth) + 1 |
| 145 | apply Nat.add_le_add_right |
| 146 | apply Finset.sup_le |
| 147 | intro j _ |
| 148 | cases j with |
| 149 | | none => exact Nat.zero_le _ |
| 150 | | some i => |
| 151 | exact (hchildren i).choose_spec.trans |
| 152 | (Finset.le_sup (f := fun i : ι => (children i).blowupDepth) (Finset.mem_univ i)) |
| 153 | |
| 154 | end |
| 155 | |
| 156 | end OAI.AlgebraicGeometry.Resolution.Blowups.OpenCoefficientTreeLift.Construction |