|
1 | 1 | { |
2 | 2 | "duration": { |
3 | | - "secs": 1, |
4 | | - "nanos": 92233833 |
| 3 | + "secs": 0, |
| 4 | + "nanos": 674082791 |
5 | 5 | }, |
6 | 6 | "num_rules": 181, |
7 | | - "num_against": 81, |
| 7 | + "num_against": 38, |
8 | 8 | "can": [ |
9 | | - "(exp (+ ?x ?y)) ==> (* (exp ?x) (exp ?y))", |
10 | | - "(* (exp ?x) (exp ?y)) ==> (exp (+ ?x ?y))", |
11 | | - "(exp (* -1 ?x)) ==> (/ 1 (exp ?x))", |
12 | | - "(/ 1 (exp ?x)) ==> (exp (* -1 ?x))", |
13 | | - "(exp 0) ==> 1", |
14 | | - "1 ==> (exp 0)", |
15 | | - "(exp 1) ==> (* (exp 0) (exp 1))", |
16 | | - "(* (exp 0) (exp 1)) ==> (exp 1)", |
| 9 | + "(exp (- ?a ?b)) ==> (/ (exp ?a) (exp ?b))", |
| 10 | + "(/ (exp ?a) (exp ?b)) ==> (exp (- ?a ?b))", |
| 11 | + "(pow ?x (+ ?a ?b)) ==> (* (pow ?x ?a) (pow ?x ?b))", |
| 12 | + "(* (pow ?x ?a) (pow ?x ?b)) ==> (pow ?x (+ ?a ?b))", |
| 13 | + "(pow ?a (* ?b ?c)) ==> (pow (pow ?a ?b) ?c)", |
| 14 | + "(pow (pow ?a ?b) ?c) ==> (pow ?a (* ?b ?c))", |
| 15 | + "(pow ?a 0) ==> 1", |
| 16 | + "(pow 1 ?b) ==> 1", |
| 17 | + "(pow ?a 2) ==> (* ?a ?a)", |
| 18 | + "(* ?a ?a) ==> (pow ?a 2)", |
17 | 19 | "(log (exp ?x)) ==> ?x", |
18 | 20 | "?x ==> (log (exp ?x))", |
19 | 21 | "(exp (log ?x)) ==> ?x", |
20 | 22 | "?x ==> (exp (log ?x))", |
21 | | - "(log (pow ?x ?y)) ==> (* ?y (log ?x))", |
22 | | - "(* ?y (log ?x)) ==> (log (pow ?x ?y))", |
23 | | - "(log 1) ==> 0", |
24 | | - "0 ==> (log 1)", |
25 | | - "(pow ?x 0) ==> 1", |
26 | | - "(pow ?x 1) ==> ?x", |
27 | | - "?x ==> (pow ?x 1)", |
28 | | - "(pow ?x (+ ?y ?z)) ==> (* (pow ?x ?y) (pow ?x ?z))", |
29 | | - "(* (pow ?x ?y) (pow ?x ?z)) ==> (pow ?x (+ ?y ?z))", |
30 | | - "(pow ?x (* ?y ?z)) ==> (pow (pow ?x ?y) ?z)", |
31 | | - "(pow (pow ?x ?y) ?z) ==> (pow ?x (* ?y ?z))", |
| 23 | + "(exp (+ ?a ?b)) ==> (* (exp ?a) (exp ?b))", |
| 24 | + "(* (exp ?a) (exp ?b)) ==> (exp (+ ?a ?b))", |
32 | 25 | "(pow ?x ?y) ==> (exp (* ?y (log ?x)))", |
33 | 26 | "(exp (* ?y (log ?x))) ==> (pow ?x ?y)", |
34 | | - "(exp 1) ==> (exp 1)", |
35 | | - "(pow 1 ?x) ==> 1", |
36 | | - "(exp (log (abs ?x))) ==> (abs ?x)", |
37 | | - "(abs ?x) ==> (exp (log (abs ?x)))", |
38 | | - "(exp (- ?x)) ==> (/ 1 (exp ?x))", |
39 | | - "(/ 1 (exp ?x)) ==> (exp (- ?x))", |
40 | | - "(exp (* ?x (log ?y))) ==> (pow ?y ?x)", |
41 | | - "(pow ?y ?x) ==> (exp (* ?x (log ?y)))", |
42 | | - "(exp (* 2 (log ?x))) ==> (pow ?x 2)", |
43 | | - "(pow ?x 2) ==> (exp (* 2 (log ?x)))", |
44 | | - "(exp (* 3 (log ?x))) ==> (pow ?x 3)", |
45 | | - "(pow ?x 3) ==> (exp (* 3 (log ?x)))", |
46 | | - "(exp (+ 1 1)) ==> (pow (exp 1) 2)", |
47 | | - "(pow (exp 1) 2) ==> (exp (+ 1 1))", |
48 | | - "(log (exp 0)) ==> 0", |
49 | | - "0 ==> (log (exp 0))", |
50 | | - "(exp (log 1)) ==> 1", |
51 | | - "1 ==> (exp (log 1))", |
52 | | - "(log (pow 1 ?x)) ==> 0", |
53 | | - "(pow (abs ?x) ?y) ==> (exp (* ?y (log (abs ?x))))", |
54 | | - "(exp (* ?y (log (abs ?x)))) ==> (pow (abs ?x) ?y)", |
55 | | - "(log (exp (- ?x))) ==> (- ?x)", |
56 | | - "(- ?x) ==> (log (exp (- ?x)))", |
57 | | - "(log (pow ?x -1)) ==> (- (log ?x))", |
58 | | - "(- (log ?x)) ==> (log (pow ?x -1))", |
59 | | - "(exp (* -1 ?x)) ==> (exp (- ?x))", |
60 | | - "(exp (- ?x)) ==> (exp (* -1 ?x))", |
61 | | - "(pow ?x -2) ==> (/ 1 (pow ?x 2))", |
62 | | - "(/ 1 (pow ?x 2)) ==> (pow ?x -2)", |
63 | | - "(pow (* ?x ?y) ?z) ==> (* (pow ?x ?z) (pow ?y ?z))", |
64 | | - "(* (pow ?x ?z) (pow ?y ?z)) ==> (pow (* ?x ?y) ?z)" |
| 27 | + "(exp (* ?a ?b)) ==> (pow (exp ?a) ?b)", |
| 28 | + "(pow (exp ?a) ?b) ==> (exp (* ?a ?b))", |
| 29 | + "(log (pow ?a ?b)) ==> (* ?b (log ?a))", |
| 30 | + "(* ?b (log ?a)) ==> (log (pow ?a ?b))", |
| 31 | + "(pow ?x (* ?y ?z)) ==> (pow (pow ?x ?y) ?z)", |
| 32 | + "(pow (pow ?x ?y) ?z) ==> (pow ?x (* ?y ?z))" |
65 | 33 | ], |
66 | 34 | "cannot": [ |
67 | | - "(log (* ?x ?y)) ==> (+ (log ?x) (log ?y))", |
68 | | - "(+ (log ?x) (log ?y)) ==> (log (* ?x ?y))", |
69 | | - "(log (/ ?x ?y)) ==> (- (log ?x) (log ?y))", |
70 | | - "(- (log ?x) (log ?y)) ==> (log (/ ?x ?y))", |
71 | | - "(exp (log ?x)) ==> (exp (log (abs ?x)))", |
72 | | - "(exp (log (abs ?x))) ==> (exp (log ?x))", |
| 35 | + "(pow 0 ?y) ==> 0", |
| 36 | + "(pow ?x 3) ==> (* ?x (* ?x ?x))", |
| 37 | + "(* ?x (* ?x ?x)) ==> (pow ?x 3)", |
| 38 | + "(pow e ?x) ==> (exp ?x)", |
| 39 | + "(exp ?x) ==> (pow e ?x)", |
| 40 | + "(pow ?x (/ ?a ?b)) ==> (pow (pow ?x ?a) (/ 1 ?b))", |
| 41 | + "(pow (pow ?x ?a) (/ 1 ?b)) ==> (pow ?x (/ ?a ?b))", |
| 42 | + "(/ (pow ?a ?b) (pow ?a ?c)) ==> (pow ?a (- ?b ?c))", |
| 43 | + "(pow ?a (- ?b ?c)) ==> (/ (pow ?a ?b) (pow ?a ?c))", |
| 44 | + "(* (pow ?x ?a) (pow ?x ?b)) ==> (pow ?x (+ ?b ?b))", |
73 | 45 | "(pow ?x -1) ==> (/ 1 ?x)", |
74 | 46 | "(/ 1 ?x) ==> (pow ?x -1)", |
75 | | - "(log (/ 1 ?x)) ==> (- (log ?x))", |
76 | | - "(- (log ?x)) ==> (log (/ 1 ?x))", |
77 | | - "(log (* ?a ?b)) ==> (+ (log ?a) (log ?b))", |
78 | | - "(+ (log ?a) (log ?b)) ==> (log (* ?a ?b))", |
79 | | - "(log 0) ==> undefined", |
80 | | - "undefined ==> (log 0)", |
81 | | - "(exp undefined) ==> undefined", |
82 | | - "undefined ==> (exp undefined)", |
83 | | - "(log (abs ?x)) ==> (abs (log ?x))", |
84 | | - "(abs (log ?x)) ==> (log (abs ?x))", |
85 | | - "(pow 0 ?x) ==> 0", |
86 | | - "(pow 0 0) ==> undefined", |
87 | | - "undefined ==> (pow 0 0)", |
88 | | - "(pow ?x -3) ==> (/ 1 (pow ?x 3))", |
89 | | - "(/ 1 (pow ?x 3)) ==> (pow ?x -3)", |
90 | | - "(pow (/ ?x ?y) ?z) ==> (/ (pow ?x ?z) (pow ?y ?z))", |
91 | | - "(/ (pow ?x ?z) (pow ?y ?z)) ==> (pow (/ ?x ?y) ?z)" |
| 47 | + "(pow ?x (- ?y)) ==> (/ 1 (pow ?x ?y))", |
| 48 | + "(/ 1 (pow ?x ?y)) ==> (pow ?x (- ?y))" |
92 | 49 | ] |
93 | 50 | } |
0 commit comments