Details

Time bar (total: 9.9s)

analyze492.0ms (5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
49.9%49.9%0.1%3
49.9%49.9%0.1%4
49.9%49.9%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%8
87.4%12.5%0.1%9
87.4%12.5%0.1%10
87.4%12.5%0.1%11
93.6%6.2%0.1%12
93.6%6.2%0.1%13
93.6%6.2%0.1%14
Compiler

Compiled 27 to 21 computations (22.2% saved)

sample4.5s (45.6%)

Results
1.4s5649×body128valid
1.4s887×body4096valid
996.0ms847×body2048valid
496.0ms516×body1024valid
160.0ms236×body512valid
54.0ms121×body256valid
Compiler

Compiled 80 to 62 computations (22.5% saved)

simplify92.0ms (0.9%)

Algorithm
egg-herbie
Rules
652×div-sub_binary64
554×fma-neg_binary64
550×hypot-def_binary64
431×fma-def_binary64
378×cancel-sign-sub-inv_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02036
14425
29625
326425
470625
5222325
6417525
7482525
8498325

prune9.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
15.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
15.5b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))
29.1b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))) (PI.f64)))
Compiler

Compiled 132 to 91 computations (31.1% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 B (-.f64 C A))
0.0b
(/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)
0.0b
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))
0.5b
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))

series368.0ms (3.7%)

Counts
4 → 144
Calls

4 calls:

138.0ms
(/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)
110.0ms
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))
69.0ms
(hypot.f64 B (-.f64 C A))
51.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))

rewrite33.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
73×*-un-lft-identity_binary64
58×add-sqr-sqrt_binary64
40×add-cube-cbrt_binary64
27×times-frac_binary64
24×prod-diff_binary64
Counts
4 → 137
Calls

4 calls:

9.0ms
(/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)
7.0ms
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))
4.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))
0.0ms
(hypot.f64 B (-.f64 C A))

simplify198.0ms (2%)

Algorithm
egg-herbie
Rules
781×fma-def_binary64
373×associate-/l*_binary64
264×sub-neg_binary64
257×times-frac_binary64
190×+-commutative_binary64
Counts
281 → 387
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
074010235
122038926
252108926

prune463.0ms (4.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New3798387
Fresh101
Picked101
Done000
Total3818389
Error
0.6b
Counts
389 → 8
Alt Table
StatusErrorProgram
15.7b
(*.f64 180 (expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))))
49.9b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (pow.f64 B 2) C)) B)) (PI.f64)))
46.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (+.f64 (/.f64 (*.f64 (*.f64 B B) C) (*.f64 A A)) (/.f64 (*.f64 B B) A))) B)) (PI.f64)))
41.5b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A)))) (PI.f64)))
41.7b
(*.f64 180 (/.f64 (atan.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 C B) (pow.f64 A 2))) (*.f64 1/2 (/.f64 B A)))) (PI.f64)))
46.8b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
19.3b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
51.7b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (sqrt.f64 (-.f64 C A)) (sqrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
Compiler

Compiled 14918 to 6922 computations (53.6% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)
0.0b
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))
0.1b
(expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))))
0.5b
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))

series29.0ms (0.3%)

Counts
1 → 36
Calls

1 calls:

29.0ms
(expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))))

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 → 11
Calls

1 calls:

0.0ms
(expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))))

simplify161.0ms (1.6%)

Algorithm
egg-herbie
Rules
900×times-frac_binary64
866×unswap-sqr_binary64
581×fma-def_binary64
565×associate-/l*_binary64
562×fma-neg_binary64
Counts
47 → 21
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0341106
1531061
21161061
32451061
44451061
57971061
612421061
717591061
843281061
951831061

prune493.0ms (5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3360336
Fresh077
Picked011
Done000
Total3368344
Error
0.6b
Counts
344 → 8
Alt Table
StatusErrorProgram
15.7b
(*.f64 180 (expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))))
49.9b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (pow.f64 B 2) C)) B)) (PI.f64)))
46.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (+.f64 (/.f64 (*.f64 (*.f64 B B) C) (*.f64 A A)) (/.f64 (*.f64 B B) A))) B)) (PI.f64)))
41.5b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A)))) (PI.f64)))
41.7b
(*.f64 180 (/.f64 (atan.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 C B) (pow.f64 A 2))) (*.f64 1/2 (/.f64 B A)))) (PI.f64)))
46.8b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
19.3b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
51.7b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (sqrt.f64 (-.f64 C A)) (sqrt.f64 (-.f64 C A)) (neg.f64 (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
Compiler

Compiled 12722 to 5654 computations (55.6% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))
0.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
0.3b
(-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A))))
1.1b
(+.f64 A (hypot.f64 B (-.f64 C A)))

series263.0ms (2.6%)

Counts
4 → 80
Calls

4 calls:

96.0ms
(-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A))))
85.0ms
(+.f64 A (hypot.f64 B (-.f64 C A)))
49.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
32.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))

rewrite25.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64
37×add-sqr-sqrt_binary64
30×add-cube-cbrt_binary64
19×times-frac_binary64
13×associate-*r*_binary64
Counts
4 → 117
Calls

4 calls:

6.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
6.0ms
(-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A))))
2.0ms
(+.f64 A (hypot.f64 B (-.f64 C A)))
2.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64))

simplify291.0ms (2.9%)

Algorithm
egg-herbie
Rules
597×fma-neg_binary64
352×fma-def_binary64
209×associate--l+_binary64
199×associate--r+_binary64
188×associate-+r+_binary64
Counts
197 → 260
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04547027
113516040
248616039
353786039

prune211.0ms (2.1%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2591260
Fresh156
Picked011
Done011
Total2608268
Error
0.6b
Counts
268 → 8
Alt Table
StatusErrorProgram
15.7b
(*.f64 180 (expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))))
49.9b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (pow.f64 B 2) C)) B)) (PI.f64)))
46.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (+.f64 (/.f64 (*.f64 (*.f64 B B) C) (*.f64 A A)) (/.f64 (*.f64 B B) A))) B)) (PI.f64)))
44.7b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (sqrt.f64 C) (sqrt.f64 C) (neg.f64 (+.f64 A (hypot.f64 B (-.f64 C A))))) B)) (PI.f64)))
41.5b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A)))) (PI.f64)))
41.7b
(*.f64 180 (/.f64 (atan.f64 (+.f64 (*.f64 1/2 (/.f64 (*.f64 C B) (pow.f64 A 2))) (*.f64 1/2 (/.f64 B A)))) (PI.f64)))
46.8b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
19.3b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
Compiler

Compiled 9608 to 4366 computations (54.6% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A)))) (PI.f64))
2.4b
(+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A))
7.5b
(/.f64 (*.f64 A A) B)
8.6b
(/.f64 C (/.f64 (*.f64 A A) B))

series239.0ms (2.4%)

Counts
4 → 132
Calls

4 calls:

90.0ms
(/.f64 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A)))) (PI.f64))
71.0ms
(+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A))
62.0ms
(/.f64 C (/.f64 (*.f64 A A) B))
15.0ms
(/.f64 (*.f64 A A) B)

rewrite46.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
77×times-frac_binary64
50×*-un-lft-identity_binary64
44×add-sqr-sqrt_binary64
44×add-cube-cbrt_binary64
26×fma-def_binary64
Counts
4 → 144
Calls

4 calls:

21.0ms
(+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A))
5.0ms
(/.f64 C (/.f64 (*.f64 A A) B))
4.0ms
(/.f64 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A)))) (PI.f64))
4.0ms
(/.f64 (*.f64 A A) B)

simplify279.0ms (2.8%)

Algorithm
egg-herbie
Rules
678×times-frac_binary64
485×associate-/l*_binary64
440×associate-/l/_binary64
432×associate-*l/_binary64
429×associate-/r/_binary64
Counts
276 → 217
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02124620
14534188
212874043
345384040
449734040
549574040

prune232.0ms (2.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2134217
Fresh235
Picked101
Done022
Total2169225
Error
0.6b
Counts
225 → 9
Alt Table
StatusErrorProgram
40.6b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (*.f64 (+.f64 (/.f64 C (pow.f64 A 2)) (/.f64 1 A)) B))) (PI.f64)))
46.8b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
15.7b
(*.f64 180 (expm1.f64 (log1p.f64 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))))
49.9b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (pow.f64 B 2) C)) B)) (PI.f64)))
40.7b
(*.f64 180 (/.f64 1 (/.f64 (PI.f64) (atan.f64 (*.f64 (*.f64 (/.f64 B A) (+.f64 (/.f64 C A) 1)) 1/2)))))
44.7b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (fma.f64 (sqrt.f64 C) (sqrt.f64 C) (neg.f64 (+.f64 A (hypot.f64 B (-.f64 C A))))) B)) (PI.f64)))
40.5b
(*.f64 180 (*.f64 (/.f64 1 (sqrt.f64 (PI.f64))) (/.f64 (atan.f64 (*.f64 (*.f64 (/.f64 B A) (+.f64 (/.f64 C A) 1)) 1/2)) (sqrt.f64 (PI.f64)))))
51.3b
(*.f64 180 (exp.f64 (log.f64 (/.f64 (atan.f64 (*.f64 (*.f64 (/.f64 B A) (+.f64 (/.f64 C A) 1)) 1/2)) (PI.f64)))))
19.3b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 C (+.f64 A (hypot.f64 B (-.f64 C A)))) B)) (PI.f64)))
Compiler

Compiled 5818 to 2479 computations (57.4% saved)

regimes1.1s (10.7%)

Accuracy

Total 11.1b remaining (96.8%)

Threshold costs 0b (0%)

Counts
91 → 2
Compiler

Compiled 12553 to 9501 computations (24.3% saved)

bsearch112.0ms (1.1%)

Steps
ItersRangePoint
8
-8.816800925899894e+91
-3.7326781509700612e+87
-2.28422592167895e+91
Compiler

Compiled 4 to 3 computations (25% saved)

simplify7.0ms (0.1%)

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
02657
13357
24157
34557
44757
54757

end217.0ms (2.2%)

Compiler

Compiled 261 to 187 computations (28.4% saved)

Profiling

Loading profile data...