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.ArithmeticGeometry.Models.SpreadingOut.FiberRegularity |
| 2 | import Mathlib.RingTheory.Localization.BaseChange |
| 3 | import Mathlib.RingTheory.Localization.Away.Basic |
| 4 | |
| 5 | /-! # Fiber Domain Transfer -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.FiberDomainTransfer.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transfer integrality from a principal open to its ambient fiber when |
| 12 | the complement is defined by a universally regular element. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem away_algebraMap_injective_of_mul_injective |
| 19 | (B : Type u) [CommRing B] (b : B) (hb : Function.Injective (fun x : B ↦ b * x)) : |
| 20 | Function.Injective (algebraMap B (Localization.Away b)) := by |
| 21 | apply (injective_iff_map_eq_zero (algebraMap B (Localization.Away b))).mpr |
| 22 | intro x hx |
| 23 | obtain ⟨s, hs⟩ := (IsLocalization.map_eq_zero_iff (Submonoid.powers b) |
| 24 | (Localization.Away b) x).mp hx |
| 25 | obtain ⟨n, hn⟩ := s.property |
| 26 | have hpow (m : ℕ) : Function.Injective (fun x : B ↦ b ^ m * x) := by |
| 27 | induction m with |
| 28 | | zero => |
| 29 | intro x y h |
| 30 | simpa only [pow_zero, one_mul] using h |
| 31 | | succ m ih => |
| 32 | intro x y h |
| 33 | apply ih |
| 34 | apply hb |
| 35 | simpa only [pow_succ', mul_assoc] using h |
| 36 | rw [← hn] at hs |
| 37 | exact hpow n (hs.trans (mul_zero _).symm) |
| 38 | |
| 39 | theorem fiber_domain_of_flat_principal_quotient |
| 40 | (R k B : Type u) [CommRing R] [CommRing k] [CommRing B] |
| 41 | [Algebra R k] [Algebra R B] (b : B) |
| 42 | (hb : Function.Injective (fun x : B ↦ b * x)) |
| 43 | [Module.Flat R (B ⧸ Ideal.span ({b} : Set B))] |
| 44 | [IsDomain (k ⊗[R] Localization.Away b)] : IsDomain (k ⊗[R] B) := by |
| 45 | let e := IsLocalization.Away.tensorProductEquivTMulRight R k b (Localization.Away b) |
| 46 | have : IsDomain (Localization.Away (1 ⊗ₜ[R] b : k ⊗[R] B)) := |
| 47 | Function.Injective.isDomain e.symm.toRingHom e.symm.injective |
| 48 | exact Function.Injective.isDomain (algebraMap _ (Localization.Away (1 ⊗ₜ[R] b : k ⊗[R] B))) |
| 49 | (away_algebraMap_injective_of_mul_injective _ _ |
| 50 | (FiberRegularity.Construction.tensor_mul_injective_of_flat_quotient R B k b hb)) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.ArithmeticGeometry.Models.SpreadingOut.FiberDomainTransfer.Construction |