# HG changeset patch # User Shinji KONO # Date 1687477928 -32400 # Node ID ddb581d5599b5d6a6177866e43e1efac94338c61 # Parent aca9b1e6750388d865b56cebd51f187b1ecb4935 suc n diff -r aca9b1e67503 -r ddb581d5599b src/bijection.agda --- a/src/bijection.agda Fri Jun 23 08:13:22 2023 +0900 +++ b/src/bijection.agda Fri Jun 23 08:52:08 2023 +0900 @@ -674,8 +674,8 @@ any-cl : (i : ℕ) → (cl : List C) → Set any-cl i cl = (j : ℕ) → j ≤ i → Any (_≡_ (g (f (fun← an j)))) cl - n (≤-trans (s≤s lt) (refl-≤≡ eq) ) (s≤s (s≤s z≤n)) ) ... | no nisb | record { eq = eq1 } = ⊥-elim (nat-≡< (sym eq) (s≤s z≤n)) - lem09 (suc i) (suc j) (s≤s le) eq with ≤-∨ (s≤s le) + lem09 n (suc i) (suc j) (s≤s le) eq with ≤-∨ (s≤s le) ... | case1 eq1 = lem07 n (suc i) (sym (trans eq1 eq )) ... | case2 (s≤s lt) with is-B (fun← cn (suc i)) | inspect count-B (suc i) - ... | yes isb | record { eq = eq1 } = lem09 i j lt (cong pred eq) - ... | no nisb | record { eq = eq1 } = lem09 i (suc j) (≤-trans lt a≤sa) eq + ... | yes isb | record { eq = eq1 } = lem09 n i j lt (cong pred eq) + ... | no nisb | record { eq = eq1 } = lem09 n i (suc j) (≤-trans lt a≤sa) eq bton : B → ℕ bton b = count-B (fun→ cn (g b)) ntob : (n : ℕ) → B - ntob n = CountB.b (lem01 n (maxAC.ac (lem02 n)) (≤-trans (maxAC.n