Details

Time bar (total: 4.9s)

sample47.0ms

Algorithm
intervals
Results
34.0ms422×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.2b

localize10.0ms

Local error

Found 2 expressions with local error:

5.1b
(- (+ (* x x) (* y y)) (* z z))
26.3b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-exp-log add-cbrt-cube add-log-exp
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
fma-neg prod-diff difference-of-squares
pow1 cbrt-undiv expm1-log1p-u flip3-- diff-log div-exp flip-- log1p-expm1-u associate-/l/
sub-neg frac-2neg div-sub prod-exp associate--l+ clear-num associate-/r* sum-log cbrt-unprod div-inv
Counts
2 → 51
Calls
2 calls:
18.0ms
(- (+ (* x x) (* y y)) (* z z))
32.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series124.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(- (+ (* x x) (* y y)) (* z z))
79.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0299503
11242422
25001407

prune143.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 13.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
11.4b
(/ (pow x 2) y)
12.8b
(/ (pow z 2) y)

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
189×*-un-lft-identity
148×times-frac
138×add-sqr-sqrt
126×add-cube-cbrt
112×prod-diff
61×unpow-prod-down
30×distribute-lft-out
21×unpow2 sqr-pow
16×associate-/l*
13×add-exp-log
add-log-exp
add-cbrt-cube
div-exp associate-/r* div-inv
difference-of-squares
fma-neg
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 243
Calls
3 calls:
137.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow x 2) y)
4.0ms
(/ (pow z 2) y)

series74.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
18.0ms
(/ (pow x 2) y)
19.0ms
(/ (pow z 2) y)

simplify100.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
09574380
132313066
250022874

prune385.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.8b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
0.2b
(/ z (/ y z))
11.4b
(/ (pow x 2) y)

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
366×times-frac
342×*-un-lft-identity
256×add-sqr-sqrt
247×add-cube-cbrt
176×prod-diff
46×distribute-lft-out
22×div-inv
16×associate-/r*
13×add-exp-log
12×unpow-prod-down
11×associate-/l*
10×add-cbrt-cube
add-log-exp
div-exp
associate-/r/
cbrt-undiv fma-neg unpow2 sqr-pow
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
frac-2neg diff-log clear-num frac-sub distribute-lft-out--
pow-to-exp sub-neg flip3-- flip3-+ pow-exp associate--l+ sum-log flip-- flip-+
Counts
3 → 326
Calls
3 calls:
143.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
4.0ms
(/ z (/ y z))
6.0ms
(/ (pow x 2) y)

series82.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (+ y (/ (pow x 2) y)) (/ z (/ y z)))
19.0ms
(/ z (/ y z))
23.0ms
(/ (pow x 2) y)

simplify90.0ms

Algorithm
egg-herbie
Counts
335 → 335
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
014517615
150025575

prune550.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ z (/ y z)))
0.1b
(/ (pow x (/ 2 2)) (/ y x))
0.2b
(/ z (/ y z))

rewrite419.0ms

Algorithm
rewrite-expression-head
Rules
505×times-frac
409×*-un-lft-identity
323×add-sqr-sqrt
314×add-cube-cbrt
176×prod-diff
46×distribute-lft-out
42×unpow-prod-down
30×div-inv
26×associate-/r*
21×add-exp-log
14×sqr-pow
13×add-cbrt-cube
12×div-exp
10×associate-/l*
add-log-exp
cbrt-undiv associate-/r/
fma-neg
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 407
Calls
3 calls:
377.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ z (/ y z)))
7.0ms
(/ (pow x (/ 2 2)) (/ y x))
7.0ms
(/ z (/ y z))

series85.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- (+ y (/ (pow x (/ 2 2)) (/ y x))) (/ z (/ y z)))
20.0ms
(/ (pow x (/ 2 2)) (/ y x))
19.0ms
(/ z (/ y z))

simplify110.0ms

Algorithm
egg-herbie
Counts
416 → 416
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
018258670
150016755

prune844.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes70.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1189

end0.0ms

sample1.3s

Algorithm
intervals
Results
969.0ms13596×body80valid