Details

Time bar (total: 6.6s)

analyze1.2s (18.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
3%46.9%50%13
3.1%46.8%50%14
Compiler

Compiled 16 to 11 computations (31.3% saved)

sample4.0s (60%)

Results
2.4s4110×body2048valid
954.0ms2103×body1024valid
338.0ms1025×body512valid
117.0ms502×body256valid
68.0ms516×body128valid
1.0msbody128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify73.0ms (1.1%)

Algorithm
egg-herbie
Rules
686×div-sub_binary64
546×sub-neg_binary64
397×neg-mul-1_binary64
344×neg-sub0_binary64
311×associate-/r*_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01019
13119
27217
320317
453217
5134017
6271017
7374817
8464317
9498117

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
Compiler

Compiled 53 to 36 computations (32.1% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 v (*.f64 v -5) 1)
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

series4.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(fma.f64 v (*.f64 v -5) 1)
2.0ms
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 20
Calls

2 calls:

0.0ms
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
0.0ms
(fma.f64 v (*.f64 v -5) 1)

simplify68.0ms (1%)

Algorithm
egg-herbie
Rules
702×distribute-rgt-in_binary64
335×distribute-rgt-out_binary64
251×neg-mul-1_binary64
239×exp-prod_binary64
236×associate-*l*_binary64
Counts
44 → 30
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
042686
156616
293615
3272615
41239615
54506615
64933615

prune24.0ms (0.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New28230
Fresh000
Picked011
Done000
Total28331
Error
0.4b
Counts
31 → 3
Alt Table
StatusErrorProgram
1.4b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
2.0b
(*.f64 (*.f64 (cbrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
Compiler

Compiled 656 to 466 computations (29% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 v (*.f64 v -5) 1)
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
1.0b
(sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
1.0b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))

series9.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

7.0ms
(sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
2.0ms
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

5.0ms
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
1.0ms
(sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))

simplify123.0ms (1.9%)

Algorithm
egg-herbie
Rules
938×fma-def_binary64
446×unswap-sqr_binary64
308×sqr-pow_binary64
292×associate-+l+_binary64
259×associate-/l*_binary64
Counts
92 → 79
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0612100
1831942
21881864
33981738
47391738
513731738
626061724
746261724
851841724

prune133.0ms (2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1562158
Fresh101
Picked101
Done011
Total1583161
Error
0.4b
Counts
161 → 3
Alt Table
StatusErrorProgram
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
3.3b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))) (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))) (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))))
1.9b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))
Compiler

Compiled 5442 to 3937 computations (27.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))
1.0b
(sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))
1.0b
(sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
2.2b
(acos.f64 (/.f64 1 (fma.f64 v v -1)))

series18.0ms (0.3%)

Counts
3 → 12
Calls

3 calls:

13.0ms
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))
4.0ms
(sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))
2.0ms
(acos.f64 (/.f64 1 (fma.f64 v v -1)))

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt_binary64
13×sqrt-prod_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
3 → 58
Calls

3 calls:

5.0ms
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))
1.0ms
(sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))
1.0ms
(acos.f64 (/.f64 1 (fma.f64 v v -1)))

simplify148.0ms (2.2%)

Algorithm
egg-herbie
Rules
380×fma-def_binary64
359×unswap-sqr_binary64
354×log-div_binary64
273×associate-*l*_binary64
230×cube-div_binary64
Counts
70 → 76
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0742074
11071988
22291964
33011964
44571964
57791964
610611964
725971964
837221964
948381964
1049711964

prune84.0ms (1.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New94195
Fresh011
Picked011
Done011
Total94498
Error
0.4b
Counts
98 → 4
Alt Table
StatusErrorProgram
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
3.3b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))) (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))) (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))))
3.2b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))))
1.9b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))
Compiler

Compiled 3299 to 2459 computations (25.5% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
1.0b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))))
1.0b
(sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))
1.0b
(sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
2.2b
(acos.f64 (/.f64 1 (fma.f64 v v -1)))

series11.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

11.0ms
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64
10×pow1_binary64
associate-*l*_binary64
cbrt-unprod_binary64
add-cbrt-cube_binary64
Counts
1 → 26
Calls

1 calls:

13.0ms
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))))

simplify111.0ms (1.7%)

Algorithm
egg-herbie
Rules
627×fma-def_binary64
468×log-div_binary64
377×associate-*l*_binary64
346×associate-/l/_binary64
341×unswap-sqr_binary64
Counts
38 → 37
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0631396
11071284
22841252
36631252
49061239
514441239
617141239
729151239
843601239
953731239

prune154.0ms (2.3%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1352137
Fresh011
Picked101
Done022
Total1365141
Error
0.4b
Counts
141 → 5
Alt Table
StatusErrorProgram
0.5b
(acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))
3.3b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))) (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))) (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))))
1.9b
(*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))
4.0b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))))
3.2b
(expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 (acos.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))) (cbrt.f64 (sqrt.f64 (acos.f64 (/.f64 1 (fma.f64 v v -1)))))))))
Compiler

Compiled 7152 to 5514 computations (22.9% saved)

regimes196.0ms (3%)

Accuracy

Total 0.0b remaining (1.3%)

Threshold costs 0.0b (1.3%)

Counts
43 → 1
Compiler

Compiled 5614 to 4152 computations (26% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
distribute-lft-neg-in_binary64
distribute-rgt-neg-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01021
12221
22921
33621
44121
54421
64521
74221

end179.0ms (2.7%)

Compiler

Compiled 277 to 205 computations (26% saved)

Profiling

Loading profile data...