Details

Time bar (total: 3.7s)

sample30.0ms

Algorithm
intervals
Results
15.0ms449×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.5b

localize16.0ms

Local error

Found 3 expressions with local error:

0.3b
(fma x x (- (* y y) (* z z)))
5.7b
(- (* y y) (* z z))
30.2b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-/l*
add-exp-log add-cbrt-cube
div-inv add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u
sub-neg flip3-- frac-2neg fma-neg diff-log prod-diff clear-num flip-- fma-udef associate-/l/ difference-of-squares
Counts
3 → 99
Calls
3 calls:
0.0ms
(fma x x (- (* y y) (* z z)))
3.0ms
(- (* y y) (* z z))
6.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

series200.0ms

Counts
3 → 9
Calls
3 calls:
59.0ms
(fma x x (- (* y y) (* z z)))
34.0ms
(- (* y y) (* z z))
107.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify62.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04661096
118811029
250011026

prune374.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 14.7b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
10.2b
(/ (pow x 2) y)
10.3b
(/ (pow z 2) y)

rewrite184.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:
159.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series90.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09574380
132313066
250022874

prune475.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
119×add-sqr-sqrt
110×times-frac
104×*-un-lft-identity
102×add-cube-cbrt
84×prod-diff
40×unpow-prod-down
14×unpow2 sqr-pow
13×add-exp-log associate-*r*
10×add-cbrt-cube
associate-/l* add-log-exp
pow1 div-inv difference-of-squares
div-exp
expm1-log1p-u fma-neg associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv diff-log prod-exp frac-sub cbrt-unprod unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg flip3-+ associate-*r/ pow-prod-down pow-exp associate--l+ clear-num sum-log *-commutative flip-- flip-+ distribute-lft-out--
Counts
3 → 196
Calls
3 calls:
29.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
12.0ms
(* x (/ x y))
5.0ms
(/ (pow z 2) y)

series95.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
27.0ms
(* x (/ x y))
22.0ms
(/ (pow z 2) y)

simplify127.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
09853474
136142386
250022238

prune418.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
26×associate-*r*
21×add-cube-cbrt *-un-lft-identity
20×times-frac
13×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u fma-neg prod-diff log1p-expm1-u
cbrt-undiv diff-log div-exp pow-prod-down *-commutative frac-sub div-inv
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 92
Calls
3 calls:
15.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
8.0ms
(* x (/ x y))
8.0ms
(* z (/ z y))

series94.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
21.0ms
(* x (/ x y))
26.0ms
(* z (/ z y))

simplify77.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
0462544
12217475
25001468

prune269.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes106.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample779.0ms

Algorithm
intervals
Results
480.0ms13909×body80valid