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.ProjectiveClosedImmersion |
| 2 | |
| 3 | /-! # Projective Isomorphism -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.ProjectiveIsomorphism.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Isomorphisms of projective spectra from bijective graded ring maps. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {A B σ τ : Type u} [CommRing A] [CommRing B] |
| 16 | variable [SetLike σ A] [AddSubgroupClass σ A] [SetLike τ B] [AddSubgroupClass τ B] |
| 17 | variable {𝒜 : ℕ → σ} {ℬ : ℕ → τ} [GradedRing 𝒜] [GradedRing ℬ] |
| 18 | |
| 19 | /-- The inverse of a bijective graded map preserves the actual homogeneous pieces. -/ |
| 20 | def gradedMapInverse (g : 𝒜 →+*ᵍ ℬ) (hg : Function.Bijective g) : ℬ →+*ᵍ 𝒜 where |
| 21 | __ := (RingEquiv.ofBijective g.toRingHom hg).symm.toRingHom |
| 22 | map_mem {n} {b} hb := by |
| 23 | obtain ⟨a, ha, rfl⟩ := ProjectiveClosedImmersion.Construction.gradedMap_homogeneous_surjective g hg.2 n b hb |
| 24 | change (RingEquiv.ofBijective g.toRingHom hg).symm |
| 25 | ((RingEquiv.ofBijective g.toRingHom hg) a) ∈ 𝒜 n |
| 26 | simpa only [RingEquiv.symm_apply_apply] using ha |
| 27 | |
| 28 | theorem gradedMapInverse_surjective (g : 𝒜 →+*ᵍ ℬ) (hg : Function.Bijective g) : |
| 29 | Function.Surjective (gradedMapInverse g hg) := |
| 30 | (RingEquiv.ofBijective g.toRingHom hg).symm.surjective |
| 31 | |
| 32 | /-- A bijective graded map induces an isomorphism of the actual schemes. -/ |
| 33 | theorem projMap_isIso_of_bijective (g : 𝒜 →+*ᵍ ℬ) |
| 34 | (hrel : HomogeneousIdeal.irrelevant ℬ ≤ (HomogeneousIdeal.irrelevant 𝒜).map g) |
| 35 | (hg : Function.Bijective g) : IsIso (Proj.map g hrel) := by |
| 36 | let h := gradedMapInverse g hg |
| 37 | have hh := ProjectiveClosedImmersion.Construction.gradedMap_irrelevant_le_of_surjective h (gradedMapInverse_surjective g hg) |
| 38 | have h₁ : h.comp g = GradedRingHom.id 𝒜 := by |
| 39 | ext a |
| 40 | exact (RingEquiv.ofBijective g.toRingHom hg).symm_apply_apply a |
| 41 | have h₂ : g.comp h = GradedRingHom.id ℬ := by |
| 42 | ext b |
| 43 | exact (RingEquiv.ofBijective g.toRingHom hg).apply_symm_apply b |
| 44 | refine ⟨⟨Proj.map h hh, ?_, ?_⟩⟩ |
| 45 | · rw [← Proj.map_comp] |
| 46 | simp only [h₂, Proj.map_id] |
| 47 | · rw [← Proj.map_comp] |
| 48 | simp only [h₁, Proj.map_id] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Resolution.Blowups.ProjectiveIsomorphism.Construction |