# HG changeset patch # User Shinji KONO # Date 1598005496 -32400 # Node ID 1f8e1e7b57705faf5eb28b8613c71dcc947b1c8a # Parent 88f9aff7eb71282f47c501701ae00a24d204cef6 enumerating permutation done diff -r 88f9aff7eb71 -r 1f8e1e7b5770 Symmetric.agda --- a/Symmetric.agda Fri Aug 21 13:13:27 2020 +0900 +++ b/Symmetric.agda Fri Aug 21 19:24:56 2020 +0900 @@ -154,13 +154,14 @@ -- inductivley enmumerate permutations -- from n-1 length create n length inserting new element at position m -eperm : {n m : ℕ} → m ≤ n → Permutation n n → Permutation (suc n) (suc n) -eperm {0} {0} z≤n perm = pprep perm -eperm {suc n} {0} z≤n perm = pprep perm -eperm {n} {suc m} (s≤s m