Details

Time bar (total: 4.0s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0368
11568
25398
324108
450018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.8b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.1b
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
21.6b
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
60×frac-times flip3-+ flip-+
31×add-exp-log add-cbrt-cube
30×associate-*l/
27×*-un-lft-identity
26×associate-/r/
18×associate-*r/
15×pow1
13×prod-exp cbrt-unprod
11×add-sqr-sqrt
associate-*r* distribute-lft-out
add-cube-cbrt
cbrt-undiv swap-sqr div-exp
associate-*l*
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in *-commutative unswap-sqr
pow2 frac-2neg times-frac pow-plus clear-num associate-/r* pow-sqr pow-prod-up div-inv associate-/l*
Counts
3 → 146
Calls
3 calls:
16.0ms
(* (+ x y) (+ x y))
59.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
36.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

series217.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(* (+ x y) (+ x y))
42.0ms
(* (* (+ x y) (+ x y)) (+ (+ x y) 1.0))
161.0ms
(/ (* x y) (* (* (+ x y) (+ x y)) (+ (+ x y) 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
09341519
150021370

prune315.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 8.6b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (+ (+ x y) 1.0))
0.0b
(* (+ x y) (+ x y))
0.1b
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
20.4b
(/ x (* (+ x y) (+ x y)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
80×*-un-lft-identity
43×add-sqr-sqrt
40×times-frac
34×add-exp-log add-cbrt-cube
31×add-cube-cbrt
27×distribute-lft-out
25×associate-*r*
20×flip3-+ associate-/r/ flip-+
19×associate-*l*
13×pow1 frac-times
10×cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r/ associate-*l/
swap-sqr associate-/r* associate-/l*
unswap-sqr
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
frac-2neg pow-prod-down clear-num *-commutative
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-sqr pow-prod-up
Counts
4 → 178
Calls
4 calls:
17.0ms
(/ y (+ (+ x y) 1.0))
18.0ms
(* (+ x y) (+ x y))
70.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
7.0ms
(/ x (* (+ x y) (+ x y)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ y (+ (+ x y) 1.0))
15.0ms
(* (+ x y) (+ x y))
165.0ms
(* (/ x (* (+ x y) (+ x y))) (/ y (+ (+ x y) 1.0)))
68.0ms
(/ x (* (+ x y) (+ x y)))

simplify104.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
06771321
137041174
250011163

prune357.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ 1 (+ x y))
0.0b
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
0.1b
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
99×add-exp-log
90×*-un-lft-identity
67×times-frac
61×add-cbrt-cube
59×add-sqr-sqrt
47×add-cube-cbrt
40×prod-exp
36×associate-*l*
33×div-exp
23×distribute-lft-out
22×associate-*r* cbrt-unprod
19×cbrt-undiv
12×pow1
10×associate-/r/
associate-/r*
frac-times rec-exp 1-exp associate-*r/ associate-/l*
flip3-+ flip-+ div-inv
expm1-log1p-u pow-prod-down associate-*l/ log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num *-commutative
pow-flip inv-pow
Counts
4 → 207
Calls
4 calls:
5.0ms
(/ x (+ x y))
5.0ms
(/ 1 (+ x y))
57.0ms
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
62.0ms
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

series371.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ x (+ x y))
33.0ms
(/ 1 (+ x y))
129.0ms
(* (/ x (+ x y)) (/ y (+ (+ x y) 1.0)))
163.0ms
(* (/ 1 (+ x y)) (* (/ x (+ x y)) (/ y (+ (+ x y) 1.0))))

simplify106.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08001674
146351401
250011401

prune382.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x y))
0.0b
(/ (* (/ x (+ x y)) y) (+ x y))
0.1b
(/ (/ (* (/ x (+ x y)) y) (+ x y)) (+ (+ x y) 1.0))
8.7b
(* (/ x (+ x y)) y)

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
132×*-un-lft-identity
103×times-frac
52×add-sqr-sqrt
48×distribute-lft-out
47×add-cube-cbrt
34×add-exp-log add-cbrt-cube
20×associate-/r/
18×associate-*l*
14×cbrt-undiv div-exp associate-/l*
13×associate-/r*
10×flip3-+ flip-+ div-inv
pow1 prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*r* clear-num
associate-*l/ associate-/l/ unswap-sqr
pow-prod-down *-commutative
Counts
4 → 192
Calls
4 calls:
6.0ms
(/ x (+ x y))
10.0ms
(/ (* (/ x (+ x y)) y) (+ x y))
33.0ms
(/ (/ (* (/ x (+ x y)) y) (+ x y)) (+ (+ x y) 1.0))
16.0ms
(* (/ x (+ x y)) y)

series348.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ x (+ x y))
84.0ms
(/ (* (/ x (+ x y)) y) (+ x y))
168.0ms
(/ (/ (* (/ x (+ x y)) y) (+ x y)) (+ (+ x y) 1.0))
57.0ms
(* (/ x (+ x y)) y)

simplify91.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06341666
134371538
250031538

prune376.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

regimes46.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

sample370.0ms

Algorithm
intervals
Results
235.0ms8000×body80valid