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.NonzeroPartialTangentComparison |
| 3 | |
| 4 | /-! # Tangent Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.TangentComparison.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Boundary-preserving transverse comparisons retain tangent congruence. -/ |
| 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_tangent_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 | (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n).map f.toRingHom = |
| 41 | (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n).map g.toRingHom ∧ |
| 42 | (∀ x : R, g x - f x ∈ (Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n).map f.toRingHom) ∧ |
| 43 | ∀ I : Ideal R, J ≤ I ^ (n + 1) → I.map f.toRingHom = I.map g.toRingHom := by |
| 44 | by_cases hpi : r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i z) ≠ 0 |
| 45 | · obtain ⟨U, instU, instkU, f, g, v, hf, hg, heq, hcomp, hH, hvf, hvg, hT, hdiff, hcenters⟩ := |
| 46 | NonzeroPartialTangentComparison.Construction.exists_nonzero_partial_tangent_comparison J i z n r hpi hi hz hpoint |
| 47 | refine ⟨U, instU, instkU, f, g, v, hf, hg, heq, ?_, hH, hvf, hvg, hT, hdiff, hcenters⟩ |
| 48 | intro b hb |
| 49 | exact hcomp b (fun he => hiB (he.symm ▸ hb)) |
| 50 | · have hzero : r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i z) = 0 := not_ne_iff.mp hpi |
| 51 | obtain ⟨j, hjB, hpj⟩ := htrans |
| 52 | have hij : i ≠ j := by |
| 53 | intro h |
| 54 | subst j |
| 55 | exact hpj hzero |
| 56 | obtain ⟨S, instS, instkS, instPS, htor, hS, e, hcoords⟩ := |
| 57 | Blowups.Etale.ShearedCoordinates.Construction.exists_etale_sheared_coordinates (k := k) (R := R) i j hij |
| 58 | let : CommRing S := instS |
| 59 | let : Algebra k S := instkS |
| 60 | let : Algebra (MvPolynomial σ k) S := instPS |
| 61 | let : IsScalarTower k (MvPolynomial σ k) S := htor |
| 62 | let : Algebra.Etale (MvPolynomial σ k) S := hS |
| 63 | let : Algebra ℚ S := (e.toRingHom.comp (algebraMap ℚ R)).toAlgebra |
| 64 | let J' := J.map e.toRingHom |
| 65 | let r' := r.comp e.symm.toAlgHom |
| 66 | have hfix : ∀ a : σ, a ≠ j → algebraMap (MvPolynomial σ k) S (MvPolynomial.X a) = |
| 67 | e (algebraMap (MvPolynomial σ k) R (MvPolynomial.X a)) := by |
| 68 | intro a haj |
| 69 | rw [hcoords a, ite_eq_right haj] |
| 70 | have hnewpartial : r' (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := S) i (e z)) ≠ 0 := by |
| 71 | rw [Blowups.Etale.ShearPartial.Construction.etale_shear_partial_formula e i j hij hcoords z] |
| 72 | change r (e.symm (e _)) ≠ 0 |
| 73 | rw [e.symm_apply_apply, map_add, hzero, zero_add] |
| 74 | exact hpj |
| 75 | have hi' : algebraMap (MvPolynomial σ k) S (MvPolynomial.X i) ∈ |
| 76 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J' n := by |
| 77 | rw [hfix i hij, ← Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 78 | exact Ideal.mem_map_of_mem e.toRingHom hi |
| 79 | have hz' : e z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J' n := by |
| 80 | rw [← Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 81 | exact Ideal.mem_map_of_mem e.toRingHom hz |
| 82 | have hp : r' (algebraMap (MvPolynomial σ k) S (MvPolynomial.X i)) = r' (e z) := by |
| 83 | rw [hfix i hij] |
| 84 | change r (e.symm (e _)) = r (e.symm (e z)) |
| 85 | rw [e.symm_apply_apply, e.symm_apply_apply] |
| 86 | exact hpoint |
| 87 | obtain ⟨U, instU, instkU, F, G, v, hF, hG, heq, hcomp, hH, hvF, hvG, hT, hdiff, hcenters⟩ := |
| 88 | NonzeroPartialTangentComparison.Construction.exists_nonzero_partial_tangent_comparison J' i (e z) n r' |
| 89 | hnewpartial hi' hz' hp |
| 90 | let f := F.comp e.toAlgHom |
| 91 | let g := G.comp e.toAlgHom |
| 92 | have hf : f.toRingHom = F.toRingHom.comp e.toRingHom := by |
| 93 | ext x |
| 94 | rfl |
| 95 | have hg : g.toRingHom = G.toRingHom.comp e.toRingHom := by |
| 96 | ext x |
| 97 | rfl |
| 98 | refine ⟨U, instU, instkU, f, g, v, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 99 | · rw [hf] |
| 100 | exact RingHom.Etale.stableUnderComposition e.toRingHom F.toRingHom |
| 101 | (RingHom.Etale.of_bijective e.bijective) hF |
| 102 | · rw [hg] |
| 103 | exact RingHom.Etale.stableUnderComposition e.toRingHom G.toRingHom |
| 104 | (RingHom.Etale.of_bijective e.bijective) hG |
| 105 | · rw [hfix i hij] at heq |
| 106 | exact heq |
| 107 | · intro b hb |
| 108 | have hib : i ≠ b := fun he => hiB (he.symm ▸ hb) |
| 109 | have hbj : b ≠ j := fun he => hjB (he ▸ hb) |
| 110 | have h := hcomp b hib |
| 111 | rw [hfix b hbj] at h |
| 112 | exact h |
| 113 | · rw [hf, hg, ← Ideal.map_map, ← Ideal.map_map, Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal_map_equiv] |
| 114 | exact hH |
| 115 | · intro x |
| 116 | have h := hvF (e x) |
| 117 | change v (f x) = r (e.symm (e x)) at h |
| 118 | rwa [e.symm_apply_apply] at h |
| 119 | · intro x |
| 120 | have h := hvG (e x) |
| 121 | change v (g x) = r (e.symm (e x)) at h |
| 122 | rwa [e.symm_apply_apply] at h |
| 123 | |
| 124 | · rw [hf, hg, ← Ideal.map_map, ← Ideal.map_map, Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 125 | exact hT |
| 126 | · intro x |
| 127 | have h := hdiff (e x) |
| 128 | rw [hf, ← Ideal.map_map, Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 129 | exact h |
| 130 | · intro I hI |
| 131 | have hI' : J' ≤ (I.map e.toRingHom) ^ (n + 1) := by |
| 132 | rw [← Ideal.map_pow] |
| 133 | exact Ideal.map_mono hI |
| 134 | have h := hcenters (I.map e.toRingHom) hI' |
| 135 | rw [Ideal.map_map, Ideal.map_map] at h |
| 136 | rw [hf, hg] |
| 137 | exact h |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.TangentComparison.Construction |