Details

Time bar (total: 4.5s)

sample19.0ms

Algorithm
intervals
Results
7.0ms283×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1404
2694
31044
41464
51604
61604

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 4.5b

localize7.0ms

Local error

Found 2 expressions with local error:

1.9b
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)
4.7b
(/ (/ 1.0 x) (fma z z 1.0))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
468×times-frac
228×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
56×associate-/l*
22×div-inv
16×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r*
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 266
Calls
2 calls:
27.0ms
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)
11.0ms
(/ (/ 1.0 x) (fma z z 1.0))

series119.0ms

Counts
2 → 6
Calls
2 calls:
59.0ms
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)
60.0ms
(/ (/ 1.0 x) (fma z z 1.0))

simplify117.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011482808
146382733
250022733

prune784.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (/ 1.0 (sqrt (fma z z 1.0))) (* y (* (sqrt (fma z z 1.0)) x)))
1.9b
(* y (* (sqrt (fma z z 1.0)) x))
16.8b
(sqrt (fma z z 1.0))
16.8b
(sqrt (fma z z 1.0))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
58×times-frac
35×add-sqr-sqrt
33×add-cube-cbrt *-un-lft-identity
30×add-exp-log add-cbrt-cube
24×sqrt-prod
22×associate-/l*
11×pow1
cbrt-undiv div-exp prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l* pow-prod-down div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*r* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 120
Calls
4 calls:
28.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) (* y (* (sqrt (fma z z 1.0)) x)))
23.0ms
(* y (* (sqrt (fma z z 1.0)) x))
1.0ms
(sqrt (fma z z 1.0))
2.0ms
(sqrt (fma z z 1.0))

series225.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) (* y (* (sqrt (fma z z 1.0)) x)))
66.0ms
(* y (* (sqrt (fma z z 1.0)) x))
45.0ms
(sqrt (fma z z 1.0))
52.0ms
(sqrt (fma z z 1.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05671118
12247960
25001891

prune330.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 4.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1.0 (sqrt (fma z z 1.0))) y)
0.7b
(/ (/ (/ 1.0 (sqrt (fma z z 1.0))) y) (* (sqrt (fma z z 1.0)) x))
16.8b
(sqrt (fma z z 1.0))
16.8b
(sqrt (fma z z 1.0))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
448×times-frac
207×add-sqr-sqrt
205×add-cube-cbrt *-un-lft-identity
96×sqrt-prod
92×associate-/l*
30×add-exp-log add-cbrt-cube
15×cbrt-undiv div-exp
14×div-inv
pow1
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
prod-exp cbrt-unprod
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 304
Calls
4 calls:
14.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) y)
36.0ms
(/ (/ (/ 1.0 (sqrt (fma z z 1.0))) y) (* (sqrt (fma z z 1.0)) x))
1.0ms
(sqrt (fma z z 1.0))
2.0ms
(sqrt (fma z z 1.0))

series318.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) y)
60.0ms
(/ (/ (/ 1.0 (sqrt (fma z z 1.0))) y) (* (sqrt (fma z z 1.0)) x))
53.0ms
(sqrt (fma z z 1.0))
54.0ms
(sqrt (fma z z 1.0))

simplify117.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
011153443
146633199
250023178

prune827.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 4.1b

localize18.0ms

Local error

Found 4 expressions with local error:

16.8b
(sqrt (fma z z 1.0))
16.8b
(sqrt (fma z z 1.0))
16.8b
(sqrt (fma z z 1.0))
16.8b
(sqrt (fma z z 1.0))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log expm1-log1p-u rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
Counts
4 → 60
Calls
4 calls:
1.0ms
(sqrt (fma z z 1.0))
1.0ms
(sqrt (fma z z 1.0))
1.0ms
(sqrt (fma z z 1.0))
2.0ms
(sqrt (fma z z 1.0))

series377.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(sqrt (fma z z 1.0))
234.0ms
(sqrt (fma z z 1.0))
44.0ms
(sqrt (fma z z 1.0))
49.0ms
(sqrt (fma z z 1.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
097288
1292276
21287276
35001268

prune316.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 4.1b

regimes86.0ms

Accuracy

0% (1.2b remaining)

Error of 6.0b against oracle of 4.8b and baseline of 6.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118
1118

end0.0ms

sample487.0ms

Algorithm
intervals
Results
225.0ms8619×body80valid