From 5a17be402cb839693065ccda97ad609be2638211 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 19 Feb 2023 14:13:30 +0100 Subject: cache update --- cache.md | 6 ++++++ cache.pickle | Bin 7671 -> 8480 bytes solve.py | 1 + 3 files changed, 7 insertions(+) diff --git a/cache.md b/cache.md index 03d4516..fda0d45 100644 --- a/cache.md +++ b/cache.md @@ -62,4 +62,10 @@ (('(λa b. a a (a a a))', '(λa b. a a λc. b c a)'), ('(λx y. x)', '(λx y. y)')): ['(λa b. b)', '(λa. (λc d. c))', '(λa b. a)', '(λc d. c)'] (('(λa b c. a (a c) a)', '(λa b. a (a b a) a)'), ('(λx y. x)', '(λx y. y)')): ['(λa b. a)', '(λa b. b)', '(λa b. a)', '(λa b. b)'] (('(λa b. a a b)', '(λa b. a b a)'), ('(λx y. x)', '(λx y. y)')): ['(λa b. a)', '(λa b. b)'] +(('(λa b. a a (b a a))', '(λa b c. a a (b a))'), ('(λx y. x)', '(λx y. y)')): ['(λa b. b)', '(λa b. a)', '(λa b. b)', '(λa b. a)'] +(('(λa b. a a (b a b))', '(λa b c. a a (c b))'), ('(λx y. x)', '(λx y. y)')): ['(λa b. b b b)', '(λb. (λe f. f))', '(λc d. c)'] +(('(λa b. a a λc. a (c b b))', '(λa b. a a λc. a (a a c))'), ('(λx y. x)', '(λx y. y)')): ['(λa. a)', '(λa b. b b a)', '(λa b. a)', '(λa b. b)', '(λa b. a)'] +(('(λa b c. a (a b))', '(λa b c. a (a a))'), ('(λx y. x)', '(λx y. y)')): ['(λa b. b a b)', '(λa b. b b a)', '(λb a c c. (λc d. c))', '(λa b. a)', '(λa b. a)', '(λa b. a)', '(λa b. b)'] +(('(λa b. a (b b))', '(λa b. a λc. b c)'), ('(λx y. x)', '(λx y. y)')): ['(λa b. a a a)', '(λa b. a)', '(λa b. a b a)', '(λa b. b)', '(λc d. c)'] +(('(λa. a a a)', '(λa b c. a c)'), ('(λx y. x)', '(λx y. y)')): ['(λc d. c)', '(λc d. c)', '(λb. (λe f. f))', '(λa b. a)', '(λa b. a)'] ``` \ No newline at end of file diff --git a/cache.pickle b/cache.pickle index 075907b..3ffa233 100644 Binary files a/cache.pickle and b/cache.pickle differ diff --git a/solve.py b/solve.py index 6b18f81..816340d 100644 --- a/solve.py +++ b/solve.py @@ -653,6 +653,7 @@ while True: level += 1 except: print("SOMETHING WENT HORRIBLY WRONG!") + print(f"CANNOT SOLVE {s=} {t=}") print(f"level {level}, cache hits: {cache_hits}") try: del cache[last_added_to_cache] -- cgit 1.4.1