Details

Time bar (total: 3.4s)

sample23.0ms

Algorithm
intervals
Results
15.0ms256×body80valid

simplify31.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:
25.0ms
(/ (- x y) (- 2.0 (+ x y)))

series57.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune127.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.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.3b
(expm1 (/ (- x y) (- 2.0 (+ x y))))

rewrite32.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)))))
27.0ms
(/ (- x y) (- 2.0 (+ x y)))
1.0ms
(expm1 (/ (- x y) (- 2.0 (+ x y))))

series277.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
52.0ms
(/ (- x y) (- 2.0 (+ x y)))
112.0ms
(expm1 (/ (- x y) (- 2.0 (+ x y))))

simplify162.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0338687
11017638
24745631
35001631

prune226.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (- 2.0 (+ x y)))
0.0b
(log1p (expm1 (* (- x y) (/ 1 (- 2.0 (+ x y))))))
0.1b
(* (- x y) (/ 1 (- 2.0 (+ x y))))
0.3b
(expm1 (* (- x y) (/ 1 (- 2.0 (+ x y)))))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
49×add-sqr-sqrt
38×times-frac
26×add-cube-cbrt
24×associate-*r*
17×add-exp-log
15×distribute-lft-out--
11×add-cbrt-cube
difference-of-squares
pow1 distribute-lft-out
associate-/r*
associate-*l* log1p-expm1-u
expm1-log1p-u flip3-- div-exp prod-exp associate-/r/ flip-- add-log-exp
associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv
log1p-udef expm1-log1p pow-flip frac-2neg log1p-expm1 associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow expm1-udef
Counts
4 → 124
Calls
4 calls:
18.0ms
(/ 1 (- 2.0 (+ x y)))
0.0ms
(log1p (expm1 (* (- x y) (/ 1 (- 2.0 (+ x y))))))
52.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))
0.0ms
(expm1 (* (- x y) (/ 1 (- 2.0 (+ x y)))))

series317.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (- 2.0 (+ x y)))
112.0ms
(log1p (expm1 (* (- x y) (/ 1 (- 2.0 (+ x y))))))
55.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))
111.0ms
(expm1 (* (- x y) (/ 1 (- 2.0 (+ x y)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0432877
11844764
25001711

prune307.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))
0.1b
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
6.2b
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
258×*-un-lft-identity
180×add-sqr-sqrt
150×times-frac
83×distribute-lft-out--
78×cbrt-prod
72×unpow-prod-down cube-prod
66×add-cube-cbrt
57×difference-of-squares
26×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-- associate-/r* flip--
div-inv associate-/l*
pow1
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 div-sub clear-num rem-cbrt-cube
Counts
3 → 244
Calls
3 calls:
24.0ms
(/ (- x y) (- 2.0 (+ x y)))
26.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
32.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

series203.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(/ (- x y) (- 2.0 (+ x y)))
94.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
54.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

simplify112.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07372362
131602232
250022206

prune383.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes53.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 (1.0ms)

IterNodesCost
0106
1106

end0.0ms

sample595.0ms

Algorithm
intervals
Results
457.0ms8000×body80valid