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.SmoothProper.DeRhamZariski |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.EtaleCoordinates |
| 3 | |
| 4 | /-! # Cech Intersections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CechIntersections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: every actual Čech intersection inherits finite étale coordinates |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleCover |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (k : Type u) [Field k] (X : Over (Spec (CommRingCat.of k))) |
| 21 | [IsProper X.hom] [Smooth X.hom] |
| 22 | |
| 23 | local instance separated : IsSeparated (terminal.from X.left) := by |
| 24 | rw [← terminal.comp_from X.hom] |
| 25 | infer_instance |
| 26 | |
| 27 | variable (q : ℕ) (t : Fin (q + 1) → EtaleCover.Index k X) |
| 28 | |
| 29 | def opens : X.left.Opens := ∏ᶜ (DeRhamZariski.opens k X ∘ t) |
| 30 | |
| 31 | theorem eq_iInf : opens k X q t = ⨅ j, DeRhamZariski.opens k X (t j) := by |
| 32 | apply le_antisymm |
| 33 | · exact le_iInf (fun j => leOfHom (Pi.π (DeRhamZariski.opens k X ∘ t) j)) |
| 34 | · exact leOfHom (Pi.lift (fun j => homOfLE (iInf_le (fun j => DeRhamZariski.opens k X (t j)) j))) |
| 35 | |
| 36 | theorem affine : IsAffineOpen (opens k X q t) := by |
| 37 | rw [eq_iInf] |
| 38 | exact IsAffineOpen.iInf (fun j => DeRhamZariski.affine k X (t j)) |
| 39 | |
| 40 | theorem le_chart : opens k X q t ≤ (EtaleCover.chartMap k X (t 0)).opensRange := |
| 41 | leOfHom (Pi.π (DeRhamZariski.opens k X ∘ t) 0) |
| 42 | |
| 43 | def coordinateRing : CommAlgCat.{u} k := (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras k X).obj (op (opens k X q t)) |
| 44 | |
| 45 | def chartMap : Spec (CommRingCat.of (coordinateRing k X q t)) ⟶ X.left := (affine k X q t).fromSpec |
| 46 | |
| 47 | instance chartMap_open : IsOpenImmersion (chartMap k X q t) := |
| 48 | IsAffineOpen.isOpenImmersion_fromSpec (affine k X q t) |
| 49 | |
| 50 | theorem chartMap_range : (chartMap k X q t).opensRange = opens k X q t := |
| 51 | (affine k X q t).opensRange_fromSpec |
| 52 | |
| 53 | theorem chartMap_over : chartMap k X q t ≫ X.hom = |
| 54 | Spec.map (CommRingCat.ofHom (algebraMap k (coordinateRing k X q t))) := |
| 55 | AffineOpen.SectionBase.overBase k X (opens k X q t) (affine k X q t) |
| 56 | |
| 57 | @[instance_reducible] |
| 58 | def polynomialAlgebra : Algebra (MvPolynomial (EtaleCover.coordinateIndex k X (t 0)) k) (coordinateRing k X q t) := |
| 59 | @AffineOpen.EtaleCoordinates.polynomialAlgebra k inferInstance X (opens k X q t) (affine k X q t) |
| 60 | (EtaleCover.coordinateRing k X (t 0)) inferInstance |
| 61 | (EtaleCover.chartMap k X (t 0)) (EtaleCover.chartMap_open k X (t 0)) |
| 62 | (le_chart k X q t) (EtaleCover.coordinateIndex k X (t 0)) (EtaleCover.polynomialAlgebra k X (t 0)) |
| 63 | |
| 64 | theorem etale : letI := polynomialAlgebra k X q t |
| 65 | Algebra.Etale (MvPolynomial (EtaleCover.coordinateIndex k X (t 0)) k) (coordinateRing k X q t) := |
| 66 | @AffineOpen.EtaleCoordinates.etale k inferInstance X (opens k X q t) (affine k X q t) |
| 67 | (EtaleCover.coordinateRing k X (t 0)) inferInstance |
| 68 | (EtaleCover.chartMap k X (t 0)) (EtaleCover.chartMap_open k X (t 0)) |
| 69 | (le_chart k X q t) (EtaleCover.coordinateIndex k X (t 0)) (EtaleCover.polynomialAlgebra k X (t 0)) |
| 70 | (EtaleCover.coordinateEtale k X (t 0)) |
| 71 | |
| 72 | theorem tower : letI := polynomialAlgebra k X q t |
| 73 | IsScalarTower k (MvPolynomial (EtaleCover.coordinateIndex k X (t 0)) k) (coordinateRing k X q t) := |
| 74 | @AffineOpen.EtaleCoordinates.tower k inferInstance X (opens k X q t) (affine k X q t) |
| 75 | (EtaleCover.coordinateRing k X (t 0)) inferInstance |
| 76 | (EtaleCover.chartMap k X (t 0)) (EtaleCover.chartMap_open k X (t 0)) |
| 77 | (le_chart k X q t) (EtaleCover.coordinateIndex k X (t 0)) (EtaleCover.polynomialAlgebra k X (t 0)) |
| 78 | (EtaleCover.coordinateAlgebra k X (t 0)) (EtaleCover.coordinateTower k X (t 0)) (EtaleCover.chartMap_over k X (t 0)) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.CechIntersections |