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.PrincipalFiberDensity |
| 2 | |
| 3 | /-! # Principal Density Shrink -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.PrincipalDensityShrink.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! One base element controls density of a principal open in all fibers |
| 10 | without changing the original affine coordinates. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem tensor_regular_after_inverting_base_element |
| 18 | (R B : Type u) [CommRing R] [IsDedekindDomain R] |
| 19 | [CommRing B] [IsDomain B] [IsNoetherianRing B] [Algebra R B] |
| 20 | (b : B) (hb : b ≠ 0) : |
| 21 | ∃ r : R, r ≠ 0 ∧ |
| 22 | ∀ (S : Type u) [CommRing S] [Algebra R S], IsUnit (algebraMap R S r) → |
| 23 | Function.Injective (fun x : S ⊗[R] B ↦ (1 ⊗ₜ[R] b) * x) := by |
| 24 | obtain ⟨r, hr, hf⟩ := PrincipalFlatShrink.Construction.principal_quotient_flat_after_inverting_base_element R B b |
| 25 | have := hf |
| 26 | refine ⟨r, hr, fun S _ _ hunit ↦ ?_⟩ |
| 27 | let φ : Localization.Away r →+* S := IsLocalization.Away.lift r hunit |
| 28 | let : Algebra (Localization.Away r) S := φ.toAlgebra |
| 29 | have : IsScalarTower R (Localization.Away r) S := |
| 30 | IsScalarTower.of_algebraMap_eq' (IsLocalization.Away.lift_comp r hunit).symm |
| 31 | have hreg : Function.Injective |
| 32 | (fun x : Localization.Away r ⊗[R] B ↦ (1 ⊗ₜ[R] b) * x) := by |
| 33 | change Function.Injective (LinearMap.mulLeft R (1 ⊗ₜ[R] b : Localization.Away r ⊗[R] B)) |
| 34 | rw [PrincipalFlatShrink.Construction.tensor_mulLeft_eq_lTensor] |
| 35 | exact Module.Flat.lTensor_preserves_injective_linearMap (LinearMap.mulLeft R b) |
| 36 | (mul_right_injective₀ hb) |
| 37 | have ht := FiberRegularity.Construction.tensor_mul_injective_of_flat_quotient (Localization.Away r) |
| 38 | (Localization.Away r ⊗[R] B) S (1 ⊗ₜ[R] b) hreg |
| 39 | let e := Algebra.TensorProduct.cancelBaseChange R (Localization.Away r) S S B |
| 40 | have he : e (1 ⊗ₜ[Localization.Away r] ((1 : Localization.Away r) ⊗ₜ[R] b)) = |
| 41 | (1 ⊗ₜ[R] b : S ⊗[R] B) := by |
| 42 | simp only [e, Algebra.TensorProduct.cancelBaseChange_tmul, one_smul] |
| 43 | intro x y h |
| 44 | apply e.symm.injective |
| 45 | apply ht |
| 46 | apply e.injective |
| 47 | simpa only [map_mul, he, AlgEquiv.apply_symm_apply] using h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.ArithmeticGeometry.Models.SpreadingOut.PrincipalDensityShrink.Construction |