Details

Time bar (total: 4.0s)

sample30.0ms

Algorithm
intervals
Results
16.0ms470×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.4b

localize14.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (fma x x (- (* y y) (* z z))) 2.0)
4.3b
(- (* y y) (* z z))
25.3b
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

rewrite19.0ms

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

series245.0ms

Counts
3 → 9
Calls
3 calls:
86.0ms
(/ (fma x x (- (* y y) (* z z))) 2.0)
41.0ms
(- (* y y) (* z z))
118.0ms
(/ (/ (fma x x (- (* y y) (* z z))) 2.0) y)

simplify64.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04811312
117981223
250011220

prune675.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 12.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
40×*-un-lft-identity
38×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1 expm1-log1p-u fma-def log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 119
Calls
3 calls:
10.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow x 2) y)
6.0ms
(/ (pow z 2) y)

series86.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ y (/ (pow x 2) y))
28.0ms
(/ (pow x 2) y)
23.0ms
(/ (pow z 2) y)

simplify50.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0338574
11172513
25001507

prune384.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.3b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
107×*-un-lft-identity
105×add-sqr-sqrt add-cube-cbrt
54×unpow-prod-down
21×add-exp-log
18×sqr-pow
16×associate-/r*
15×associate-/l*
12×div-exp
10×add-cbrt-cube div-inv
add-log-exp
cbrt-undiv unpow2
pow1 expm1-log1p-u pow-to-exp fma-def pow-exp log1p-expm1-u
frac-2neg clear-num
+-commutative flip3-+ sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 200
Calls
3 calls:
10.0ms
(+ y (/ (pow x 2) y))
9.0ms
(/ (pow z (/ 2 2)) (/ y z))
6.0ms
(/ (pow x 2) y)

series81.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ y (/ (pow x 2) y))
25.0ms
(/ (pow z (/ 2 2)) (/ y z))
23.0ms
(/ (pow x 2) y)

simplify128.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
07291281
134121093
250021089

prune514.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
101×add-sqr-sqrt
96×add-cube-cbrt *-un-lft-identity
42×unpow-prod-down
21×add-exp-log
14×sqr-pow
13×associate-*r* associate-/r* add-cbrt-cube
10×div-exp div-inv
associate-/l*
pow1 add-log-exp
cbrt-undiv
expm1-log1p-u fma-def associate-*l* log1p-expm1-u
pow-to-exp pow-exp prod-exp cbrt-unprod unswap-sqr
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log associate-/r/ *-commutative flip-+
Counts
3 → 182
Calls
3 calls:
3.0ms
(+ y (* x (/ x y)))
9.0ms
(/ (pow z (/ 2 2)) (/ y z))
8.0ms
(* x (/ x y))

series91.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ y (* x (/ x y)))
30.0ms
(/ (pow z (/ 2 2)) (/ y z))
25.0ms
(* x (/ x y))

simplify135.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
07431170
13745988
25002985

prune422.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

IterNodesCost
0229
1229

end0.0ms

sample761.0ms

Algorithm
intervals
Results
479.0ms13708×body80valid