Download data/lean/OAI/NumberTheory/PadicHodge/GeometricComparison/AdicCompatible.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.15 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PadicHodge/GeometricComparison/AdicCompatible.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/PadicHodge/GeometricComparison/AdicCompatible.lean
-
curl -L -o AdicCompatible.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PadicHodge/GeometricComparison/AdicCompatible.lean
4.15 kB
| import OAI.NumberTheory.PadicHodge.GeometricComparison.AdicCohomology | |
| import OAI.NumberTheory.PadicHodge.IntegralComparison.SequentialModuleDifference | |
| /-! # Adic Compatible -/ | |
| namespace OAI.NumberTheory.PadicHodge.GeometricComparison.AdicCompatible.AdicCompatibleSequences | |
| noncomputable section | |
| /-! All-transition compatibility agrees with successive compatibility, and | |
| discarding the first level preserves the actual inverse sequence module. -/ | |
| variable (R : Type*) [CommRing R] (B : β β Type*) | |
| [β n, AddCommGroup (B n)] [β n, Module R (B n)] | |
| (t : β n m : β, n β€ m β B m ββ[R] B n) | |
| (hid : β n x, t n n le_rfl x = x) | |
| (hcomp : β n m l (hnm : n β€ m) (hml : m β€ l) x, | |
| t n m hnm (t m l hml x) = t n l (hnm.trans hml) x) | |
| include hid hcomp in | |
| theorem compatible_iff_successor (x : β n, B n) : | |
| x β AdicCohomology.AdicCohomologyLimit.compatible B t β | |
| β n, t n (n + 1) (Nat.le_succ n) (x (n + 1)) = x n := by | |
| refine β¨fun h n => h n (n + 1) (Nat.le_succ n), ?_β© | |
| intro h n m hnm | |
| induction m, hnm using Nat.le_induction with | |
| | base => exact hid n (x n) | |
| | succ m hnm ih => | |
| exact (hcomp n m (m + 1) hnm (Nat.le_succ m) (x (m + 1))).symm.trans | |
| ((congrArg (t n m hnm) (h m)).trans ih) | |
| def sequentialEquiv : AdicCohomology.AdicCohomologyLimit.compatible B t ββ[R] | |
| LinearMap.ker (IntegralComparison.SequentialModuleDifference.difference R B | |
| (fun n => t n (n + 1) (Nat.le_succ n))) where | |
| toFun x := β¨x.val, (IntegralComparison.SequentialModuleDifference.difference_eq_zero_iff R B _ x.val).mpr | |
| ((compatible_iff_successor R B t hid hcomp x.val).mp x.property)β© | |
| invFun x := β¨x.val, (compatible_iff_successor R B t hid hcomp x.val).mpr | |
| ((IntegralComparison.SequentialModuleDifference.difference_eq_zero_iff R B _ x.val).mp x.property)β© | |
| left_inv _ := rfl | |
| right_inv _ := rfl | |
| map_add' _ _ := rfl | |
| map_smul' _ _ := rfl | |
| def shiftMap : AdicCohomology.AdicCohomologyLimit.compatible B t ββ[R] | |
| AdicCohomology.AdicCohomologyLimit.compatible (fun n => B (n + 1)) | |
| (fun n m h => t (n + 1) (m + 1) (Nat.add_le_add_right h 1)) where | |
| toFun x := β¨fun n => x.val (n + 1), fun n m h => x.property (n + 1) (m + 1) (Nat.add_le_add_right h 1)β© | |
| map_add' _ _ := rfl | |
| map_smul' _ _ := rfl | |
| def prepend (x : AdicCohomology.AdicCohomologyLimit.compatible (fun n => B (n + 1)) | |
| (fun n m h => t (n + 1) (m + 1) (Nat.add_le_add_right h 1))) : β n, B n | |
| | 0 => t 0 1 (by omega) (x.val 0) | |
| | n + 1 => x.val n | |
| include hid hcomp in | |
| theorem prepend_compatible (x : AdicCohomology.AdicCohomologyLimit.compatible (fun n => B (n + 1)) | |
| (fun n m h => t (n + 1) (m + 1) (Nat.add_le_add_right h 1))) : | |
| prepend R B t x β AdicCohomology.AdicCohomologyLimit.compatible B t := by | |
| intro n m h | |
| cases n with | |
| | zero => | |
| cases m with | |
| | zero => exact hid 0 _ | |
| | succ m => | |
| change t 0 (m + 1) h (x.val m) = t 0 1 (by omega) (x.val 0) | |
| exact (hcomp 0 1 (m + 1) (by omega) (by omega) (x.val m)).symm.trans | |
| (congrArg (t 0 1 (by omega)) (x.property 0 m (Nat.zero_le m))) | |
| | succ n => | |
| cases m with | |
| | zero => omega | |
| | succ m => exact x.property n m (Nat.le_of_succ_le_succ h) | |
| include hid hcomp in | |
| theorem shiftMap_bijective : Function.Bijective (shiftMap R B t) := by | |
| constructor | |
| Β· intro x y h | |
| have he : β n, x.val (n + 1) = y.val (n + 1) := | |
| fun n => congrArg (fun z => z.val n) h | |
| apply Subtype.ext | |
| funext n | |
| cases n with | |
| | zero => | |
| exact (x.property 0 1 (by omega)).symm.trans | |
| ((congrArg (t 0 1 (by omega)) (he 0)).trans (y.property 0 1 (by omega))) | |
| | succ n => exact he n | |
| Β· intro x | |
| exact β¨β¨prepend R B t x, prepend_compatible R B t hid hcomp xβ©, rflβ© | |
| def shiftEquiv : AdicCohomology.AdicCohomologyLimit.compatible B t ββ[R] | |
| AdicCohomology.AdicCohomologyLimit.compatible (fun n => B (n + 1)) | |
| (fun n m h => t (n + 1) (m + 1) (Nat.add_le_add_right h 1)) := | |
| LinearEquiv.ofBijective (shiftMap R B t) (shiftMap_bijective R B t hid hcomp) | |
| end | |
| end OAI.NumberTheory.PadicHodge.GeometricComparison.AdicCompatible.AdicCompatibleSequences | |