Details

Time bar (total: 4.4s)

sample30.0ms

Algorithm
intervals
Results
7.0ms280×body80nan
7.0ms270×body80valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0215
1514
2864
31264
41514
51694
61854
71874
81874

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.4b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.2b
(/ (* (fma (sqrt z) y x) 1.0) 2.0)

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
1.0ms
(fma (sqrt z) y x)
4.0ms
(/ (* (fma (sqrt z) y x) 1.0) 2.0)

series127.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(fma (sqrt z) y x)
66.0ms
(/ (* (fma (sqrt z) y x) 1.0) 2.0)

simplify101.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0191219
1691184
23882184
35001176

prune92.0ms

Filtered
39 candidates to 32 candidates (82.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New33639
Fresh000
Picked011
Done000
Total33740

Merged error: 0.3b

Counts
40 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.2b
(/ 1 (/ 2.0 (* (fma (sqrt z) y x) 1.0)))
0.3b
(/ 2.0 (* (fma (sqrt z) y x) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
29×add-exp-log
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-cbrt-cube
14×div-exp
associate-/r*
cbrt-undiv
div-inv associate-/l*
pow1 prod-exp
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
frac-2neg clear-num cbrt-unprod
pow-flip associate-/r/ fma-udef inv-pow
Counts
3 → 91
Calls
3 calls:
1.0ms
(fma (sqrt z) y x)
6.0ms
(/ 1 (/ 2.0 (* (fma (sqrt z) y x) 1.0)))
4.0ms
(/ 2.0 (* (fma (sqrt z) y x) 1.0))

series226.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(fma (sqrt z) y x)
66.0ms
(/ 1 (/ 2.0 (* (fma (sqrt z) y x) 1.0)))
102.0ms
(/ 2.0 (* (fma (sqrt z) y x) 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0350691
11582590
25001551

prune151.0ms

Filtered
100 candidates to 60 candidates (60.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New991100
Fresh235
Picked011
Done011
Total1016107

Merged error: 0.3b

Counts
107 → 6

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.4b
(/ (* (fma (sqrt z) y x) 1.0) (sqrt 2.0))
0.6b
(/ (/ (* (fma (sqrt z) y x) 1.0) (sqrt 2.0)) (sqrt 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
60×sqrt-prod
50×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log add-cbrt-cube
12×associate-/r*
11×associate-/l*
div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod
fma-udef associate-/l/
Counts
3 → 134
Calls
3 calls:
1.0ms
(fma (sqrt z) y x)
5.0ms
(/ (* (fma (sqrt z) y x) 1.0) (sqrt 2.0))
8.0ms
(/ (/ (* (fma (sqrt z) y x) 1.0) (sqrt 2.0)) (sqrt 2.0))

series519.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(fma (sqrt z) y x)
178.0ms
(/ (* (fma (sqrt z) y x) 1.0) (sqrt 2.0))
281.0ms
(/ (/ (* (fma (sqrt z) y x) 1.0) (sqrt 2.0)) (sqrt 2.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05621469
121561269
250021259

prune251.0ms

Filtered
143 candidates to 83 candidates (58.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1412143
Fresh213
Picked011
Done022
Total1436149

Merged error: 0.3b

Counts
149 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (sqrt z) y x)
0.2b
(/ (fma (sqrt z) y x) (sqrt (sqrt 2.0)))
0.5b
(* (/ (fma (sqrt z) y x) (sqrt (sqrt 2.0))) (/ (/ 1.0 (sqrt (sqrt 2.0))) (sqrt 2.0)))
1.0b
(/ 1.0 (sqrt (sqrt 2.0)))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
512×times-frac
421×sqrt-prod
399×add-sqr-sqrt
244×add-cube-cbrt *-un-lft-identity
190×associate-*r*
36×unswap-sqr
31×associate-*l*
29×add-exp-log add-cbrt-cube
18×associate-/r*
11×cbrt-undiv div-exp
10×div-inv
pow1 prod-exp cbrt-unprod associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 399
Calls
4 calls:
1.0ms
(fma (sqrt z) y x)
5.0ms
(/ (fma (sqrt z) y x) (sqrt (sqrt 2.0)))
118.0ms
(* (/ (fma (sqrt z) y x) (sqrt (sqrt 2.0))) (/ (/ 1.0 (sqrt (sqrt 2.0))) (sqrt 2.0)))
7.0ms
(/ 1.0 (sqrt (sqrt 2.0)))

series687.0ms

Counts
4 → 10
Calls
4 calls:
56.0ms
(fma (sqrt z) y x)
340.0ms
(/ (fma (sqrt z) y x) (sqrt (sqrt 2.0)))
290.0ms
(* (/ (fma (sqrt z) y x) (sqrt (sqrt 2.0))) (/ (/ 1.0 (sqrt (sqrt 2.0))) (sqrt 2.0)))
0.0ms
(/ 1.0 (sqrt (sqrt 2.0)))

simplify116.0ms

Algorithm
egg-herbie
Counts
409 → 409
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
016175604
150015151

prune844.0ms

Filtered
409 candidates to 200 candidates (48.9%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New4090409
Fresh022
Picked011
Done033
Total4096415

Merged error: 0.3b

Counts
415 → 6

regimes108.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample793.0ms

Algorithm
intervals
Results
233.0ms8520×body80valid
222.0ms8542×body80nan