Details

Time bar (total: 15.7s)

analyze1.4s (8.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04956148
14956148
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
31.2%68.6%0.1%8
40.6%59.3%0.1%9
40.6%59.3%0.1%10
46%53.8%0.1%11
52.7%47.2%0.1%12
52.7%44.6%2.8%13
55.9%40.6%3.5%14
Compiler

Compiled 24 to 22 computations (8.3% saved)

sample131.0ms (0.8%)

Algorithm
intervals
Results
30.0ms51×body1024valid
21.0ms41×body1024invalid
19.0ms165×body128valid
11.0ms29×body512invalid
8.0msbody4096valid
7.0ms19×body512valid
5.0ms41×body128invalid
4.0ms15×body256valid
3.0msbody2048valid
2.0ms10×body256invalid
Compiler

Compiled 47 to 46 computations (2.1% saved)

simplify53.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0491237
1491237

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
32.8b
Counts
2 → 1
Compiler

Compiled 46 to 40 computations (13% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
11.0b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
23.2b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite199.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
32.4b
Rules
23×add-sqr-sqrt_binary64_441
16×difference-of-squares_binary64_388
13×unpow-prod-down_binary64_498
11×*-un-lft-identity_binary64_419
pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 unpow2_binary64_484 sqr-pow_binary64_391
cancel-sign-sub-inv_binary64_385
add-cube-cbrt_binary64_454
add-log-exp_binary64_458
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*r*_binary64_359
flip3--_binary64_423 associate-*r/_binary64_361 associate-*l/_binary64_362 flip--_binary64_394 distribute-lft-out--_binary64_371
associate-*l*_binary64_360 *-commutative_binary64_350 diff-log_binary64_511 sub-neg_binary64_412
Counts
4 → 71
Calls

4 calls:

14.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
9.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
2.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 2305 to 1733 computations (24.8% saved)

series907.0ms (5.8%)

Error
30.5b
Counts
4 → 36
Calls

4 calls:

622.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
162.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
32.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
30.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 2390 to 1977 computations (17.3% saved)

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049711699
149711699

prune209.0ms (1.3%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New8720107
Fresh000
Picked101
Done000
Total8820108
Error
30.2b
Counts
108 → 20
Compiler

Compiled 3344 to 2155 computations (35.6% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 1/180 (*.f64 angle PI.f64))
11.0b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
23.2b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.7b
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))

rewrite139.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
29.6b
Rules
14×pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419 pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452
add-log-exp_binary64_458 associate-*l*_binary64_360 associate-*r*_binary64_359
associate-*r/_binary64_361 associate-*l/_binary64_362 *-commutative_binary64_350
flip3--_binary64_423 flip--_binary64_394
Counts
4 → 52
Calls

4 calls:

15.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
5.0ms
(*.f64 1/180 (*.f64 angle PI.f64))
2.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
2.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1640 to 1182 computations (27.9% saved)

series767.0ms (4.9%)

Error
30.2b
Counts
4 → 27
Calls

4 calls:

628.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
39.0ms
(*.f64 1/180 (*.f64 angle PI.f64))
32.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
28.0ms
(cos.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
Compiler

Compiled 1943 to 1544 computations (20.5% saved)

simplify64.0ms (0.4%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049581406
149581406

prune185.0ms (1.2%)

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New681179
Fresh31619
Picked101
Done000
Total722799
Error
29.6b
Counts
99 → 27
Compiler

Compiled 2918 to 1986 computations (31.9% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

23.2b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite90.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
29.6b
Rules
pow1_binary64_480 add-log-exp_binary64_458 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
Counts
4 → 28
Calls

4 calls:

2.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1316 to 1000 computations (24% saved)

series190.0ms (1.2%)

Error
29.5b
Counts
4 → 16
Calls

4 calls:

40.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
37.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
36.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
36.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1840 to 1505 computations (18.2% saved)

simplify64.0ms (0.4%)

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
05075562

prune373.0ms (2.4%)

Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New38644
Fresh32326
Picked101
Done000
Total422971
Error
29.5b
Counts
71 → 29
Compiler

Compiled 2849 to 2212 computations (22.4% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

23.2b
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
23.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite80.0ms (0.5%)

Algorithm
rewrite-expression-head
Error
29.5b
Rules
pow1_binary64_480 add-log-exp_binary64_458 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
Counts
4 → 28
Calls

4 calls:

2.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
2.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1316 to 968 computations (26.4% saved)

series188.0ms (1.2%)

Error
29.5b
Counts
4 → 16
Calls

4 calls:

39.0ms
(sin.f64 (*.f64 1/180 (*.f64 angle PI.f64)))
38.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
37.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
36.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1840 to 1481 computations (19.5% saved)

simplify67.0ms (0.4%)

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
05074562

prune112.0ms (0.7%)

Pruning

29 alts after pruning (29 fresh and 0 done)

PrunedKeptTotal
New42244
Fresh12728
Picked101
Done000
Total442973
Error
29.5b
Counts
73 → 29
Compiler

Compiled 1916 to 1403 computations (26.8% saved)

regimes3.2s (20.5%)

Accuracy

Total 3.1b remaining (9.7%)

Threshold costs 0b (0%)

Compiler

Compiled 40400 to 34366 computations (14.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03637
13637

end0.0ms (0%)

sample7.1s (45.4%)

Algorithm
intervals
Results
826.0ms1560×body1024valid
637.0ms1237×body1024invalid
626.0ms5071×body128valid
309.0ms84×body4096valid
271.0ms730×body512valid
218.0ms619×body512invalid
156.0ms1256×body128invalid
156.0ms177×body2048valid
109.0ms378×body256valid
81.0ms326×body256invalid
Compiler

Compiled 3689 to 3142 computations (14.8% saved)

Profiling

Loading profile data...