Details

Time bar (total: 8.6s)

analyze361.0ms (4.2%)

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)

sample3.7s (43.4%)

Results
1.1s881×body4096valid
1.1s5634×body128valid
876.0ms893×body2048valid
349.0ms476×body1024valid
143.0ms252×body512valid
45.0ms120×body256valid
Compiler

Compiled 80 to 62 computations (22.5% saved)

simplify66.0ms (0.8%)

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

prune5.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
13.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
13.6b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))
30.9b
(*.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)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series198.0ms (2.3%)

Counts
4 → 144
Calls

4 calls:

75.0ms
(/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)
59.0ms
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))
36.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))
27.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))

rewrite49.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity_binary64
71×add-sqr-sqrt_binary64
48×add-cube-cbrt_binary64
37×times-frac_binary64
24×prod-diff_binary64
Counts
4 → 161
Calls

4 calls:

11.0ms
(*.f64 180 (/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64)))
10.0ms
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))
9.0ms
(/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)
4.0ms
(/.f64 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)) (PI.f64))

simplify153.0ms (1.8%)

Algorithm
egg-herbie
Rules
605×fma-def_binary64
355×associate-/l*_binary64
238×times-frac_binary64
205×sub-neg_binary64
198×associate-/r*_binary64
Counts
305 → 378
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
067410323
119509081
249719081

prune340.0ms (4%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New3717378
Fresh101
Picked101
Done000
Total3737380
Error
0.2b
Counts
380 → 7
Alt Table
StatusErrorProgram
48.4b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64)))
49.5b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (pow.f64 B 2) C)) B)) (PI.f64)))
49.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (/.f64 (pow.f64 B 2) A)) B)) (PI.f64)))
13.6b
(/.f64 (*.f64 180 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B))) (PI.f64))
46.7b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
13.6b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
52.3b
(*.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 13326 to 5215 computations (60.9% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
0.0b
(/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64))
0.2b
(*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))
1.2b
(-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A)))

series143.0ms (1.7%)

Counts
3 → 108
Calls

3 calls:

77.0ms
(*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))
38.0ms
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
28.0ms
(/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64))

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64
33×*-un-lft-identity_binary64
30×times-frac_binary64
27×add-cube-cbrt_binary64
26×associate-*r*_binary64
Counts
3 → 108
Calls

3 calls:

11.0ms
(*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))
9.0ms
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
4.0ms
(/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64))

simplify146.0ms (1.7%)

Algorithm
egg-herbie
Rules
384×sub-neg_binary64
271×fma-neg_binary64
243×fma-def_binary64
211×*-commutative_binary64
197×+-commutative_binary64
Counts
216 → 250
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04346928
112326342
243616308
351986308

prune309.0ms (3.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New3861387
Fresh156
Picked011
Done000
Total3877394
Error
0.2b
Counts
394 → 7
Alt Table
StatusErrorProgram
48.4b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64)))
49.5b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (pow.f64 B 2) C)) B)) (PI.f64)))
49.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (/.f64 (pow.f64 B 2) A)) B)) (PI.f64)))
13.6b
(/.f64 (*.f64 180 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B))) (PI.f64))
46.7b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
52.3b
(*.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)))) (/.f64 1 B))) (PI.f64)))
13.6b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
Compiler

Compiled 14032 to 6352 computations (54.7% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series51.0ms (0.6%)

Counts
2 → 72
Calls

2 calls:

37.0ms
(/.f64 (*.f64 180 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B))) (PI.f64))
13.0ms
(*.f64 180 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B)))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 43
Calls

2 calls:

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

simplify183.0ms (2.1%)

Algorithm
egg-herbie
Rules
759×div-sub_binary64
446×sub-neg_binary64
354×unswap-sqr_binary64
332×*-commutative_binary64
298×fma-def_binary64
Counts
115 → 75
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0923008
11892775
25202775
317762775
421662775
526652775
635232775
739582775
843182775
949602775

prune276.0ms (3.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3343337
Fresh145
Picked011
Done011
Total3359344
Error
0.1b
Counts
344 → 9
Alt Table
StatusErrorProgram
49.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (/.f64 (pow.f64 B 2) A)) B)) (PI.f64)))
43.0b
(/.f64 (*.f64 180 (atan.f64 (*.f64 -1/2 (+.f64 (/.f64 B C) (/.f64 A (/.f64 (*.f64 C C) B)))))) (PI.f64))
13.6b
(/.f64 (*.f64 180 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B))) (PI.f64))
46.7b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
13.6b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
43.9b
(/.f64 (*.f64 180 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A))))) (PI.f64))
48.4b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64)))
52.3b
(*.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)))) (/.f64 1 B))) (PI.f64)))
49.5b
(/.f64 (*.f64 180 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (*.f64 B B) C)) B))) (PI.f64))
Compiler

Compiled 11892 to 5150 computations (56.7% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 (*.f64 180 (atan.f64 (*.f64 -1/2 (+.f64 (/.f64 B C) (/.f64 A (/.f64 (*.f64 C C) B)))))) (PI.f64))
4.1b
(+.f64 (/.f64 B C) (/.f64 A (/.f64 (*.f64 C C) B)))
5.1b
(/.f64 A (/.f64 (*.f64 C C) B))
6.7b
(/.f64 (*.f64 C C) B)

series189.0ms (2.2%)

Counts
4 → 132
Calls

4 calls:

64.0ms
(/.f64 (*.f64 180 (atan.f64 (*.f64 -1/2 (+.f64 (/.f64 B C) (/.f64 A (/.f64 (*.f64 C C) B)))))) (PI.f64))
57.0ms
(/.f64 A (/.f64 (*.f64 C C) B))
56.0ms
(+.f64 (/.f64 B C) (/.f64 A (/.f64 (*.f64 C C) B)))
12.0ms
(/.f64 (*.f64 C C) B)

rewrite39.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
50×times-frac_binary64
37×*-un-lft-identity_binary64
31×add-sqr-sqrt_binary64
31×add-cube-cbrt_binary64
23×add-cbrt-cube_binary64
Counts
4 → 125
Calls

4 calls:

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

simplify133.0ms (1.5%)

Algorithm
egg-herbie
Rules
913×times-frac_binary64
714×associate-/l*_binary64
498×associate-/l/_binary64
492×associate-/r/_binary64
192×fma-neg_binary64
Counts
257 → 183
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02114422
14803981
215143876
349623876
450723876

prune125.0ms (1.5%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New1803183
Fresh066
Picked011
Done022
Total18012192
Error
0.1b
Counts
192 → 12
Alt Table
StatusErrorProgram
42.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 180 (/.f64 (atan.f64 (*.f64 (*.f64 (/.f64 B C) (+.f64 (/.f64 A C) 1)) -1/2)) (PI.f64)))) (cbrt.f64 (*.f64 180 (/.f64 (atan.f64 (*.f64 (*.f64 (/.f64 B C) (+.f64 (/.f64 A C) 1)) -1/2)) (PI.f64))))) (cbrt.f64 (*.f64 180 (/.f64 (atan.f64 (*.f64 (*.f64 (/.f64 B C) (+.f64 (/.f64 A C) 1)) -1/2)) (PI.f64)))))
43.0b
(/.f64 (*.f64 180 (atan.f64 (*.f64 -1/2 (fma.f64 (/.f64 (*.f64 (cbrt.f64 B) (cbrt.f64 B)) (*.f64 (cbrt.f64 C) (cbrt.f64 C))) (/.f64 (cbrt.f64 B) (cbrt.f64 C)) (/.f64 A (/.f64 (*.f64 C C) B)))))) (PI.f64))
52.3b
(*.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)))) (/.f64 1 B))) (PI.f64)))
49.0b
(*.f64 180 (/.f64 (atan.f64 (/.f64 (*.f64 1/2 (/.f64 (pow.f64 B 2) A)) B)) (PI.f64)))
43.0b
(/.f64 (*.f64 180 (atan.f64 (*.f64 -1/2 (+.f64 (/.f64 B C) (/.f64 A (/.f64 (*.f64 C C) B)))))) (PI.f64))
13.6b
(/.f64 (*.f64 180 (atan.f64 (/.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) B))) (PI.f64))
42.9b
(/.f64 (*.f64 180 (atan.f64 (*.f64 -1/2 (*.f64 (+.f64 (/.f64 A (pow.f64 C 2)) (/.f64 1 C)) B)))) (PI.f64))
46.7b
(*.f64 180 (/.f64 (atan.f64 (*.f64 -1/2 (/.f64 B C))) (PI.f64)))
13.6b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (-.f64 (-.f64 C A) (hypot.f64 B (-.f64 C A))) (/.f64 1 B))) (PI.f64)))
43.9b
(/.f64 (*.f64 180 (atan.f64 (*.f64 1/2 (+.f64 (/.f64 C (/.f64 (*.f64 A A) B)) (/.f64 B A))))) (PI.f64))
48.4b
(*.f64 180 (/.f64 (atan.f64 (*.f64 1/2 (/.f64 B A))) (PI.f64)))
49.5b
(/.f64 (*.f64 180 (atan.f64 (/.f64 (*.f64 -1/2 (/.f64 (*.f64 B B) C)) B))) (PI.f64))
Compiler

Compiled 4773 to 2108 computations (55.8% saved)

regimes1.8s (20.7%)

Accuracy

Total 10.6b remaining (97.1%)

Threshold costs 0b (0%)

Counts
181 → 3
Compiler

Compiled 33012 to 21077 computations (36.2% saved)

bsearch8.0ms (0.1%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
041133
158133
271133
379133
483133
582133

end209.0ms (2.4%)

Compiler

Compiled 458 to 302 computations (34.1% saved)

Profiling

Loading profile data...