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.Boundary.CenterComparison |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.CoordinateCopy |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.TransverseDirection |
| 4 | |
| 5 | /-! # Two Equation Unit Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.TwoEquationUnitComparison.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compare two transverse tangent equations after making one a coordinate. -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {σ k R C : Type u} [Field k] [CommRing R] [Field C] |
| 16 | [Algebra k R] [Algebra k C] [Algebra ℚ R] |
| 17 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 18 | [IsScalarTower k (MvPolynomial σ k) R] [Fintype σ] [DecidableEq σ] |
| 19 | |
| 20 | /-- Both hypersurfaces may be arbitrary transverse equations in the relative |
| 21 | tangent ideal. A unit partial of the first gives its coordinate presentation; |
| 22 | transversality of the second is transported using a boundary-annihilating |
| 23 | derivation. The resulting comparison preserves all permissible center ideals. -/ |
| 24 | theorem exists_two_equation_comparison_of_unit_partial |
| 25 | (J : Ideal R) (B : Finset σ) (i : σ) (hiB : i ∉ B) (z t : R) (n : ℕ) |
| 26 | (r : R →ₐ[k] C) (hunit : IsUnit (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) i z)) |
| 27 | (htrans : ∃ j : σ, j ∉ B ∧ r (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j t) ≠ 0) |
| 28 | (hz : z ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) |
| 29 | (ht : t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J n) (hpoint : r z = r t) : |
| 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 ∧ f z = g t ∧ |
| 33 | (∀ b ∈ B, |
| 34 | f (algebraMap (MvPolynomial σ k) R (MvPolynomial.X b)) = |
| 35 | g (algebraMap (MvPolynomial σ k) R (MvPolynomial.X b))) ∧ |
| 36 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map f.toRingHom = |
| 37 | (Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal k J n).map g.toRingHom ∧ |
| 38 | (∀ x : R, v (f x) = r x) ∧ (∀ x : R, v (g x) = r x) ∧ |
| 39 | ∀ I : Ideal R, J ≤ I ^ (n + 1) → I.map f.toRingHom = I.map g.toRingHom := by |
| 40 | classical |
| 41 | let τ := Option {j : σ // i ≠ j} |
| 42 | let P := MvPolynomial τ k |
| 43 | let β : P →ₐ[k] R := Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap i z |
| 44 | obtain ⟨S, instS, instkS, instPS, htor, hS, e, he⟩ := |
| 45 | Blowups.Etale.CoordinateCopy.Construction.exists_isomorphic_etale_coordinate_copy β (Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap_etale i z hunit) |
| 46 | let : CommRing S := instS |
| 47 | let : Algebra k S := instkS |
| 48 | let : Algebra P S := instPS |
| 49 | let : IsScalarTower k P S := htor |
| 50 | let : Algebra.Etale P S := hS |
| 51 | let : Algebra ℚ S := (e.toRingHom.comp (algebraMap ℚ R)).toAlgebra |
| 52 | let B' : Finset τ := Finset.univ.filter (fun a => match a with |
| 53 | | none => False |
| 54 | | some j => j.val ∈ B) |
| 55 | have hnone : (none : τ) ∉ B' := by simp [B'] |
| 56 | have hmem : ∀ j : {j : σ // i ≠ j}, (some j : τ) ∈ B' ↔ j.val ∈ B := by |
| 57 | intro j |
| 58 | simp [B'] |
| 59 | have hzcoord : algebraMap P S (MvPolynomial.X none) = e z := by |
| 60 | rw [he] |
| 61 | exact congrArg e (Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap_none i z) |
| 62 | have hcoords : ∀ j : {j : σ // i ≠ j}, |
| 63 | algebraMap P S (MvPolynomial.X (some j)) = |
| 64 | e (algebraMap (MvPolynomial σ k) R (MvPolynomial.X j.val)) := by |
| 65 | intro j |
| 66 | rw [he] |
| 67 | exact congrArg e (Blowups.Etale.CoordinateReplacement.Construction.replacementCoordinateMap_some i z j) |
| 68 | let J' := J.map e.toRingHom |
| 69 | let r' := r.comp e.symm.toAlgHom |
| 70 | have htrans' : ∃ j : τ, j ∉ B' ∧ r' (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := S) j (e t)) ≠ 0 := by |
| 71 | obtain ⟨j, hjB, hjt⟩ := htrans |
| 72 | let D := Relative.DifferentialEquiv.Construction.transportRelativeDerivation e (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j) |
| 73 | apply Blowups.Etale.TransverseDirection.Construction.exists_transverse_partial_of_boundary_derivation B' D r' (e t) |
| 74 | · intro a ha |
| 75 | cases a with |
| 76 | | none => exact (hnone ha).elim |
| 77 | | some a => |
| 78 | have haB := (hmem a).mp ha |
| 79 | have hja : j ≠ a.val := fun h => hjB (h.symm ▸ haB) |
| 80 | rw [hcoords] |
| 81 | change Relative.DifferentialEquiv.Construction.transportRelativeDerivation e _ (e _) = 0 |
| 82 | rw [Relative.DifferentialEquiv.Construction.transportRelativeDerivation_map, Blowups.Etale.TransverseHypersurfaceCoordinates.Construction.etaleRelativePartial_X, ite_eq_right hja, map_zero] |
| 83 | · change r (e.symm (D (e t))) ≠ 0 |
| 84 | rw [show D (e t) = e (Blowups.Etale.DifferentialEquation.Construction.etaleRelativePartial (K := k) (S := R) j t) from |
| 85 | Relative.DifferentialEquiv.Construction.transportRelativeDerivation_map e _ t, e.symm_apply_apply] |
| 86 | exact hjt |
| 87 | have hz' : algebraMap P S (MvPolynomial.X none) ∈ |
| 88 | Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J' n := by |
| 89 | rw [hzcoord, ← Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 90 | exact Ideal.mem_map_of_mem e.toRingHom hz |
| 91 | have ht' : e t ∈ Relative.DifferentialBlowup.Construction.iteratedRelativeDifferentialIdeal k J' n := by |
| 92 | rw [← Relative.DifferentialEquiv.Construction.iteratedRelativeDifferentialIdeal_map_equiv] |
| 93 | exact Ideal.mem_map_of_mem e.toRingHom ht |
| 94 | have hp : r' (algebraMap P S (MvPolynomial.X none)) = r' (e t) := by |
| 95 | rw [hzcoord] |
| 96 | change r (e.symm (e z)) = r (e.symm (e t)) |
| 97 | rw [e.symm_apply_apply, e.symm_apply_apply] |
| 98 | exact hpoint |
| 99 | obtain ⟨U, instU, instkU, F, G, v, hF, hG, heq, hB, hH, hvF, hvG, hcenters⟩ := |
| 100 | Boundary.CenterComparison.Construction.exists_boundary_transverse_center_comparison J' B' none hnone (e t) n r' |
| 101 | htrans' hz' ht' hp |
| 102 | let f := F.comp e.toAlgHom |
| 103 | let g := G.comp e.toAlgHom |
| 104 | have hf : f.toRingHom = F.toRingHom.comp e.toRingHom := by |
| 105 | ext x |
| 106 | rfl |
| 107 | have hg : g.toRingHom = G.toRingHom.comp e.toRingHom := by |
| 108 | ext x |
| 109 | rfl |
| 110 | refine ⟨U, instU, instkU, f, g, v, ?_, ?_, ?_, ?_, ?_, ?_, ?_, ?_⟩ |
| 111 | · rw [hf] |
| 112 | exact RingHom.Etale.stableUnderComposition e.toRingHom F.toRingHom |
| 113 | (RingHom.Etale.of_bijective e.bijective) hF |
| 114 | · rw [hg] |
| 115 | exact RingHom.Etale.stableUnderComposition e.toRingHom G.toRingHom |
| 116 | (RingHom.Etale.of_bijective e.bijective) hG |
| 117 | · rw [hzcoord] at heq |
| 118 | exact heq |
| 119 | · intro b hb |
| 120 | have hib : i ≠ b := fun h => hiB (h.symm ▸ hb) |
| 121 | have h := hB (some ⟨b, hib⟩) ((hmem ⟨b, hib⟩).mpr hb) |
| 122 | rw [hcoords] at h |
| 123 | exact h |
| 124 | · rw [hf, hg, ← Ideal.map_map, ← Ideal.map_map, Relative.DifferentialEquiv.Construction.relativeHomogenizedIdeal_map_equiv] |
| 125 | exact hH |
| 126 | · intro x |
| 127 | have h := hvF (e x) |
| 128 | change v (f x) = r (e.symm (e x)) at h |
| 129 | rwa [e.symm_apply_apply] at h |
| 130 | · intro x |
| 131 | have h := hvG (e x) |
| 132 | change v (g x) = r (e.symm (e x)) at h |
| 133 | rwa [e.symm_apply_apply] at h |
| 134 | · intro I hI |
| 135 | have hI' : J' ≤ (I.map e.toRingHom) ^ (n + 1) := by |
| 136 | rw [← Ideal.map_pow] |
| 137 | exact Ideal.map_mono hI |
| 138 | have h := hcenters (I.map e.toRingHom) hI' |
| 139 | rw [Ideal.map_map, Ideal.map_map] at h |
| 140 | rw [hf, hg] |
| 141 | exact h |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.Resolution.Blowups.TwoEquationUnitComparison.Construction |