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.AddedCechKernel |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.AddedChartRestriction |
| 3 | |
| 4 | /-! # Added Kernel Differential -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.AddedKernelDifferential.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On the kernel of retained-coordinate restriction, the added-chart component negates the Čech differential. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | universe u v w |
| 15 | |
| 16 | variable {σ : Type u} [LinearOrder σ] |
| 17 | variable (R : Type v) [CommRing R] |
| 18 | variable [Algebra (MvPolynomial (WithBot σ) R) (MvPolynomial σ R)] |
| 19 | [IsScalarTower R (MvPolynomial (WithBot σ) R) (MvPolynomial σ R)] |
| 20 | variable (he : ∀ i : σ, algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X (i : WithBot σ)) = X i) |
| 21 | variable (M : Type w) [AddCommGroup M] [Module R M] |
| 22 | [Module (MvPolynomial (WithBot σ) R) M] [Module (MvPolynomial σ R) M] |
| 23 | [IsScalarTower R (MvPolynomial (WithBot σ) R) M] [IsScalarTower R (MvPolynomial σ R) M] |
| 24 | [IsScalarTower (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) M] |
| 25 | variable (l : MvPolynomial σ R) |
| 26 | variable (hl : algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X ⊥) = l) |
| 27 | |
| 28 | theorem retainedModuleCechMap_kernel_differential (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 29 | (hf : ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M f = 0) : |
| 30 | ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f) = 0 := by |
| 31 | let e : σ ↪o WithBot σ := |
| 32 | { toEmbedding := Function.Embedding.coeWithBot, map_rel_iff' := WithBot.coe_le_coe } |
| 33 | have he' : ∀ i : σ, algebraMap (MvPolynomial (WithBot σ) R) (MvPolynomial σ R) (X (e i)) = X i := he |
| 34 | have hd := Cech.CechDifferential.ProjectiveCech.retainedModuleCechMap_differential R e he' M f |
| 35 | have hzero : ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M |
| 36 | (ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M f) = 0 := |
| 37 | (congrArg (ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M) hf).trans |
| 38 | (map_zero (ModuleCech.Card.ProjectiveCech.moduleCechDifferential (σ := σ) R M)) |
| 39 | exact hd.trans hzero |
| 40 | |
| 41 | theorem addedModuleCechComponent_differential (f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := WithBot σ) R M) |
| 42 | (hf : ModuleCech.HomogeneousLift.ProjectiveCech.retainedModuleCechMap R Function.Embedding.coeWithBot he M f = 0) : |
| 43 | AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl (ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f) = |
| 44 | -ModuleCech.Card.ProjectiveCech.moduleCechDifferential R (Presentations.Module.Fractions.GradedModules.AwayModule l M) (AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl f) := by |
| 45 | funext s |
| 46 | let E := AddedCoordinateCharts.ProjectiveCech.addedModuleChartEquiv R he l hl M s |
| 47 | have hzero : ModuleCech.Square.ProjectiveCech.moduleCechValue R M f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) ((AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s).erase ⊥) |
| 48 | (Finset.erase_subset ⊥ (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s)) = 0 := by |
| 49 | have hv := ModuleCech.Square.ProjectiveCech.moduleCechValue_congr R M f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) ((AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s).erase ⊥) |
| 50 | (AddedCoordinateFinsets.ProjectiveCech.retainedCoordinates s) (Finset.erase_subset ⊥ (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s)) |
| 51 | (Finset.subset_insert ⊥ (AddedCoordinateFinsets.ProjectiveCech.retainedCoordinates s)) (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace_erase_bot s) |
| 52 | rw [hv] |
| 53 | change Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R M _ (f (AddedCoordinateFinsets.ProjectiveCech.retainedCoordinates s)) = 0 |
| 54 | rw [(AddedCechKernel.ProjectiveCech.retainedModuleCechMap_eq_zero_iff R he M f).mp hf _ (AddedCoordinateFinsets.ProjectiveCech.bot_not_mem_retainedCoordinates s), map_zero] |
| 55 | change E (∑ i ∈ insert ⊥ (AddedCoordinateFinsets.ProjectiveCech.retainedCoordinates s), Cech.Signs.ProjectiveCech.alternatingSign R (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) i • |
| 56 | ModuleCech.Square.ProjectiveCech.moduleCechValue R M f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) ((AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s).erase i) |
| 57 | (Finset.erase_subset i (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s))) = |
| 58 | -(∑ i ∈ s, Cech.Signs.ProjectiveCech.alternatingSign R s i • Graded.ModuleRestriction.ProjectiveCech.moduleChartRestriction R (Presentations.Module.Fractions.GradedModules.AwayModule l M) (Finset.erase_subset i s) |
| 59 | (AddedCechKernel.ProjectiveCech.addedModuleCechComponent R he M l hl f (s.erase i))) |
| 60 | rw [Finset.sum_insert (AddedCoordinateFinsets.ProjectiveCech.bot_not_mem_retainedCoordinates s), hzero, smul_zero, zero_add, map_sum] |
| 61 | change (∑ i ∈ s.map Function.Embedding.coeWithBot, E (Cech.Signs.ProjectiveCech.alternatingSign R (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) i • |
| 62 | ModuleCech.Square.ProjectiveCech.moduleCechValue R M f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) ((AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s).erase i) |
| 63 | (Finset.erase_subset i (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s)))) = _ |
| 64 | rw [Finset.sum_map, ← Finset.sum_neg_distrib] |
| 65 | apply Finset.sum_congr rfl |
| 66 | intro i _ |
| 67 | change E (Cech.Signs.ProjectiveCech.alternatingSign R (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) (i : WithBot σ) • |
| 68 | ModuleCech.Square.ProjectiveCech.moduleCechValue R M f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) ((AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s).erase (i : WithBot σ)) |
| 69 | (Finset.erase_subset (i : WithBot σ) (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s))) = _ |
| 70 | rw [map_smul, AddedCoordinateFinsets.ProjectiveCech.alternatingSign_added_coe, neg_smul] |
| 71 | apply congrArg (fun x => -(Cech.Signs.ProjectiveCech.alternatingSign R s i • x)) |
| 72 | have hv := ModuleCech.Square.ProjectiveCech.moduleCechValue_congr R M f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s) |
| 73 | ((AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s).erase (i : WithBot σ)) (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace (s.erase i)) |
| 74 | (Finset.erase_subset (i : WithBot σ) (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace s)) |
| 75 | (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace_subset (Finset.erase_subset i s)) (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace_erase_coe s i) |
| 76 | rw [hv] |
| 77 | exact AddedChartRestriction.ProjectiveCech.addedModuleChartEquiv_restriction R he l hl M (Finset.erase_subset i s) (f (AddedCoordinateFinsets.ProjectiveCech.addedCoordinateFace (s.erase i))) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.AddedKernelDifferential.ProjectiveCech |