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.ShearedCoordinates |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.NonzeroPartialCenterComparison |
| 3 | |
| 4 | /-! # Center Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterComparison.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Boundary-preserving transverse comparisons identify all permissible embedded centers. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {σ k R C : Type u} [Field k] [CommRing R] [Field C] |
| 15 | [Algebra k R] [Algebra k C] [Algebra ℚ R] |
| 16 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 17 | [IsScalarTower k (MvPolynomial σ k) R] [Fintype σ] [DecidableEq σ] |
| 18 | |
| 19 | /-- Any tangent-ideal equation transverse to the retained boundary can be |
| 20 | compared with a transverse coordinate hypersurface. The common étale chart, |
| 21 | point, hypersurface alignment, boundary equations, homogenized-ideal equality, |
| 22 | and compatibility with every permissible embedded center are all constructed. -/ |
| 23 | theorem exists_boundary_transverse_center_comparison |
| 24 | (J : Ideal R) (B : Finset σ) (i : σ) (hiB : i ∉ B) (z : R) (n : ℕ) (r : R →ₐ[k] C) |
| 25 | (htrans : ∃ j : σ, j ∉ B ∧ r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j z) ≠ 0) |
| 26 | (hi : algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) ∈ |
| 27 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 28 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 29 | (hpoint : r (algebraMap (MvPolynomial σ k) R (MvPolynomial.X i)) = r z) : |
| 30 | ∃ (U : Type u) (_ : CommRing U) (_ : Algebra k U), |
| 31 | ∃ f g : R →ₐ[k] U, ∃ v : U →ₐ[k] C, |
| 32 | f.toRingHom.Etale ∧ g.toRingHom.Etale ∧ |
| 33 | f (algebraMap (MvPolynomial σ k) R (MvPolynomial.X i)) = g z ∧ |
| 34 | (∀ b ∈ B, |
| 35 | f (algebraMap (MvPolynomial σ k) R (MvPolynomial.X b)) = |
| 36 | g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X b))) ∧ |
| 37 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map f.toRingHom = |
| 38 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map g.toRingHom ∧ |
| 39 | (∀ x : R, v (f x) = r x) ∧ (∀ x : R, v (g x) = r x) ∧ |
| 40 | ∀ I : Ideal R, J ≤ I ^ (n + 1) → I.map f.toRingHom = I.map g.toRingHom := by |
| 41 | by_cases hpi : r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i z) ≠ 0 |
| 42 | · obtain ⟨U, instU, instkU, f, g, v, hf, hg, heq, hcomp, hH, hvf, hvg, hcenters⟩ := |
| 43 | NonzeroPartialCenterComparison.Construction.exists_nonzero_partial_center_comparison J i z n r hpi hi hz hpoint |
| 44 | refine ⟨U, instU, instkU, f, g, v, hf, hg, heq, ?_, hH, hvf, hvg, hcenters⟩ |
| 45 | intro b hb |
| 46 | exact hcomp b (fun he => hiB (he.symm ▸ hb)) |
| 47 | · have hzero : r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i z) = 0 := not_ne_iff.mp hpi |
| 48 | obtain ⟨j, hjB, hpj⟩ := htrans |
| 49 | have hij : i ≠ j := by |
| 50 | intro h |
| 51 | subst j |
| 52 | exact hpj hzero |
| 53 | obtain ⟨S, instS, instkS, instPS, htor, hS, e, hcoords⟩ := |
| 54 | Blowups.Etale.ShearedCoordinates.Construction.exists_etale_sheared_coordinates (k := k) (R := R) i j hij |
| 55 | let : CommRing S := instS |
| 56 | let : Algebra k S := instkS |
| 57 | let : Algebra (MvPolynomial σ k) S := instPS |
| 58 | let : IsScalarTower k (MvPolynomial σ k) S := htor |
| 59 | let : Algebra.Etale (MvPolynomial σ k) S := hS |
| 60 | let : Algebra ℚ S := (e.toRingHom.comp (algebraMap ℚ R)).toAlgebra |
| 61 | let J' := J.map e.toRingHom |
| 62 | let r' := r.comp e.symm.toAlgHom |
| 63 | have hfix : ∀ a : σ, a ≠ j → algebraMap (MvPolynomial σ k) S (MvPolynomial.X a) = |
| 64 | e (algebraMap (MvPolynomial σ k) R (MvPolynomial.X a)) := by |
| 65 | intro a haj |
| 66 | rw [hcoords a, ite_eq_right haj] |
| 67 | have hnewpartial : r' (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := S) i (e z)) ≠ 0 := by |
| 68 | rw [Blowups.Etale.ShearPartial.Construction.etale_shear_partial_formula e i j hij hcoords z] |
| 69 | change r (e.symm (e _)) ≠ 0 |
| 70 | rw [e.symm_apply_apply, map_add, hzero, zero_add] |
| 71 | exact hpj |
| 72 | have hi' : algebraMap (MvPolynomial σ k) S (MvPolynomial.X i) ∈ |
| 73 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J' n := by |
| 74 | rw [hfix i hij, ← Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 75 | exact Ideal.mem_map_of_mem e.toRingHom hi |
| 76 | have hz' : e z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J' n := by |
| 77 | rw [← Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 78 | exact Ideal.mem_map_of_mem e.toRingHom hz |
| 79 | have hp : r' (algebraMap (MvPolynomial σ k) S (MvPolynomial.X i)) = r' (e z) := by |
| 80 | rw [hfix i hij] |
| 81 | change r (e.symm (e _)) = r (e.symm (e z)) |
| 82 | rw [e.symm_apply_apply, e.symm_apply_apply] |
| 83 | exact hpoint |
| 84 | obtain ⟨U, instU, instkU, F, G, v, hF, hG, heq, hcomp, hH, hvF, hvG, hcenters⟩ := |
| 85 | NonzeroPartialCenterComparison.Construction.exists_nonzero_partial_center_comparison J' i (e z) n r' |
| 86 | hnewpartial hi' hz' hp |
| 87 | let f := F.comp e.toAlgHom |
| 88 | let g := G.comp e.toAlgHom |
| 89 | have hf : f.toRingHom = F.toRingHom.comp e.toRingHom := by |
| 90 | ext x |
| 91 | rfl |
| 92 | have hg : g.toRingHom = G.toRingHom.comp e.toRingHom := by |
| 93 | ext x |
| 94 | rfl |
| 95 | refine ⟨U, instU, instkU, f, g, v, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 96 | · rw [hf] |
| 97 | exact RingHom.Etale.stableUnderComposition e.toRingHom F.toRingHom |
| 98 | (RingHom.Etale.of_bijective e.bijective) hF |
| 99 | · rw [hg] |
| 100 | exact RingHom.Etale.stableUnderComposition e.toRingHom G.toRingHom |
| 101 | (RingHom.Etale.of_bijective e.bijective) hG |
| 102 | · rw [hfix i hij] at heq |
| 103 | exact heq |
| 104 | · intro b hb |
| 105 | have hib : i ≠ b := fun he => hiB (he.symm ▸ hb) |
| 106 | have hbj : b ≠ j := fun he => hjB (he ▸ hb) |
| 107 | have h := hcomp b hib |
| 108 | rw [hfix b hbj] at h |
| 109 | exact h |
| 110 | · rw [hf, hg, ← Ideal.map_map, ← Ideal.map_map, Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal_map_equiv] |
| 111 | exact hH |
| 112 | · intro x |
| 113 | have h := hvF (e x) |
| 114 | change v (f x) = r (e.symm (e x)) at h |
| 115 | rwa [e.symm_apply_apply] at h |
| 116 | · intro x |
| 117 | have h := hvG (e x) |
| 118 | change v (g x) = r (e.symm (e x)) at h |
| 119 | rwa [e.symm_apply_apply] at h |
| 120 | |
| 121 | · intro I hI |
| 122 | have hI' : J' ≤ (I.map e.toRingHom) ^ (n + 1) := by |
| 123 | rw [← Ideal.map_pow] |
| 124 | exact Ideal.map_mono hI |
| 125 | have h := hcenters (I.map e.toRingHom) hI' |
| 126 | rw [Ideal.map_map, Ideal.map_map] at h |
| 127 | rw [hf, hg] |
| 128 | exact h |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.CenterComparison.Construction |