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.PrincipalFlatShrink |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.GeometricFieldComponents |
| 3 | |
| 4 | /-! # Principal Fiber Density -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.PrincipalFiberDensity.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A principal open remains dense in all field fibers after a suitable |
| 11 | shrinking of a Dedekind base. Empty affine fibers are allowed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem specMap_dominant_of_injective |
| 19 | {A B : Type u} [CommRing A] [CommRing B] |
| 20 | (f : A →+* B) (hf : Function.Injective f) : |
| 21 | IsDominant (Spec.map (CommRingCat.ofHom f)) := by |
| 22 | constructor |
| 23 | apply (PrimeSpectrum.denseRange_comap_iff_ker_le_nilRadical f).mpr |
| 24 | rw [(RingHom.injective_iff_ker_eq_bot f).mp hf] |
| 25 | exact bot_le |
| 26 | |
| 27 | theorem tensor_localization_injective_of_flat_quotient |
| 28 | (R S B : Type u) [CommRing R] [CommRing S] [CommRing B] |
| 29 | [Algebra R S] [Algebra R B] (b : B) |
| 30 | (hb : Function.Injective (fun x : B ↦ b * x)) |
| 31 | [Module.Flat R (B ⧸ Ideal.span ({b} : Set B))] : |
| 32 | Function.Injective (Algebra.TensorProduct.map (AlgHom.id R S) |
| 33 | (IsScalarTower.toAlgHom R B (Localization.Away b))) := by |
| 34 | let e := IsLocalization.Away.tensorProductEquivTMulRight R S b (Localization.Away b) |
| 35 | have he (x : S ⊗[R] B) : e (Algebra.TensorProduct.map (AlgHom.id R S) |
| 36 | (IsScalarTower.toAlgHom R B (Localization.Away b)) x) = |
| 37 | algebraMap (S ⊗[R] B) (Localization.Away (1 ⊗ₜ[R] b : S ⊗[R] B)) x := by |
| 38 | induction x using TensorProduct.inductionOn with |
| 39 | | tmul s x => |
| 40 | change e (s ⊗ₜ[R] algebraMap B (Localization.Away b) x) = _ |
| 41 | exact IsLocalization.Away.tensorProductEquivTMulRight_tmul (R := R) (S := S) B b (Localization.Away b) s x |
| 42 | | add x y hx hy => simp only [map_add, hx, hy] |
| 43 | |
| 44 | have hinj := FiberDomainTransfer.Construction.away_algebraMap_injective_of_mul_injective (S ⊗[R] B) |
| 45 | (1 ⊗ₜ[R] b) (FiberRegularity.Construction.tensor_mul_injective_of_flat_quotient R B S b hb) |
| 46 | intro x y h |
| 47 | apply hinj |
| 48 | have H := congrArg e h |
| 49 | rwa [he, he] at H |
| 50 | |
| 51 | theorem principal_fiber_map_dominant_of_flat_quotient |
| 52 | (R S B : Type u) [CommRing R] [CommRing S] [CommRing B] |
| 53 | [Algebra R S] [Algebra R B] (b : B) |
| 54 | (hb : Function.Injective (fun x : B ↦ b * x)) |
| 55 | [Module.Flat R (B ⧸ Ideal.span ({b} : Set B))] : |
| 56 | IsDominant (Spec.map (CommRingCat.ofHom |
| 57 | (Algebra.TensorProduct.map (AlgHom.id R S) |
| 58 | (IsScalarTower.toAlgHom R B (Localization.Away b))).toRingHom)) := |
| 59 | specMap_dominant_of_injective _ (tensor_localization_injective_of_flat_quotient R S B b hb) |
| 60 | |
| 61 | theorem principal_open_dense_in_all_fibers_after_shrinking |
| 62 | (R B : Type u) [CommRing R] [IsDedekindDomain R] |
| 63 | [CommRing B] [IsDomain B] [IsNoetherianRing B] [Algebra R B] |
| 64 | (b : B) (hb : b ≠ 0) : |
| 65 | ∃ r : R, r ≠ 0 ∧ |
| 66 | ∀ (S : Type u) [CommRing S] [Algebra (Localization.Away r) S], |
| 67 | IsDominant (Spec.map (CommRingCat.ofHom |
| 68 | (Algebra.TensorProduct.map (AlgHom.id (Localization.Away r) S) |
| 69 | (IsScalarTower.toAlgHom (Localization.Away r) (Localization.Away r ⊗[R] B) |
| 70 | (Localization.Away (1 ⊗ₜ[R] b : Localization.Away r ⊗[R] B)))).toRingHom)) := by |
| 71 | obtain ⟨r, hr, hf⟩ := PrincipalFlatShrink.Construction.principal_quotient_flat_after_inverting_base_element R B b |
| 72 | have := hf |
| 73 | refine ⟨r, hr, fun S _ _ ↦ ?_⟩ |
| 74 | apply principal_fiber_map_dominant_of_flat_quotient |
| 75 | change Function.Injective (LinearMap.mulLeft R (1 ⊗ₜ[R] b : Localization.Away r ⊗[R] B)) |
| 76 | rw [PrincipalFlatShrink.Construction.tensor_mulLeft_eq_lTensor] |
| 77 | exact Module.Flat.lTensor_preserves_injective_linearMap (LinearMap.mulLeft R b) |
| 78 | (mul_right_injective₀ hb) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.ArithmeticGeometry.Models.SpreadingOut.PrincipalFiberDensity.Construction |