about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--cache.md1
-rw-r--r--cache.picklebin11236 -> 11381 bytes
-rw-r--r--cannot_solve.md3
-rw-r--r--solve.py3
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
--- a/cache.pickle
+++ b/cache.pickle
Binary files differdiff --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}")