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.Closed.AffineNeighborhood |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionPrincipalSupport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SectionCompositeEvaluation |
| 4 | |
| 5 | /-! # Section Principal Neighborhood -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.SectionPrincipalNeighborhood |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A neighborhood of a section on a closed subscheme can be reached |
| 12 | by a principal refinement in the original ambient affine chart. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | variable (R : Type u) [CommRing R] [IsArtinianRing R] [IsLocalRing R] |
| 18 | (X Y : Over (Spec (CommRingCat.of R))) (i : X ⟶ Y) [IsClosedImmersion i.left] |
| 19 | (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 20 | (U : Y.left.Opens) (hUa : IsAffineOpen U) (hU : ⊤ ≤ s ⁻¹ᵁ (i.left ⁻¹ᵁ U)) |
| 21 | (V : X.left.Opens) (hV : ⊤ ≤ s ⁻¹ᵁ V) |
| 22 | |
| 23 | include hs hUa hU hV in |
| 24 | theorem exists_principal : ∃ r : Γ(Y.left,U), |
| 25 | (⊤ ≤ s ⁻¹ᵁ (i.left ⁻¹ᵁ Y.left.basicOpen r)) ∧ i.left ⁻¹ᵁ Y.left.basicOpen r ≤ V := by |
| 26 | let : Subsingleton (Spec (CommRingCat.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 27 | let p : Spec (CommRingCat.of R) := Classical.ofNonempty |
| 28 | have hpU : i.left (s p) ∈ U := hU (show p ∈ (⊤ : (Spec (CommRingCat.of R)).Opens) from trivial) |
| 29 | have hpV : s p ∈ V := hV (show p ∈ (⊤ : (Spec (CommRingCat.of R)).Opens) from trivial) |
| 30 | obtain ⟨W,_,hpW,_,hWV⟩ := AffineNeighborhood.exists_subopen i.left U V (s p) hpU hpV |
| 31 | have hW : ⊤ ≤ (s ≫ i.left) ⁻¹ᵁ W := by |
| 32 | intro q _ |
| 33 | have hqp : q = p := Subsingleton.elim _ _ |
| 34 | subst q |
| 35 | exact hpW |
| 36 | let hsY := Intrinsic.SectionCompositeEvaluation.over_base R X Y i s hs |
| 37 | obtain ⟨r,hr,hrW⟩ := Intrinsic.SectionPrincipalSupport.exists_normalized |
| 38 | R Y (s ≫ i.left) hsY U hU hUa W hW |
| 39 | exact ⟨r,Intrinsic.SectionEvaluation.principal_contains R Y (s ≫ i.left) hsY U hU r hr, |
| 40 | (i.left.preimage_mono hrW).trans hWV⟩ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.SectionPrincipalNeighborhood |