Details

Time bar (total: 3.6s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
14×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube
flip3-- associate-/r/ flip-- associate-/l/
pow1 cbrt-undiv expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
22.0ms
(/ (- x y) (- 2.0 (+ x y)))

series49.0ms

Counts
1 → 3
Calls
1 calls:
49.0ms
(/ (- x y) (- 2.0 (+ x y)))

simplify134.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune119.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
0.0b
(/ (- x y) (- 2.0 (+ x y)))
0.4b
(expm1 (/ (- x y) (- 2.0 (+ x y))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
42×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
16×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv log1p-udef expm1-log1p frac-2neg div-sub log1p-expm1 div-exp clear-num div-inv expm1-udef
Counts
3 → 82
Calls
3 calls:
0.0ms
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
24.0ms
(/ (- x y) (- 2.0 (+ x y)))
0.0ms
(expm1 (/ (- x y) (- 2.0 (+ x y))))

series255.0ms

Counts
3 → 9
Calls
3 calls:
102.0ms
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
48.0ms
(/ (- x y) (- 2.0 (+ x y)))
104.0ms
(expm1 (/ (- x y) (- 2.0 (+ x y))))

simplify150.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0338687
11017638
24745631
35001631

prune204.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
0.0b
(/ (- x y) (- 2.0 (+ x y)))
3.2b
(log1p (/ (- x y) (- 2.0 (+ x y))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
42×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
16×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
expm1-log1p-u
pow1 log1p-expm1-u add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv log1p-udef expm1-log1p frac-2neg div-sub log1p-expm1 div-exp clear-num div-inv expm1-udef
Counts
3 → 82
Calls
3 calls:
0.0ms
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
22.0ms
(/ (- x y) (- 2.0 (+ x y)))
0.0ms
(log1p (/ (- x y) (- 2.0 (+ x y))))

series336.0ms

Counts
3 → 9
Calls
3 calls:
166.0ms
(expm1 (log1p (/ (- x y) (- 2.0 (+ x y)))))
49.0ms
(/ (- x y) (- 2.0 (+ x y)))
121.0ms
(log1p (/ (- x y) (- 2.0 (+ x y))))

simplify50.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0435735
11330686
25001677

prune219.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (/ (- x y) (- 2.0 (+ x y))))
0.1b
(cbrt (/ (- x y) (- 2.0 (+ x y))))
0.2b
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
3.2b
(log1p (* (* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y))))) (cbrt (/ (- x y) (- 2.0 (+ x y))))))

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
602×*-un-lft-identity
336×cbrt-prod
294×times-frac
284×add-sqr-sqrt
196×distribute-lft-out--
96×add-cube-cbrt
93×swap-sqr
82×difference-of-squares
62×distribute-lft-out
39×associate-*r* associate-*l*
12×associate-/r/
11×pow1
unswap-sqr
pow1/3
add-exp-log cbrt-div flip3-- flip-- div-inv
expm1-log1p-u
add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times log1p-udef pow-plus log1p-expm1 associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 308
Calls
4 calls:
11.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
10.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
113.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
0.0ms
(log1p (* (* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y))))) (cbrt (/ (- x y) (- 2.0 (+ x y))))))

series589.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
169.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
127.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
121.0ms
(log1p (* (* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y))))) (cbrt (/ (- x y) (- 2.0 (+ x y))))))

simplify105.0ms

Algorithm
egg-herbie
Counts
320 → 320
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06024876
119164731
250024334

prune744.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes48.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106
1106

end0.0ms

sample306.0ms

Algorithm
intervals
Results
177.0ms8000×body80valid