Details

Time bar (total: 4.1s)

sample33.0ms

Algorithm
intervals
Results
17.0ms280×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0215
1404
2694
31044
41464
51604
61604

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 3.8b

localize6.0ms

Local error

Found 2 expressions with local error:

3.1b
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)
3.8b
(/ (/ 1.0 x) (fma z z 1.0))

rewrite36.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:
14.0ms
(/ (/ (/ 1.0 x) (fma z z 1.0)) y)
6.0ms
(/ (/ 1.0 x) (fma z z 1.0))

series132.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
011482808
146382733
250022733

prune829.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

localize9.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ (/ 1.0 (sqrt (fma z z 1.0))) (* y (* (sqrt (fma z z 1.0)) x)))
3.3b
(* y (* (sqrt (fma z z 1.0)) x))
13.6b
(sqrt (fma z z 1.0))
13.6b
(sqrt (fma z z 1.0))

rewrite28.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:
14.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) (* y (* (sqrt (fma z z 1.0)) x)))
8.0ms
(* y (* (sqrt (fma z z 1.0)) x))
1.0ms
(sqrt (fma z z 1.0))
1.0ms
(sqrt (fma z z 1.0))

series242.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) (* y (* (sqrt (fma z z 1.0)) x)))
62.0ms
(* y (* (sqrt (fma z z 1.0)) x))
55.0ms
(sqrt (fma z z 1.0))
55.0ms
(sqrt (fma z z 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05671118
12247960
25001891

prune338.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 3.6b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1.0 (sqrt (fma z z 1.0))) y)
1.2b
(/ (/ (/ 1.0 (sqrt (fma z z 1.0))) y) (* (sqrt (fma z z 1.0)) x))
13.6b
(sqrt (fma z z 1.0))
13.6b
(sqrt (fma z z 1.0))

rewrite53.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:
8.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) y)
21.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))
1.0ms
(sqrt (fma z z 1.0))

series340.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(/ (/ 1.0 (sqrt (fma z z 1.0))) y)
69.0ms
(/ (/ (/ 1.0 (sqrt (fma z z 1.0))) y) (* (sqrt (fma z z 1.0)) x))
56.0ms
(sqrt (fma z z 1.0))
50.0ms
(sqrt (fma z z 1.0))

simplify111.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
011153443
146633199
250023178

prune811.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 3.6b

localize6.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 1.0 (* (fma z z 1.0) x))
3.1b
(/ (/ 1.0 (* (fma z z 1.0) x)) y)
3.8b
(* (fma z z 1.0) x)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
25×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
10×associate-/l*
cbrt-undiv div-exp
div-inv
pow1
associate-/r*
expm1-log1p-u associate-*r* associate-*l* prod-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
3 → 93
Calls
3 calls:
3.0ms
(/ 1.0 (* (fma z z 1.0) x))
6.0ms
(/ (/ 1.0 (* (fma z z 1.0) x)) y)
3.0ms
(* (fma z z 1.0) x)

series169.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(/ 1.0 (* (fma z z 1.0) x))
66.0ms
(/ (/ 1.0 (* (fma z z 1.0) x)) y)
46.0ms
(* (fma z z 1.0) x)

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0414626
11769553
25001552

prune218.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 3.6b

regimes110.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0118
1118

end0.0ms

sample398.0ms

Algorithm
intervals
Results
233.0ms8642×body80valid