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.PrincipalRefinement |
| 2 | |
| 3 | /-! # Common Reduction Principal Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CommonReductionPrincipalNeighborhood |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Refine two actual affine neighborhoods by principal opens with |
| 10 | the same inverse image in a common closed reduction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {Y X₁ X₂ : Scheme.{u}} |
| 16 | (f₁ : Y ⟶ X₁) (f₂ : Y ⟶ X₂) |
| 17 | [IsClosedImmersion f₁] [IsClosedImmersion f₂] |
| 18 | (U₁ : X₁.Opens) (U₂ : X₂.Opens) (h₁ : IsAffineOpen U₁) (h₂ : IsAffineOpen U₂) |
| 19 | (y : Y) (hy₁ : f₁ y ∈ U₁) (hy₂ : f₂ y ∈ U₂) |
| 20 | |
| 21 | include h₁ h₂ hy₁ hy₂ in |
| 22 | theorem exists_principal : ∃ a₁ : Γ(X₁, U₁), ∃ a₂ : Γ(X₂, U₂), |
| 23 | f₁ y ∈ X₁.basicOpen a₁ ∧ f₂ y ∈ X₂.basicOpen a₂ ∧ |
| 24 | f₁ ⁻¹ᵁ X₁.basicOpen a₁ = f₂ ⁻¹ᵁ X₂.basicOpen a₂ := by |
| 25 | obtain ⟨b₁, b₂, he, hy⟩ := |
| 26 | exists_basicOpen_le_affine_inter (h₁.preimage f₁) (h₂.preimage f₂) y ⟨hy₁, hy₂⟩ |
| 27 | obtain ⟨a₁, _, ha₁⟩ := Closed.PrincipalRefinement.lift f₁ U₁ h₁ b₁ |
| 28 | obtain ⟨a₂, _, ha₂⟩ := Closed.PrincipalRefinement.lift f₂ U₂ h₂ b₂ |
| 29 | refine ⟨a₁, a₂, ?_, ?_, ha₁.trans (he.trans ha₂.symm)⟩ |
| 30 | · change y ∈ f₁ ⁻¹ᵁ X₁.basicOpen a₁ |
| 31 | rw [ha₁] |
| 32 | exact hy |
| 33 | · change y ∈ f₂ ⁻¹ᵁ X₂.basicOpen a₂ |
| 34 | rw [ha₂, ← he] |
| 35 | exact hy |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CommonReductionPrincipalNeighborhood |