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.FormConstants |
| 2 | |
| 3 | /-! # Branches -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual local branch presentations of a correspondence and the |
| 10 | sum-of-pullbacks meaning of its trace on one-forms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | section |
| 17 | |
| 18 | variable {B B' : Scheme.{u}} {X : Over B} (C : Correspondences.EtaleCorrespondence X) |
| 19 | |
| 20 | /-- A correspondence remains finite etale over its source after base change. -/ |
| 21 | abbrev Correspondences.EtaleCorrespondence.baseChange (f : B' ⟶ B) : Correspondences.EtaleCorrespondence ((Over.pullback f).obj X) where |
| 22 | cover := (Over.pullback f).obj C.cover |
| 23 | source := (Over.pullback f).map C.source |
| 24 | target := (Over.pullback f).map C.target |
| 25 | finite := MorphismProperty.overPullbackMap f C.source C.finite |
| 26 | etale := MorphismProperty.overPullbackMap f C.source C.etale |
| 27 | |
| 28 | variable {T : Over B} (x : T ⟶ X) |
| 29 | |
| 30 | /-- A section of the scheme-theoretic source fiber gives its actual branch. -/ |
| 31 | def Correspondences.EtaleCorrespondence.branchOfSection |
| 32 | (a : T.left ⟶ pullback C.source.left x.left) |
| 33 | (ha : a ≫ pullback.snd C.source.left x.left = 𝟙 _) : C.Fiber x := |
| 34 | ⟨Over.homMk (a ≫ pullback.fst C.source.left x.left) (by |
| 35 | calc |
| 36 | _ = a ≫ pullback.fst C.source.left x.left ≫ C.source.left ≫ X.hom := by |
| 37 | rw [C.source.w] |
| 38 | simp only [Category.assoc] |
| 39 | _ = a ≫ pullback.snd C.source.left x.left ≫ x.left ≫ X.hom := by |
| 40 | rw [← Category.assoc (pullback.fst C.source.left x.left), pullback.condition] |
| 41 | simp only [Category.assoc] |
| 42 | _ = T.hom := by rw [← Category.assoc a, ha, Category.id_comp, x.w]), by |
| 43 | apply Over.OverMorphism.ext |
| 44 | change (a ≫ pullback.fst C.source.left x.left) ≫ C.source.left = x.left |
| 45 | rw [Category.assoc, pullback.condition, ← Category.assoc, ha, Category.id_comp]⟩ |
| 46 | |
| 47 | /-- A splitting is an isomorphism of schemes over the test scheme, from |
| 48 | n disjoint copies of that scheme to the pulled-back source cover. -/ |
| 49 | abbrev Correspondences.EtaleCorrespondence.BranchSplitting (n : ℕ) := |
| 50 | (∐ fun _ : Fin n => Over.mk (𝟙 T.left)) ≅ |
| 51 | Over.mk (pullback.snd C.source.left x.left) |
| 52 | |
| 53 | /-- The branches are constructed from the splitting's component inclusions. -/ |
| 54 | def Correspondences.EtaleCorrespondence.splitBranch {n : ℕ} (e : C.BranchSplitting x n) (i : Fin n) : C.Fiber x := |
| 55 | C.branchOfSection x (Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) i ≫ e.hom).left |
| 56 | (Sigma.ι (fun _ : Fin n => Over.mk (𝟙 T.left)) i ≫ e.hom).w |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-- The trace identity is stated on every actual affine branch splitting. |
| 61 | It is the sum of pullbacks by the target branches, with multiplicities. |
| 62 | No independently supplied linear operator is used to define this relation. -/ |
| 63 | def Branches.IsBranchTrace {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} (C : Correspondences.EtaleCorrespondence X) |
| 64 | (ω η : FormConstants.OneForms X) : Prop := |
| 65 | ∀ (R : CommAlgCat.{0} ℂ) (x : FormConstants.affineComplexTest R ⟶ X) (n : ℕ) |
| 66 | (e : C.BranchSplitting x n), |
| 67 | η.val R x = ∑ i : Fin n, ω.val R (C.endpoint (C.splitBranch x e i)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |