Details

Time bar (total: 2.7s)

analyze21.0ms (0.8%)

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

Compiled 9 to 7 computations (22.2% saved)

sample43.0ms (1.6%)

Algorithm
intervals
Results
19.0ms58×body2048valid
6.0ms36×body1024valid
6.0ms135×body128valid
5.0ms20×body512valid
1.0msbody256valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

simplify19.0ms (0.7%)

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 → 0
Iterations

Useful iterations: 0 (0.0ms)

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

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done000
Total011
Error
17.2b
Counts
1 → 1
Alt Table
StatusErrorProgram
17.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 16 to 12 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(atan.f64 (+.f64 N 1))
1.4b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite43.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
15.6b
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))
Compiler

Compiled 746 to 394 computations (47.2% saved)

series8.0ms (0.3%)

Error
17.2b
Counts
2 → 6
Calls

2 calls:

5.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
3.0ms
(atan.f64 (+.f64 N 1))
Compiler

Compiled 104 to 78 computations (25% saved)

simplify93.0ms (3.4%)

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
46 → 20
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
072667
1128606
2354552
31262549
42924549
54651542
64824542

prune12.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New19120
Fresh000
Picked011
Done000
Total19221
Error
0.5b
Counts
21 → 2
Alt Table
StatusErrorProgram
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
17.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 166 to 110 computations (33.7% saved)

localize8.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

rewrite71.0ms (2.6%)

Algorithm
rewrite-expression-head
Error
0.4b
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:

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

Compiled 378 to 215 computations (43.1% saved)

series31.0ms (1.1%)

Error
0.5b
Counts
2 → 12
Calls

2 calls:

17.0ms
(+.f64 1 (fma.f64 N N N))
6.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
Compiler

Compiled 190 to 144 computations (24.2% saved)

simplify126.0ms (4.6%)

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 → 16
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046438
198386
2241386
3899386
42950386
54669386
65438386

prune23.0ms (0.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New14216
Fresh000
Picked011
Done011
Total14418
Error
0.5b
Counts
18 → 4
Alt Table
StatusErrorProgram
11.1b
(atan2.f64 1 (cbrt.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 3)))
10.9b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
17.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 192 to 118 computations (38.5% saved)

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1 (fma.f64 N N N))
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
0.6b
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)
10.8b
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))

rewrite178.0ms (6.5%)

Algorithm
rewrite-expression-head
Error
0.4b
Rules
13×*-un-lft-identity_binary64
12×cbrt-prod_binary64
11×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
cube-prod_binary64
Counts
4 → 75
Calls

4 calls:

5.0ms
(+.f64 1 (fma.f64 N N N))
3.0ms
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))
3.0ms
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)
1.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
Compiler

Compiled 1236 to 813 computations (34.2% saved)

series63.0ms (2.3%)

Error
0.5b
Counts
4 → 18
Calls

4 calls:

20.0ms
(+.f64 1 (fma.f64 N N N))
19.0ms
(pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3)
8.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
7.0ms
(cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 3))
Compiler

Compiled 396 to 310 computations (21.7% saved)

simplify216.0ms (7.9%)

Algorithm
egg-herbie
Rules
894×fma-neg_binary64
354×associate-*l*_binary64
348×log-prod_binary64
338×exp-prod_binary64
282×associate-*r*_binary64
Counts
93 → 53
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0861440
11601278
24531262
319651262
437211259
549071259
649931259
749231259

prune49.0ms (1.8%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New51253
Fresh011
Picked101
Done022
Total52557
Error
0.5b
Counts
57 → 5
Alt Table
StatusErrorProgram
11.1b
(atan2.f64 1 (cbrt.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 3)))
10.9b
(cbrt.f64 (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
1.8b
(*.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.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
17.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 525 to 341 computations (35% saved)

localize15.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
0.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
13.3b
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))
13.3b
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))

rewrite52.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
0.5b
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
cbrt-prod_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
4 → 44
Calls

4 calls:

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

Compiled 1179 to 756 computations (35.9% saved)

series65.0ms (2.4%)

Error
0.5b
Counts
4 → 12
Calls

4 calls:

31.0ms
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))
22.0ms
(cbrt.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))))
5.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
5.0ms
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
Compiler

Compiled 606 to 415 computations (31.5% saved)

simplify136.0ms (5%)

Algorithm
egg-herbie
Rules
552×associate-*l*_binary64
370×distribute-rgt-in_binary64
364×*-commutative_binary64
343×distribute-lft-in_binary64
297×associate-/l*_binary64
Counts
56 → 20
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
028930
140828
298828
3312828
41154820
53092820
64510820
74962820
84767820

prune15.0ms (0.6%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New19120
Fresh022
Picked011
Done022
Total19625
Error
0.5b
Counts
25 → 6
Alt Table
StatusErrorProgram
11.1b
(atan2.f64 1 (cbrt.f64 (pow.f64 (+.f64 1 (fma.f64 N N N)) 3)))
10.9b
(cbrt.f64 (*.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2) (atan2.f64 1 (+.f64 1 (fma.f64 N N N)))))
1.8b
(*.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.5b
(atan2.f64 1 (+.f64 1 (fma.f64 N N N)))
2.4b
(*.f64 (pow.f64 (*.f64 (cbrt.f64 (pow.f64 (atan2.f64 1 (+.f64 1 (fma.f64 N N N))) 2/3)) (cbrt.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)))))
17.2b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
Compiler

Compiled 423 to 279 computations (34% saved)

regimes174.0ms (6.3%)

Accuracy

Total 0.0b remaining (5.1%)

Threshold costs 0.0b (5.1%)

Compiler

Compiled 2991 to 2091 computations (30.1% saved)

simplify3.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
1911
2811

end0.0ms (0%)

Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.3s (45.7%)

Algorithm
intervals
Results
511.0ms2117×body2048valid
186.0ms1065×body1024valid
182.0ms4065×body128valid
61.0ms526×body512valid
20.0ms227×body256valid
Compiler

Compiled 126 to 88 computations (30.2% saved)

Profiling

Loading profile data...