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.AbelianModuli.HilbertConstruction.IdempotentSheafSummands |
| 2 | import Mathlib.Algebra.Module.Submodule.Equiv |
| 3 | |
| 4 | /-! # Idempotent Sheaf Section Ranges -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdempotentSheafSectionRanges |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sections of the constructed idempotent sheaf summand are exactly the range of the actual section projector, over every open subset. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {X : Scheme.{u}} {M : X.Modules} |
| 14 | |
| 15 | def moduleSheafSectionLinearMap {L N : X.Modules} (f : L ⟶ N) (U : X.Opens) : |
| 16 | Γ(L, U) →ₗ[Γ(X, U)] Γ(N, U) := (f.val.app (.op U)).hom |
| 17 | |
| 18 | def idempotentSheafSectionRangeEquiv (p : End M) (hp : p ≫ p = p) (U : X.Opens) : |
| 19 | Γ(IdempotentSheafSummands.idempotentSheafSummand p, U) ≃ₗ[Γ(X, U)] (moduleSheafSectionLinearMap p U).range where |
| 20 | toFun x := ⟨(IdempotentSheafSummands.idempotentSheafInclusion p).app U x, ⟨(IdempotentSheafSummands.idempotentSheafInclusion p).app U x, |
| 21 | ConcreteCategory.congr_hom |
| 22 | (congrArg (fun f : IdempotentSheafSummands.idempotentSheafSummand p ⟶ M => f.app U) (IdempotentSheafSummands.idempotentSheafInclusion_fixed p)) x⟩⟩ |
| 23 | invFun x := (IdempotentSheafSummands.idempotentSheafRetraction p hp).app U x.val |
| 24 | left_inv x := ConcreteCategory.congr_hom |
| 25 | (congrArg (fun f : End (IdempotentSheafSummands.idempotentSheafSummand p) => f.app U) |
| 26 | (IdempotentSheafSummands.idempotentSheafInclusion_retraction p hp)) x |
| 27 | right_inv x := by |
| 28 | apply Subtype.ext |
| 29 | have hr := ConcreteCategory.congr_hom (congrArg (fun f : End M => f.app U) |
| 30 | (IdempotentSheafSummands.idempotentSheafRetraction_inclusion p hp)) x.val |
| 31 | have hi := ConcreteCategory.congr_hom (congrArg (fun f : End M => f.app U) hp) |
| 32 | obtain ⟨y, hy⟩ := x.property |
| 33 | exact hr.trans ((congrArg (fun z => p.app U z) hy.symm).trans ((hi y).trans hy)) |
| 34 | map_add' x y := Subtype.ext ((moduleSheafSectionLinearMap (IdempotentSheafSummands.idempotentSheafInclusion p) U).map_add x y) |
| 35 | map_smul' r x := Subtype.ext ((moduleSheafSectionLinearMap (IdempotentSheafSummands.idempotentSheafInclusion p) U).map_smul r x) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.IdempotentSheafSectionRanges |