Details

Time bar (total: 12.7s)

analyze1.9s (15.3%)

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)

sample6.6s (51.6%)

Results
4.1s4243×body2048valid
1.5s1957×body1024valid
532.0ms1013×body512valid
198.0ms522×body256valid
108.0ms521×body128valid
1.0msbody128invalid
Compiler

Compiled 47 to 32 computations (31.9% saved)

simplify79.0ms (0.6%)

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

prune5.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)

localize15.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series10.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
2 → 39
Calls

2 calls:

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

simplify120.0ms (0.9%)

Algorithm
egg-herbie
Rules
667×times-frac_binary64
628×fma-def_binary64
405×fma-neg_binary64
337×associate-/l*_binary64
292×associate-/r*_binary64
Counts
63 → 60
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01031379
12091264
25491261
314341259
445021259
550391259

prune100.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New57360
Fresh000
Picked101
Done000
Total58361
Error
0.4b
Counts
61 → 3
Alt Table
StatusErrorProgram
0.4b
(-.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
0.6b
(acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -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)))))
Compiler

Compiled 1307 to 946 computations (27.6% saved)

localize24.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))
0.0b
(-.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
0.5b
(asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

series10.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

6.0ms
(-.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
3.0ms
(asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

rewrite37.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt_binary64
46×*-un-lft-identity_binary64
44×add-cube-cbrt_binary64
39×prod-diff_binary64
37×times-frac_binary64
Counts
2 → 82
Calls

2 calls:

15.0ms
(-.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))
1.0ms
(asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))

simplify248.0ms (2%)

Algorithm
egg-herbie
Rules
907×fma-def_binary64
390×fma-neg_binary64
350×distribute-rgt-in_binary64
308×associate-/l*_binary64
289×distribute-lft-in_binary64
Counts
106 → 102
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01364123
12133340
25912574
317612574
445102556
548712556
648762556

prune449.0ms (3.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1454149
Fresh022
Picked101
Done000
Total1466152
Error
0.4b
Counts
152 → 6
Alt Table
StatusErrorProgram
61.9b
(/.f64 (-.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 (PI.f64) 2)) (*.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (+.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
0.6b
(acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))
1.9b
(-.f64 (/.f64 (PI.f64) 2) (*.f64 (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))
2.4b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 2)) (neg.f64 (asin.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)))))
2.7b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))))) (fma.f64 (neg.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))))
Compiler

Compiled 7149 to 5131 computations (28.2% saved)

localize18.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6)))
0.4b
(acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))

series12.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

7.0ms
(+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6)))
6.0ms
(acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
fma-def_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-log-exp_binary64
Counts
2 → 32
Calls

2 calls:

9.0ms
(+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6)))
1.0ms
(acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))

simplify90.0ms (0.7%)

Algorithm
egg-herbie
Rules
754×associate-+l+_binary64
349×cancel-sign-sub-inv_binary64
323×distribute-rgt-out_binary64
279×sub-neg_binary64
212×distribute-rgt-in_binary64
Counts
44 → 44
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
054735
1120659
2339659
31429656
44569656
55063656

prune123.0ms (1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New43144
Fresh055
Picked101
Done000
Total44650
Error
0.4b
Counts
50 → 6
Alt Table
StatusErrorProgram
61.9b
(/.f64 (-.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 (PI.f64) 2)) (*.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (+.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
1.9b
(-.f64 (/.f64 (PI.f64) 2) (*.f64 (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))
2.4b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 2)) (neg.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
0.6b
(expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -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)))))
2.7b
(+.f64 (fma.f64 (/.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 2)) (neg.f64 (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))))) (fma.f64 (neg.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (*.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))))
Compiler

Compiled 1544 to 1124 computations (27.2% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1)))
0.0b
(+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6)))
0.0b
(expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))
0.4b
(acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))

series1.4s (10.8%)

Counts
2 → 24
Calls

2 calls:

1.4s
(log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1)))
6.0ms
(expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))

rewrite3.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

1.0ms
(log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1)))
1.0ms
(expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))

simplify256.0ms (2%)

Algorithm
egg-herbie
Rules
594×sqr-pow_binary64
514×distribute-rgt-out_binary64
472×unswap-sqr_binary64
367×distribute-lft-out_binary64
356×fma-def_binary64
Counts
46 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0331100
1501011
2791011
31481011
43671011
511621011
621471011
722561011
826161011
931091011
1039361011
1141901011
1248561011
1349571011
1448241011

prune144.0ms (1.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh235
Picked011
Done000
Total76682
Error
0.4b
Counts
82 → 6
Alt Table
StatusErrorProgram
61.9b
(/.f64 (-.f64 (*.f64 (/.f64 (PI.f64) 2) (/.f64 (PI.f64) 2)) (*.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))) (+.f64 (/.f64 (PI.f64) 2) (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
3.2b
(expm1.f64 (*.f64 (*.f64 (cbrt.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1)))) (cbrt.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))) (cbrt.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))))
1.9b
(-.f64 (/.f64 (PI.f64) 2) (*.f64 (pow.f64 (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))) 2) (cbrt.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1))))))
2.1b
(*.f64 (*.f64 (cbrt.f64 (expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))) (cbrt.f64 (expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1)))))) (cbrt.f64 (expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))))
2.4b
(fma.f64 (/.f64 (*.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 (PI.f64))) (*.f64 (cbrt.f64 2) (cbrt.f64 2))) (/.f64 (cbrt.f64 (PI.f64)) (cbrt.f64 2)) (neg.f64 (asin.f64 (/.f64 (fma.f64 v (*.f64 v -5) 1) (fma.f64 v v -1)))))
0.6b
(expm1.f64 (log1p.f64 (acos.f64 (fma.f64 4 (+.f64 (pow.f64 v 4) (fma.f64 v v (pow.f64 v 6))) -1))))
Compiler

Compiled 2002 to 1516 computations (24.3% saved)

regimes684.0ms (5.4%)

Accuracy

Total 0.0b remaining (4.2%)

Threshold costs 0.0b (4.2%)

Counts
90 → 1
Compiler

Compiled 9605 to 7336 computations (23.6% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01628
12228
22528
32728
42828
52728

end371.0ms (2.9%)

Compiler

Compiled 277 to 211 computations (23.8% saved)

Profiling

Loading profile data...