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.FiniteEtale.TraceBasis |
| 2 | |
| 3 | /-! # Etale Open Basis -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleOpenBasis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Affine opens carrying actual étale coordinates form a basis on a |
| 10 | smooth proper model. The coordinate choices retain their original |
| 11 | section algebras. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | universe u |
| 14 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 15 | |
| 16 | def Good (U : X.left.Opens) : Prop := |
| 17 | IsAffineOpen U ∧ FiniteEtale.TraceBasis.HasCoordinates R X U |
| 18 | abbrev Index := {U : X.left.Opens // Good R X U} |
| 19 | abbrev opens (a : Index R X) : X.left.Opens := a.val |
| 20 | abbrev affine (a : Index R X) : X.left.affineOpens := ⟨a.val, a.property.1⟩ |
| 21 | abbrev ring (a : Index R X) := IntrinsicDeRham.SectionUnit.Intrinsic.ring R X a.val |
| 22 | |
| 23 | def coordinateIndex (a : Index R X) : Type u := a.property.2.choose |
| 24 | instance coordinateFintype (a : Index R X) : Fintype (coordinateIndex R X a) := |
| 25 | a.property.2.choose_spec.choose |
| 26 | instance polynomialAlgebra (a : Index R X) : |
| 27 | Algebra (MvPolynomial (coordinateIndex R X a) R) (ring R X a) := |
| 28 | a.property.2.choose_spec.choose_spec.choose |
| 29 | instance coordinateTower (a : Index R X) : |
| 30 | IsScalarTower R (MvPolynomial (coordinateIndex R X a) R) (ring R X a) := |
| 31 | a.property.2.choose_spec.choose_spec.choose_spec.1 |
| 32 | instance coordinateEtale (a : Index R X) : |
| 33 | Algebra.Etale (MvPolynomial (coordinateIndex R X a) R) (ring R X a) := |
| 34 | a.property.2.choose_spec.choose_spec.choose_spec.2 |
| 35 | |
| 36 | @[instance_reducible] def coordinateOrder (a : Index R X) : LinearOrder (coordinateIndex R X a) := |
| 37 | LinearOrder.lift' (Fintype.equivFin _) (Fintype.equivFin _).injective |
| 38 | |
| 39 | variable [IsProper X.hom] [Smooth X.hom] |
| 40 | |
| 41 | theorem neighborhood (U : X.left.Opens) (x : X.left) (hx : x ∈ U) : |
| 42 | ∃ a : Index R X, x ∈ opens R X a ∧ opens R X a ≤ U := by |
| 43 | let : IsFinite ((𝟙 X : X ⟶ X).left) := by |
| 44 | change IsFinite (𝟙 X.left) |
| 45 | infer_instance |
| 46 | let : Etale ((𝟙 X : X ⟶ X).left) := by |
| 47 | change Etale (𝟙 X.left) |
| 48 | infer_instance |
| 49 | obtain ⟨a, ha, hU⟩ := FiniteEtale.TraceBasis.neighborhood R X X (𝟙 X) U x hx |
| 50 | exact ⟨⟨a.val, a.property.1, a.property.2.1⟩, ha, hU⟩ |
| 51 | |
| 52 | theorem isBasis : Opens.IsBasis (Set.range (opens R X)) := by |
| 53 | apply Opens.isBasis_iff_nbhd.mpr |
| 54 | intro U x hx |
| 55 | obtain ⟨a, ha, hU⟩ := neighborhood R X U x hx |
| 56 | exact ⟨opens R X a, ⟨a,rfl⟩, ha, hU⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleOpenBasis |