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.AbelianScheme.TateComparison.ProductActionDecomposition |
| 2 | |
| 3 | /-! # Block Exactness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BlockExactness.ProductAction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Exact sequences remain exact on the actual idempotent ranges of a |
| 10 | product action. The quotient comparison retains the original maps. -/ |
| 11 | |
| 12 | variable {R M N P I : Type*} [CommRing R] |
| 13 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 14 | [AddCommGroup P] [Module R P] |
| 15 | (θ : (I → R) →ₐ[R] Module.End R M) (ψ : (I → R) →ₐ[R] Module.End R N) |
| 16 | (χ : (I → R) →ₐ[R] Module.End R P) |
| 17 | (f : M →ₗ[R] N) (hf : ∀ a, f.comp (θ a) = (ψ a).comp f) |
| 18 | (g : N →ₗ[R] P) (hg : ∀ a, g.comp (ψ a) = (χ a).comp g) |
| 19 | |
| 20 | theorem blockMap_range (i : I) : |
| 21 | (ProductActionDecomposition.ProductAction.blockMap θ ψ f hf i).range = f.range.comap (ProductActionDecomposition.ProductAction.block ψ i).subtype := by |
| 22 | classical |
| 23 | ext y |
| 24 | constructor |
| 25 | · rintro ⟨x, hx⟩ |
| 26 | exact ⟨x.val, congrArg Subtype.val hx⟩ |
| 27 | · rintro ⟨x, hx⟩ |
| 28 | refine ⟨⟨ProductActionDecomposition.ProductAction.projector θ i x, ⟨x, rfl⟩⟩, ?_⟩ |
| 29 | apply Subtype.ext |
| 30 | have he := congrArg (fun a => a x) (hf (Pi.single i 1)) |
| 31 | change f (ProductActionDecomposition.ProductAction.projector θ i x) = ProductActionDecomposition.ProductAction.projector ψ i (f x) at he |
| 32 | exact he.trans ((congrArg (ProductActionDecomposition.ProductAction.projector ψ i) hx).trans (ProductActionDecomposition.ProductAction.projector_on_block ψ i y)) |
| 33 | |
| 34 | theorem blockMap_ker (i : I) : |
| 35 | (ProductActionDecomposition.ProductAction.blockMap θ ψ f hf i).ker = f.ker.comap (ProductActionDecomposition.ProductAction.block θ i).subtype := by |
| 36 | ext x |
| 37 | exact Subtype.ext_iff |
| 38 | |
| 39 | theorem blockMap_exact (h : g.ker = f.range) (i : I) : |
| 40 | (ProductActionDecomposition.ProductAction.blockMap ψ χ g hg i).ker = (ProductActionDecomposition.ProductAction.blockMap θ ψ f hf i).range := by |
| 41 | rw [blockMap_ker, blockMap_range, h] |
| 42 | |
| 43 | def blockMapRangeEquiv (i : I) : |
| 44 | (ProductActionDecomposition.ProductAction.blockMap θ ψ f hf i).range ≃ₗ[R] ↥(f.range ⊓ ProductActionDecomposition.ProductAction.block ψ i) := by |
| 45 | let e : f.range.comap (ProductActionDecomposition.ProductAction.block ψ i).subtype ≃ₗ[R] ↥(f.range ⊓ ProductActionDecomposition.ProductAction.block ψ i) := { |
| 46 | toFun x := ⟨x.val.val, x.property, x.val.property⟩ |
| 47 | invFun x := ⟨⟨x.val, x.property.2⟩, x.property.1⟩ |
| 48 | left_inv _ := rfl |
| 49 | right_inv _ := rfl |
| 50 | map_add' _ _ := rfl |
| 51 | map_smul' _ _ := rfl } |
| 52 | exact (LinearEquiv.ofEq _ _ (blockMap_range θ ψ f hf i)).trans e |
| 53 | |
| 54 | def blockCokernelEquiv (h : g.ker = f.range) (i : I) : |
| 55 | (ProductActionDecomposition.ProductAction.block ψ i ⧸ (ProductActionDecomposition.ProductAction.blockMap θ ψ f hf i).range) ≃ₗ[R] ↥(g.range ⊓ ProductActionDecomposition.ProductAction.block χ i) := |
| 56 | (Submodule.quotEquivOfEq _ _ (blockMap_exact θ ψ χ f hf g hg h i).symm).trans |
| 57 | ((ProductActionDecomposition.ProductAction.blockMap ψ χ g hg i).quotKerEquivRange.trans (blockMapRangeEquiv ψ χ g hg i)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.BlockExactness.ProductAction |