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.ReesMap |
| 2 | |
| 3 | /-! # Rees Localization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ReesLocalization.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Localization of the Rees algebra for the affine gluing in Blowups. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 16 | variable (I : Ideal R) (s : R) [IsLocalization.Away s S] |
| 17 | |
| 18 | /-- Every element of the extended Rees algebra has a common denominator |
| 19 | which is a power of the localized base element. -/ |
| 20 | theorem reesRingMap_clears_denominators |
| 21 | (p : reesAlgebra (I.map (algebraMap R S))) : |
| 22 | ∃ (n : ℕ) (q : reesAlgebra I), |
| 23 | p * ReesMap.Construction.reesRingMap I (algebraMap R S) (algebraMap R (reesAlgebra I) s) ^ n = |
| 24 | ReesMap.Construction.reesRingMap I (algebraMap R S) q := by |
| 25 | let F := ReesMap.Construction.reesRingMap I (algebraMap R S) |
| 26 | let x := algebraMap R (reesAlgebra I) s |
| 27 | change ∃ (n : ℕ) (q : reesAlgebra I), p * F x ^ n = F q |
| 28 | have hp : p ∈ Algebra.adjoin S |
| 29 | (Set.range (fun a : I => ReesMap.Construction.reesRingMap I (algebraMap R S) (Blowup.Charts.Construction.reesGenerator I a))) := by |
| 30 | rw [ReesMap.Construction.reesMappedGenerators_adjoin] |
| 31 | trivial |
| 32 | induction hp using Algebra.adjoin_induction with |
| 33 | | mem p hp => |
| 34 | obtain ⟨a, rfl⟩ := hp |
| 35 | exact ⟨0, Blowup.Charts.Construction.reesGenerator I a, by simp [F]⟩ |
| 36 | | algebraMap c => |
| 37 | obtain ⟨n, r, hr⟩ := IsLocalization.Away.surj (S := S) s c |
| 38 | refine ⟨n, algebraMap R (reesAlgebra I) r, ?_⟩ |
| 39 | dsimp only [F, x] |
| 40 | simpa only [ReesMap.Construction.reesRingMap_constants, map_mul, map_pow] using |
| 41 | congrArg (algebraMap S (reesAlgebra (I.map (algebraMap R S)))) hr |
| 42 | | add p q _ _ hp hq => |
| 43 | obtain ⟨n, p₀, hp₀⟩ := hp |
| 44 | obtain ⟨m, q₀, hq₀⟩ := hq |
| 45 | refine ⟨n + m, p₀ * x ^ m + q₀ * x ^ n, ?_⟩ |
| 46 | rw [map_add, map_mul, map_mul, map_pow, map_pow, ← hp₀, ← hq₀, pow_add] |
| 47 | ring |
| 48 | | mul p q _ _ hp hq => |
| 49 | obtain ⟨n, p₀, hp₀⟩ := hp |
| 50 | obtain ⟨m, q₀, hq₀⟩ := hq |
| 51 | refine ⟨n + m, p₀ * q₀, ?_⟩ |
| 52 | rw [map_mul, ← hp₀, ← hq₀, pow_add] |
| 53 | ring |
| 54 | |
| 55 | /-- For a domain, localizing the base at a nonzero element localizes the |
| 56 | actual Rees algebra at the corresponding degree-zero element. -/ |
| 57 | theorem reesRingMap_isLocalization [IsDomain R] (hs : s ≠ 0) : |
| 58 | letI : Algebra (reesAlgebra I) (reesAlgebra (I.map (algebraMap R S))) := |
| 59 | (ReesMap.Construction.reesRingMap I (algebraMap R S)).toAlgebra |
| 60 | IsLocalization.Away (algebraMap R (reesAlgebra I) s) |
| 61 | (reesAlgebra (I.map (algebraMap R S))) := by |
| 62 | let : Algebra (reesAlgebra I) (reesAlgebra (I.map (algebraMap R S))) := |
| 63 | (ReesMap.Construction.reesRingMap I (algebraMap R S)).toAlgebra |
| 64 | refine IsLocalization.Away.mk (algebraMap R (reesAlgebra I) s) ?_ ?_ ?_ |
| 65 | · change IsUnit (ReesMap.Construction.reesRingMap I (algebraMap R S) (algebraMap R (reesAlgebra I) s)) |
| 66 | rw [ReesMap.Construction.reesRingMap_constants] |
| 67 | exact (IsLocalization.Away.algebraMap_isUnit (S := S) s).map |
| 68 | (algebraMap S (reesAlgebra (I.map (algebraMap R S)))) |
| 69 | · exact reesRingMap_clears_denominators I s |
| 70 | · intro p q hpq |
| 71 | have hRS : Function.Injective (algebraMap R S) := |
| 72 | IsLocalization.injective S (powers_le_nonZeroDivisors_of_noZeroDivisors hs) |
| 73 | have h : p = q := ReesMap.Construction.reesRingMap_injective I (algebraMap R S) hRS hpq |
| 74 | exact ⟨0, by simpa using h⟩ |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Resolution.Blowups.ReesLocalization.Construction |