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.PrincipalDensityShrink |
| 2 | |
| 3 | /-! # Affine Fiber Density -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.AffineFiberDensity.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Density of affine opens in fibers of schemes over a Dedekind domain. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem dense_basicOpen_of_mul_injective |
| 17 | (B : Type u) [CommRing B] (b : B) |
| 18 | (hb : Function.Injective (fun x : B ↦ b * x)) : |
| 19 | Dense (PrimeSpectrum.basicOpen b : Set (PrimeSpectrum B)) := by |
| 20 | have h := PrincipalFiberDensity.Construction.specMap_dominant_of_injective (algebraMap B (Localization.Away b)) |
| 21 | (FiberDomainTransfer.Construction.away_algebraMap_injective_of_mul_injective B b hb) |
| 22 | have hd := (Spec.map (CommRingCat.ofHom (algebraMap B (Localization.Away b)))).denseRange |
| 23 | change Dense (Set.range (PrimeSpectrum.comap (algebraMap B (Localization.Away b)))) at hd |
| 24 | rwa [PrimeSpectrum.localization_away_comap_range (Localization.Away b) b] at hd |
| 25 | |
| 26 | theorem affine_principalOpen_baseChange_dense |
| 27 | (R S B : Type u) [CommRing R] [CommRing S] [CommRing B] |
| 28 | [Algebra R S] [Algebra R B] (b : B) |
| 29 | (hb : Function.Injective (fun x : S ⊗[R] B ↦ (1 ⊗ₜ[R] b) * x)) : |
| 30 | Dense ((pullback.fst (Affine.Construction.affineOver R B).hom |
| 31 | (Spec.map (CommRingCat.ofHom (algebraMap R S)))) ⁻¹' |
| 32 | (PrimeSpectrum.basicOpen b : Set (PrimeSpectrum B))) := by |
| 33 | let g := Spec.map (CommRingCat.ofHom (algebraMap R S)) |
| 34 | let e := (Over.forget (Spec (.of S))).mapIso (Affine.Construction.baseChangeAffineIso R S B) |
| 35 | have hp : e.hom ≫ Spec.map (CommRingCat.ofHom |
| 36 | (Algebra.TensorProduct.includeRight : B →ₐ[R] S ⊗[R] B).toRingHom) = |
| 37 | pullback.fst (Affine.Construction.affineOver R B).hom g := by |
| 38 | change ((pullbackSymmetry _ _).hom ≫ (pullbackSpecIso R S B).hom) ≫ _ = _ |
| 39 | erw [Category.assoc, pullbackSpecIso_hom_snd, pullbackSymmetry_hom_comp_snd] |
| 40 | rfl |
| 41 | change Dense ((pullback.fst (Affine.Construction.affineOver R B).hom g) ⁻¹' _) |
| 42 | rw [← hp] |
| 43 | change Dense (e.hom ⁻¹' (PrimeSpectrum.basicOpen ((1 : S) ⊗ₜ[R] b) : Set (PrimeSpectrum (S ⊗[R] B)))) |
| 44 | exact (dense_basicOpen_of_mul_injective (S ⊗[R] B) (1 ⊗ₜ[R] b) hb).preimage e.hom.isOpenMap |
| 45 | |
| 46 | theorem affine_open_dense_in_fibers_after_shrinking |
| 47 | (R B : Type u) [CommRing R] [IsDedekindDomain R] |
| 48 | [CommRing B] [IsDomain B] [IsNoetherianRing B] [Algebra R B] |
| 49 | (U : (Spec (.of B)).Opens) (hU : (U : Set (Spec (.of B))).Nonempty) : |
| 50 | ∃ r : R, r ≠ 0 ∧ |
| 51 | ∀ (S : Type u) [CommRing S] [Algebra R S], IsUnit (algebraMap R S r) → |
| 52 | Dense ((pullback.fst (Affine.Construction.affineOver R B).hom |
| 53 | (Spec.map (CommRingCat.ofHom (algebraMap R S)))) ⁻¹' (U : Set (Spec (.of B)))) := by |
| 54 | obtain ⟨x, hx⟩ := hU |
| 55 | obtain ⟨_, ⟨b, rfl⟩, hxb, hbU⟩ := |
| 56 | PrimeSpectrum.isTopologicalBasis_basic_opens.exists_subset_of_mem_open hx U.isOpen |
| 57 | have hb : b ≠ 0 := by |
| 58 | intro h |
| 59 | change b ∉ x.asIdeal at hxb |
| 60 | exact hxb (h ▸ x.asIdeal.zero_mem) |
| 61 | obtain ⟨r, hr, hreg⟩ := PrincipalDensityShrink.Construction.tensor_regular_after_inverting_base_element R B b hb |
| 62 | refine ⟨r, hr, fun S _ _ hu ↦ ?_⟩ |
| 63 | exact (affine_principalOpen_baseChange_dense R S B b (hreg S hu)).mono |
| 64 | (Set.preimage_mono hbU) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.ArithmeticGeometry.Models.SpreadingOut.AffineFiberDensity.Construction |