Details

Time bar (total: 4.0s)

sample43.0ms

Algorithm
intervals
Results
29.0ms487×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x x (- (* y y) (* z z)))
4.9b
(- (* y y) (* z z))
28.0b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite12.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)

series167.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04661096
118811029
250011026

prune327.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 12.6b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
7.8b
(/ (pow x 2) y)
11.2b
(/ (pow z 2) y)

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

series80.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
09574380
132313066
250022874

prune393.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.4b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
34×*-un-lft-identity times-frac
30×add-cube-cbrt
13×add-exp-log associate-*r*
12×unpow-prod-down
10×add-cbrt-cube
associate-/l* add-log-exp
pow1
fma-neg div-exp prod-diff unpow2 sqr-pow
expm1-log1p-u associate-*r/ associate-*l* associate-/r* log1p-expm1-u
cbrt-undiv diff-log prod-exp frac-sub cbrt-unprod div-inv distribute-lft-out unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg flip3-+ pow-prod-down pow-exp associate--l+ clear-num sum-log *-commutative flip-- flip-+
Counts
3 → 111
Calls
3 calls:
128.0ms
(- (+ y (/ (pow x 2) y)) (* (fabs z) (/ (fabs z) y)))
7.0ms
(* (fabs z) (/ (fabs z) y))
4.0ms
(/ (pow x 2) y)

series94.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0452821
11890722
25001710

prune332.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
60×add-sqr-sqrt
59×*-un-lft-identity
55×add-cube-cbrt
13×add-exp-log associate-*r* associate-/r* add-cbrt-cube
add-log-exp
div-inv
pow1
cbrt-undiv fma-neg div-exp prod-diff
expm1-log1p-u associate-*r/ associate-*l* log1p-expm1-u associate-/l*
diff-log prod-exp frac-sub cbrt-unprod distribute-lft-out unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ pow-prod-down associate--l+ clear-num sum-log associate-/r/ *-commutative flip-- flip-+
Counts
3 → 132
Calls
3 calls:
188.0ms
(- (+ y (/ x (/ y x))) (* (fabs z) (/ (fabs z) y)))
5.0ms
(/ x (/ y x))
7.0ms
(* (fabs z) (/ (fabs z) y))

series82.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (+ y (/ x (/ y x))) (* (fabs z) (/ (fabs z) y)))
18.0ms
(/ x (/ y x))
19.0ms
(* (fabs z) (/ (fabs z) y))

simplify80.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06221033
13053919
25002901

prune352.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes74.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
01910
11910

end0.0ms

sample1.1s

Algorithm
intervals
Results
844.0ms13676×body80valid