Details

Time bar (total: 3.8s)

analyze767.0ms (20.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
25%75%0%4
37.5%62.5%0%5
43.7%56.2%0%6
46.9%53.1%0%7
46.9%53.1%0%8
46.9%53.1%0%9
47.2%52.7%0%10
47.2%52.7%0%11
47.3%52.7%0%12
47.3%52.7%0%13
47.3%52.6%0%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample2.0s (52.1%)

Results
985.0ms2178×body2048valid
432.0ms4233×body128valid
354.0ms1047×body1024valid
134.0ms531×body512valid
46.0ms267×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
14×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11211
21611
32311
43011
54711
67211
79211
810911
911911
1012311
1112511
1211111

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
15.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
15.3b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 24 to 18 computations (25% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(atan.f64 (+.f64 N 1))
0.8b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series4.0ms (0.1%)

Counts
2 → 0
Calls

2 calls:

2.0ms
(atan.f64 (+.f64 N 1))
2.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
2 → 40
Calls

2 calls:

3.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
1.0ms
(atan.f64 (+.f64 N 1))

simplify71.0ms (1.9%)

Algorithm
egg-herbie
Rules
719×fma-def_binary64
392×unsub-neg_binary64
319×distribute-rgt-in_binary64
308×unswap-sqr_binary64
275×times-frac_binary64
Counts
40 → 48
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
072836
1128555
2354501
31262498
42924498
54651491
64824491

prune39.0ms (1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New46248
Fresh000
Picked101
Done000
Total47249
Error
0.4b
Counts
49 → 2
Alt Table
StatusErrorProgram
15.2b
(/.f64 (-.f64 (pow.f64 (atan.f64 (+.f64 N 1)) 3) (pow.f64 (atan.f64 N) 3)) (fma.f64 (atan.f64 (+.f64 N 1)) (+.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N)) (*.f64 (atan.f64 N) (atan.f64 N))))
0.4b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
Compiler

Compiled 968 to 539 computations (44.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (fma.f64 N N N))
0.4b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

series4.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

2.0ms
(+.f64 1 (fma.f64 N N N))
2.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

rewrite4.0ms (0.1%)

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

2 calls:

2.0ms
(+.f64 1 (fma.f64 N N N))
0.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

simplify71.0ms (1.9%)

Algorithm
egg-herbie
Rules
832×sub-neg_binary64
634×distribute-rgt-in_binary64
538×distribute-lft-in_binary64
319×associate-*l*_binary64
301×associate-*r*_binary64
Counts
39 → 53
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046435
198377
2243377
3899377
42950377
54669377
65438377

prune50.0ms (1.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New47653
Fresh101
Picked101
Done000
Total49655
Error
0.4b
Counts
55 → 6
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
1.6b
(*.f64 (*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
10.0b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))
1.8b
(exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
10.2b
(atan2.f64 1 (cbrt.f64 (pow.f64 (+.f64 N (fma.f64 N N 1)) 3)))
Compiler

Compiled 870 to 538 computations (38.2% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 N (fma.f64 N N 1))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

series4.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

2.0ms
(+.f64 N (fma.f64 N N 1))
2.0ms
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

rewrite4.0ms (0.1%)

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

2 calls:

2.0ms
(+.f64 N (fma.f64 N N 1))
0.0ms
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))

simplify79.0ms (2.1%)

Algorithm
egg-herbie
Rules
360×associate--r+_binary64
356×associate-*l*_binary64
276×associate-+l-_binary64
256×associate-*r*_binary64
239×associate--l+_binary64
Counts
39 → 41
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
045435
1103389
2264386
3994386
42167381
54689381
64925381
74923381

prune35.0ms (0.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh145
Picked011
Done000
Total41647
Error
0.4b
Counts
47 → 6
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
1.6b
(*.f64 (*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
10.0b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))
1.8b
(exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
25.9b
(atan2.f64 1 (/.f64 (-.f64 -1 (*.f64 N (+.f64 N (pow.f64 N 3)))) (-.f64 N (fma.f64 N N 1))))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
Compiler

Compiled 707 to 467 computations (33.9% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (fma.f64 N N N))
0.4b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
16.7b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))

series6.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

4.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))
2.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))

rewrite11.0ms (0.3%)

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 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))

simplify116.0ms (3%)

Algorithm
egg-herbie
Rules
498×log-prod_binary64
465×*-commutative_binary64
441×unswap-sqr_binary64
425×log-div_binary64
306×sqr-pow_binary64
Counts
80 → 75
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
0521385
1751281
21811233
33891149
47201054
513241054
625191040
742851040
849941040
948351040

prune190.0ms (5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1943197
Fresh134
Picked101
Done011
Total1967203
Error
0.4b
Counts
203 → 7
Alt Table
StatusErrorProgram
1.8b
(exp.f64 (log.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (*.f64 (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))
25.9b
(atan2.f64 1 (/.f64 (-.f64 -1 (*.f64 N (+.f64 N (pow.f64 N 3)))) (-.f64 N (fma.f64 N N 1))))
6.8b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (pow.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 3)))
10.0b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 N (fma.f64 N N 1))) 3))
1.6b
(*.f64 (pow.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) 2) (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
0.4b
(atan2.f64 1 (+.f64 N (fma.f64 N N 1)))
Compiler

Compiled 4903 to 3041 computations (38% saved)

regimes210.0ms (5.5%)

Accuracy

Total 0.0b remaining (10.4%)

Threshold costs 0.0b (10.4%)

Counts
108 → 1
Compiler

Compiled 4329 to 2921 computations (32.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
1911
2811

end111.0ms (2.9%)

Compiler

Compiled 146 to 100 computations (31.5% saved)

Profiling

Loading profile data...