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.AlgebraicGeometry.HilbertScheme.Presentations.Linear.CoverExpansion |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.ReversedModuleCech |
| 3 | |
| 4 | /-! # Top Linear Cover Expansion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.TopLinearCoverExpansion.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A homogeneous linear chart can be adjoined as the last coordinate without changing augmented Čech exactness. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} [Fintype σ] [LinearOrder σ] |
| 17 | variable (R : Type v) [CommRing R] |
| 18 | variable [Algebra (MvPolynomial (WithTop σ) R) (MvPolynomial σ R)] |
| 19 | [IsScalarTower R (MvPolynomial (WithTop σ) R) (MvPolynomial σ R)] |
| 20 | variable (he : ∀ i : σ, algebraMap (MvPolynomial (WithTop σ) R) (MvPolynomial σ R) (X (i : WithTop σ)) = X i) |
| 21 | variable (M : Type w) [AddCommGroup M] [Module R M] |
| 22 | [Module (MvPolynomial (WithTop σ) R) M] [Module (MvPolynomial σ R) M] |
| 23 | [IsScalarTower R (MvPolynomial (WithTop σ) R) M] [IsScalarTower R (MvPolynomial σ R) M] |
| 24 | [IsScalarTower (MvPolynomial (WithTop σ) R) (MvPolynomial σ R) M] |
| 25 | variable (l : MvPolynomial σ R) |
| 26 | variable (hl : algebraMap (MvPolynomial (WithTop σ) R) (MvPolynomial σ R) (X ⊤) = l) |
| 27 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 28 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 29 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := WithTop σ) R) ℳ] |
| 30 | |
| 31 | local instance : Algebra (MvPolynomial (WithBot σᵒᵈ) R) (MvPolynomial σᵒᵈ R) := |
| 32 | ‹Algebra (MvPolynomial (WithTop σ) R) (MvPolynomial σ R)› |
| 33 | local instance : IsScalarTower R (MvPolynomial (WithBot σᵒᵈ) R) (MvPolynomial σᵒᵈ R) := |
| 34 | ‹IsScalarTower R (MvPolynomial (WithTop σ) R) (MvPolynomial σ R)› |
| 35 | local instance : Module (MvPolynomial σᵒᵈ R) M := ‹Module (MvPolynomial σ R) M› |
| 36 | local instance : Module (MvPolynomial (WithBot σᵒᵈ) R) M := ‹Module (MvPolynomial (WithTop σ) R) M› |
| 37 | local instance : IsScalarTower R (MvPolynomial σᵒᵈ R) M := ‹IsScalarTower R (MvPolynomial σ R) M› |
| 38 | local instance : IsScalarTower R (MvPolynomial (WithBot σᵒᵈ) R) M := ‹IsScalarTower R (MvPolynomial (WithTop σ) R) M› |
| 39 | local instance : IsScalarTower (MvPolynomial (WithBot σᵒᵈ) R) (MvPolynomial σᵒᵈ R) M := |
| 40 | ‹IsScalarTower (MvPolynomial (WithTop σ) R) (MvPolynomial σ R) M› |
| 41 | local instance : SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σᵒᵈ) R) ℳ := |
| 42 | ‹SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ› |
| 43 | local instance : SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := WithBot σᵒᵈ) R) ℳ := |
| 44 | ‹SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := WithTop σ) R) ℳ› |
| 45 | |
| 46 | include he hl in |
| 47 | theorem topLinearCoverExpansion_moduleCechExactAt_iff (hlhom : l.IsHomogeneous 1) (d : ℤ) (q : ℕ) : |
| 48 | Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := WithTop σ) R M ℳ d q ↔ Cech.DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d q := by |
| 49 | have he' : ∀ i : σᵒᵈ, algebraMap (MvPolynomial (WithBot σᵒᵈ) R) (MvPolynomial σᵒᵈ R) |
| 50 | (X (i : WithBot σᵒᵈ)) = X i := he |
| 51 | have hl' : algebraMap (MvPolynomial (WithBot σᵒᵈ) R) (MvPolynomial σᵒᵈ R) (X ⊥) = l := hl |
| 52 | have h := Linear.CoverExpansion.ProjectiveCech.linearCoverExpansion_moduleCechExactAt_iff (σ := σᵒᵈ) R he' M l hl' ℳ hlhom d q |
| 53 | have ht := (ReversedModuleCech.ProjectiveCech.moduleCechExactAt_orderDual_iff (σ := WithBot σᵒᵈ) R M ℳ d q).trans |
| 54 | (h.trans (ReversedModuleCech.ProjectiveCech.moduleCechExactAt_orderDual_iff (σ := σ) R M ℳ d q)) |
| 55 | have horder : OrderDual.instLinearOrder (WithBot σᵒᵈ) = |
| 56 | (inferInstance : LinearOrder (WithTop σ)) := by |
| 57 | apply LinearOrder.ext |
| 58 | intro a b |
| 59 | change WithBot.LE (α := σᵒᵈ) b a ↔ WithTop.LE (α := σ) a b |
| 60 | constructor |
| 61 | · intro hab |
| 62 | cases hab with |
| 63 | | bot_le => exact WithTop.LE.le_top (α := σ) _ |
| 64 | | coe_le_coe h => exact WithTop.LE.coe_le_coe h |
| 65 | · intro hab |
| 66 | cases hab with |
| 67 | | le_top => exact WithBot.LE.bot_le (α := σᵒᵈ) _ |
| 68 | | coe_le_coe h => exact WithBot.LE.coe_le_coe h |
| 69 | rw [horder] at ht |
| 70 | exact ht |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.TopLinearCoverExpansion.ProjectiveCech |