From ebe53b2c90e205ff6212c39e0b94387aa69e27d3 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 19 Feb 2023 14:25:00 +0100 Subject: cannot_solved.md formatting --- cache.md | 1 + cache.pickle | Bin 11236 -> 11381 bytes cannot_solve.md | 3 +++ solve.py | 3 +-- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cache.md b/cache.md index 139ebd0..048a7d2 100644 --- a/cache.md +++ b/cache.md @@ -88,4 +88,5 @@ (('(λa b c. a (a c))', '(λa b. a (a a b))'), ('(λx y. x)', '(λx y. y)')): ['(λc d. c)', '(λa b c. b a b b)', '(λa b. a)', '(λa b. b)', '(λa b c. c a a a)'] (('(λa b c. b c)', '(λa b. b b)'), ('(λx y. x)', '(λx y. y)')): ['(λa b c. a b a a)', '(λb. (λe f. f))', '(λa b. a a b)', '(λp. p (λe f. f) (λc d. c))', '(λa b. a)'] (('(λa b. a a (a b a))', '(λa b c. a a (a c))'), ('(λx y. x)', '(λx y. y)')): ['(λa. (λc d. c))', '(λb a c c. (λc d. c))', '(λb a c c. (λc d. c))', '(λb a c c. (λc d. c))', '(λa b. a b a)', '(λa. (λc d. c))', '(λa b. b)', '(λb a c c. (λc d. c))'] +(('(λa b c. a (b b a))', '(λa b c. a (a b b))'), ('(λx y. x)', '(λx y. y)')): ['(λa b. a)', '(λe f. f)', '(λa. a)', '(λb a c c. (λc d. c))'] ``` \ No newline at end of file diff --git a/cache.pickle b/cache.pickle index 3e5edcd..cbe7864 100644 Binary files a/cache.pickle and b/cache.pickle differ diff --git a/cannot_solve.md b/cannot_solve.md index ed291be..b23ffbf 100644 --- a/cannot_solve.md +++ b/cannot_solve.md @@ -1,3 +1,6 @@ # cannot solve - `(λa b. a λc. c c a) | (λa b. a λc. c c b)` +- `(λa b. a λc. b a) | (λa b. a (b b a))` +- `(λa b. a λc. c b b) | (λa b. a λc. c b)` +- `(λa b. a (a b b)) | (λa b. a λc. c a)` diff --git a/solve.py b/solve.py index faf8780..f3ec8e0 100644 --- a/solve.py +++ b/solve.py @@ -655,8 +655,7 @@ while True: print("SOMETHING WENT HORRIBLY WRONG!") print(f"CANNOT SOLVE {s=} {t=}") - cannot_solve = open("cannot_solve.md", "a") - cannot_solve.write(f"# cannot solve\n\n") + cannot_solve = open("./cannot_solve.md", "a") cannot_solve.write(f"- `{s} | {t}`\n") print(f"level {level}, cache hits: {cache_hits}") -- cgit 1.4.1