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.AffineSection.EquivReduction |
| 2 | |
| 3 | /-! # Equiv Neighborhood -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivNeighborhood.Geometry |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Control the target of a restricted original frame by choosing |
| 10 | its source neighborhood inside the exact inverse image. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | variable (R : Type u) [CommRing R] |
| 17 | (X₁ X₂ : Over (Spec (CommRingCat.of R))) |
| 18 | (U₁ : X₁.left.Opens) (U₂ : X₂.left.Opens) |
| 19 | (hU₁ : IsAffineOpen U₁) (hU₂ : IsAffineOpen U₂) |
| 20 | (e : EquivGeometry.ring R X₁ U₁ ≃ₐ[R] EquivGeometry.ring R X₂ U₂) |
| 21 | |
| 22 | def sourceFor (W : X₂.left.Opens) : X₁.left.Opens := |
| 23 | (EquivGeometry.left R X₁ U₁ hU₁) ''ᵁ ((EquivGeometry.right R X₁ X₂ U₁ U₂ hU₂ e) ⁻¹ᵁ W) |
| 24 | |
| 25 | theorem sourceFor_below (W : X₂.left.Opens) : sourceFor R X₁ X₂ U₁ U₂ hU₁ hU₂ e W ≤ U₁ := |
| 26 | ((EquivGeometry.left R X₁ U₁ hU₁).image_le_opensRange _).trans (EquivGeometry.left_range R X₁ U₁ hU₁).le |
| 27 | |
| 28 | theorem target_below_of_sourceFor (V : X₁.left.Opens) (W : X₂.left.Opens) |
| 29 | (hVW : V ≤ sourceFor R X₁ X₂ U₁ U₂ hU₁ hU₂ e W) : |
| 30 | EquivGeometry.targetOpen R X₁ X₂ U₁ U₂ hU₁ hU₂ e V ≤ W := by |
| 31 | intro y hy |
| 32 | obtain ⟨x,hx,rfl⟩ := hy |
| 33 | obtain ⟨x',hx',he⟩ := hVW hx |
| 34 | have he' : x'=x := (EquivGeometry.left R X₁ U₁ hU₁).isOpenEmbedding.injective he |
| 35 | subst x' |
| 36 | exact hx' |
| 37 | |
| 38 | theorem sourceFor_contains {Y : Scheme.{u}} (f₁ : Y ⟶ X₁.left) (f₂ : Y ⟶ X₂.left) |
| 39 | (h : f₁ ⁻¹ᵁ U₁ = f₂ ⁻¹ᵁ U₂) |
| 40 | (he : CommRingCat.ofHom e.toRingHom ≫ f₂.appLE U₂ (f₁ ⁻¹ᵁ U₁) h.le = f₁.app U₁) |
| 41 | (h₁ : ⊤ ≤ f₁ ⁻¹ᵁ U₁) (W : X₂.left.Opens) (hW : ⊤ ≤ f₂ ⁻¹ᵁ W) : |
| 42 | ⊤ ≤ f₁ ⁻¹ᵁ sourceFor R X₁ X₂ U₁ U₂ hU₁ hU₂ e W := by |
| 43 | intro y hy |
| 44 | let v : (f₁ ⁻¹ᵁ U₁).toScheme := ⟨y,h₁ hy⟩ |
| 45 | let a := EquivReduction.Geometry.commonLift R X₁ U₁ f₁ |
| 46 | have hl : (EquivGeometry.left R X₁ U₁ hU₁) (a v) = f₁ y := |
| 47 | congrArg (fun k => k v) (EquivReduction.Geometry.commonLift_left R X₁ U₁ hU₁ f₁) |
| 48 | have hr : (EquivGeometry.right R X₁ X₂ U₁ U₂ hU₂ e) (a v) = f₂ y := |
| 49 | congrArg (fun k => k v) (EquivReduction.Geometry.commonLift_right R X₁ X₂ U₁ U₂ hU₂ e f₁ f₂ h he) |
| 50 | refine ⟨a v, ?_, hl⟩ |
| 51 | change (EquivGeometry.right R X₁ X₂ U₁ U₂ hU₂ e) (a v) ∈ W |
| 52 | rw [hr] |
| 53 | exact hW hy |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineSection.EquivNeighborhood.Geometry |