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.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterSource |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SectionPuncturePullback |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ComplementaryAffineCover |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.AffineCommonCover |
| 5 | |
| 6 | /-! # Point Parameter Cover -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.PointParameterCover |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Concatenated ambient point equations give the genuine punctured |
| 13 | principal cover on the closed subscheme, and its complementary cover. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | variable {X Y T : Scheme.{u}} (i : X ⟶ Y) [IsClosedImmersion i] |
| 20 | (s₀ : T ⟶ X) [IsClosedImmersion s₀] |
| 21 | (U : Y.Opens) (hU : IsAffineOpen U) |
| 22 | {c g : ℕ} (s : Fin c → Γ(Y, U)) (t : Fin g → Γ(Y, U)) |
| 23 | (hs : Ideal.span (Set.range s) = i.ker.ideal ⟨U, hU⟩) |
| 24 | (hst : Ideal.span (Set.range (Fin.append s t)) = (s₀ ≫ i).ker.ideal ⟨U, hU⟩) |
| 25 | |
| 26 | include hs hst in |
| 27 | theorem source_ideal : Ideal.span (Set.range (fun j => i.app U (t j))) = |
| 28 | s₀.ker.ideal ⟨i ⁻¹ᵁ U, hU.preimage i⟩ := by |
| 29 | have hk : (RingHom.ker (i.app U).hom).map (i.app U).hom = ⊥ := by |
| 30 | apply le_antisymm _ bot_le |
| 31 | rw [Ideal.map_le_iff_le_comap] |
| 32 | exact le_rfl |
| 33 | have h := congrArg (Ideal.map (i.app U).hom) hst |
| 34 | rw [CompositeSectionKernel.range_append, Ideal.span_union, Ideal.map_sup, |
| 35 | hs, Scheme.Hom.ker_apply, hk, bot_sup_eq, Ideal.map_span, ← Set.range_comp] at h |
| 36 | have he : RingHom.ker ((s₀ ≫ i).app U).hom = |
| 37 | Ideal.comap (i.app U).hom (RingHom.ker (s₀.app (i ⁻¹ᵁ U)).hom) := by |
| 38 | rw [RingHom.comap_ker] |
| 39 | rfl |
| 40 | rw [Scheme.Hom.ker_apply, he, Ideal.map_comap_of_surjective _ (i.app_surjective U hU)] at h |
| 41 | rw [Scheme.Hom.ker_apply] |
| 42 | change Ideal.span (Set.range ((i.app U).hom ∘ t)) = |
| 43 | RingHom.ker (s₀.app (i ⁻¹ᵁ U)).hom |
| 44 | exact h |
| 45 | |
| 46 | theorem outside : i ⁻¹ᵁ SectionIdealPuncturedCover.outside (s₀ ≫ i).ker = |
| 47 | SectionIdealPuncturedCover.outside s₀.ker := |
| 48 | SectionPuncturePullback.outside i (𝟙 T) (s₀ ≫ i) s₀ (Category.id_comp _).symm |
| 49 | i.isClosedEmbedding.injective (by intro x; exact ⟨x, rfl⟩) |
| 50 | |
| 51 | include hs hst in |
| 52 | theorem principal_cover : (⨆ j, i ⁻¹ᵁ (U ⊓ Y.basicOpen (t j))) = |
| 53 | i ⁻¹ᵁ U ⊓ SectionIdealPuncturedCover.outside s₀.ker := by |
| 54 | have h := SectionIdealPuncturedCover.cover s₀.ker (i ⁻¹ᵁ U) (hU.preimage i) |
| 55 | (fun j => i.app U (t j)) (source_ideal i s₀ U hU s t hs hst) |
| 56 | rw [h] |
| 57 | congr 1 |
| 58 | funext j |
| 59 | rw [inf_eq_right.mpr (Y.basicOpen_le (t j)), Scheme.preimage_basicOpen] |
| 60 | |
| 61 | theorem complementary_cover : |
| 62 | (⨆ j, i ⁻¹ᵁ (U ⊓ ComplementaryAffineCover.opens |
| 63 | (SectionIdealPuncturedCover.outside (s₀ ≫ i).ker) j)) = |
| 64 | i ⁻¹ᵁ U ⊓ SectionIdealPuncturedCover.outside s₀.ker := by |
| 65 | rw [← i.preimage_iSup, ← inf_iSup_eq, ComplementaryAffineCover.covers, |
| 66 | i.preimage_inf, outside] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.PointParameterCover |