Details

Time bar (total: 4.3s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.9s (43.4%)

Results
884.0ms2109×body2048valid
423.0ms4274×body128valid
347.0ms1056×body1024valid
127.0ms524×body512valid
52.0ms293×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify10.0ms (0.2%)

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
17.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
17.2b
(-.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))
1.9b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

series3.0ms (0.1%)

Counts
2 → 0
Calls

2 calls:

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

rewrite7.0ms (0.2%)

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))
2.0ms
(atan.f64 (+.f64 N 1))

simplify73.0ms (1.7%)

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

prune36.0ms (0.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New47148
Fresh000
Picked101
Done000
Total48149
Error
0.5b
Counts
49 → 1
Alt Table
StatusErrorProgram
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
Compiler

Compiled 908 to 499 computations (45% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))

series2.0ms (0%)

Counts
1 → 0
Calls

1 calls:

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

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
1 → 9
Calls

1 calls:

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

simplify133.0ms (3.1%)

Algorithm
egg-herbie
Rules
1333×sqr-pow_binary64
715×pow-sqr_binary64
529×cube-prod_binary64
481×fabs-mul_binary64
362×unswap-sqr_binary64
Counts
9 → 10
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
015156
121133
229133
341133
454133
561133
693133
7157133
8335133
9641133
10645133
11775133
12929133
131097133
141326133
151627133
161975133
172450133
183068133
193264133
203438133
213552133
223599133
233651133
244529133
254833133

prune9.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New8210
Fresh000
Picked011
Done000
Total8311
Error
0.5b
Counts
11 → 3
Alt Table
StatusErrorProgram
11.2b
(cbrt.f64 (*.f64 (*.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
1.1b
(*.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)))))
Compiler

Compiled 252 to 154 computations (38.9% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.5b
(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)))))
14.7b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))

series5.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

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

simplify109.0ms (2.5%)

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

prune107.0ms (2.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1083111
Fresh011
Picked011
Done011
Total1086114
Error
0.4b
Counts
114 → 6
Alt Table
StatusErrorProgram
5.1b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (*.f64 (*.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))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))
11.2b
(cbrt.f64 (*.f64 (*.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
1.9b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (*.f64 (cbrt.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.7b
(*.f64 (*.f64 (sqrt.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)))))) (sqrt.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))))))) (*.f64 (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))
1.1b
(*.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)))))
Compiler

Compiled 3140 to 1955 computations (37.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
0.7b
(*.f64 (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))
6.9b
(sqrt.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))))))
15.2b
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))

series1.0s (24.1%)

Counts
3 → 36
Calls

3 calls:

347.0ms
(sqrt.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))))))
346.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))
345.0ms
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64
39×sqrt-prod_binary64
27×cbrt-prod_binary64
26×pow1_binary64
23×sqrt-pow1_binary64
Counts
3 → 108
Calls

3 calls:

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

simplify132.0ms (3.1%)

Algorithm
egg-herbie
Rules
497×unswap-sqr_binary64
465×log-prod_binary64
414×associate-+l+_binary64
398×distribute-rgt-in_binary64
368×distribute-lft-in_binary64
Counts
144 → 105
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0932394
11172226
23062177
37352016
413972010
545622010
649462010
749352010

prune434.0ms (10.1%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2681269
Fresh033
Picked011
Done022
Total2687275
Error
0.4b
Counts
275 → 7
Alt Table
StatusErrorProgram
5.1b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (cbrt.f64 (*.f64 (*.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))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))
11.2b
(cbrt.f64 (*.f64 (*.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
2.2b
(*.f64 (*.f64 (sqrt.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)))))) (sqrt.f64 (*.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))) (exp.f64 (log.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))))))) (*.f64 (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))
1.9b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (cbrt.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))) (*.f64 (cbrt.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.7b
(*.f64 (*.f64 (sqrt.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)))))) (sqrt.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))))))) (*.f64 (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))) (sqrt.f64 (cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))))
1.1b
(*.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)))))
Compiler

Compiled 19299 to 12175 computations (36.9% saved)

regimes99.0ms (2.3%)

Accuracy

Total 0.0b remaining (9.7%)

Threshold costs 0.0b (9.7%)

Counts
45 → 1
Compiler

Compiled 3034 to 1998 computations (34.1% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
1911
2811

end171.0ms (4%)

Compiler

Compiled 289 to 186 computations (35.6% saved)

Profiling

Loading profile data...