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.PrincipalSource.SupportConditions |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.PointComplements |
| 3 | |
| 4 | /-! # Fiber Principal Support -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FiberPrincipalSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original ambient principal parameters cover the complement of |
| 11 | the whole finite fiber. On the selected component their support is |
| 12 | exactly the original source section, giving the actual candidate data. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | open scoped TensorProduct |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | section Cover |
| 19 | variable {Y X Z : Scheme.{0}} (f : Y ⟶ X) (i : X ⟶ Z) [IsAffineHom i] |
| 20 | (U : Z.Opens) (hU : IsAffineOpen U) (I : X.IdealSheafData) |
| 21 | {g : ℕ} (t : Fin g → Γ(Z,U)) |
| 22 | (ht : Ideal.span (Set.range (fun j => i.app U (t j))) = I.ideal ⟨i ⁻¹ᵁ U,hU.preimage i⟩) |
| 23 | |
| 24 | include ht in |
| 25 | theorem cover : (f ≫ i) ⁻¹ᵁ U ⊓ (f ⁻¹ᵁ SectionIdealPuncturedCover.outside I) = |
| 26 | ⨆ j, (f ≫ i) ⁻¹ᵁ Z.basicOpen (t j) := by |
| 27 | change f ⁻¹ᵁ (i ⁻¹ᵁ U) ⊓ (f ⁻¹ᵁ SectionIdealPuncturedCover.outside I) = _ |
| 28 | rw [← Scheme.Hom.preimage_inf, SectionIdealPuncturedCover.cover I (i ⁻¹ᵁ U) |
| 29 | (hU.preimage i) (fun j => i.app U (t j)) ht, Scheme.Hom.preimage_iSup] |
| 30 | congr 1 |
| 31 | funext j |
| 32 | rw [← Scheme.preimage_basicOpen] |
| 33 | rfl |
| 34 | end Cover |
| 35 | |
| 36 | variable (R : Type) [CommRing R] |
| 37 | (X Y : Over (Spec (CommRingCat.of R))) [Y.left.IsSeparated] |
| 38 | (f : Y ⟶ X) [IsFinite f.left] [Etale f.left] |
| 39 | {Z : Scheme.{0}} (i : X.left ⟶ Z) [IsClosedImmersion i] |
| 40 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 41 | [IsClosedImmersion s] [IsClosedImmersion (s ≫ f.left)] |
| 42 | (U : Z.Opens) (hU : IsAffineOpen U) |
| 43 | (hcontains : ⊤ ≤ (s ≫ f.left) ⁻¹ᵁ (i ⁻¹ᵁ U)) |
| 44 | (hgood : FiniteEtale.TraceBasis.Good R Y X f (i ⁻¹ᵁ U)) |
| 45 | |
| 46 | local instance sourceAlgebra : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X (i ⁻¹ᵁ U)) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ (i ⁻¹ᵁ U))) := |
| 47 | AffineOpen.DeRhamTrace.sectionAlgebra R Y X f (i ⁻¹ᵁ U) |
| 48 | |
| 49 | variable (z : IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ (i ⁻¹ᵁ U))) |
| 50 | (hz : letI : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X (i ⁻¹ᵁ U)) R := |
| 51 | SectionEvaluation.quotientAlgebra R X Y f s hs (i ⁻¹ᵁ U) hcontains |
| 52 | ((1 : R) ⊗ₜ[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X (i ⁻¹ᵁ U)] z : |
| 53 | R ⊗[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X (i ⁻¹ᵁ U)] IntrinsicDeRham.SectionUnit.Intrinsic.ring R Y (f.left ⁻¹ᵁ (i ⁻¹ᵁ U))) = |
| 54 | FiniteEtale.PointParameterKernel.component R X Y f s hs (i ⁻¹ᵁ U) (hU.preimage i) hcontains) |
| 55 | {g : ℕ} (t : Fin g → Γ(Z,U)) |
| 56 | (ht : Ideal.span (Set.range (fun j => i.app U (t j))) = |
| 57 | (s ≫ f.left).ker.ideal ⟨i ⁻¹ᵁ U,hU.preimage i⟩) |
| 58 | |
| 59 | include hgood hz ht in |
| 60 | theorem conditions : Principal.InjectiveIntegerRows.SingleSupportedCandidate.Conditions |
| 61 | (PrincipalSource.OpenReindex.wideOpens (f.left ≫ i) U hU) |
| 62 | (PrincipalSource.OpenReindex.geometricOpens (f.left ≫ i) U hU (Y.left.basicOpen z)) |
| 63 | (PrincipalPoint.Fraction.family U t) |
| 64 | (f.left ⁻¹ᵁ SectionIdealPuncturedCover.outside (s ≫ f.left).ker) |
| 65 | (SectionIdealPuncturedCover.outside s.ker) := by |
| 66 | apply PrincipalSource.SupportConditions.conditions (f.left ≫ i) U hU |
| 67 | (Y.left.basicOpen z) (Y.left.basicOpen_le z) t ((hU.preimage i).preimage f.left |>.basicOpen z) |
| 68 | (f.left ⁻¹ᵁ SectionIdealPuncturedCover.outside (s ≫ f.left).ker) |
| 69 | (SectionIdealPuncturedCover.outside s.ker) |
| 70 | · exact FiniteEtale.PointComplements.outside_le f.left s |
| 71 | · exact FiniteEtale.PointComplements.selected_intersection R X Y f s hs |
| 72 | (i ⁻¹ᵁ U) (hU.preimage i) hcontains hgood z hz (fun j => i.app U (t j)) ht |
| 73 | · exact FiniteEtale.PointComplements.selected_global R X Y f s hs |
| 74 | (i ⁻¹ᵁ U) (hU.preimage i) hcontains hgood z hz |
| 75 | · exact FiniteEtale.PointComplements.fiber_global R X Y f s |
| 76 | (i ⁻¹ᵁ U) hcontains |
| 77 | · exact cover f.left i U hU (s ≫ f.left).ker t ht |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FiberPrincipalSupport |