Details

Time bar (total: 23.4s)

analyze2.2s (9.5%)

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)

sample199.0ms (0.8%)

Algorithm
intervals
Results
47.0ms55×body1024valid
35.0ms35×body1024invalid
28.0ms150×body128valid
17.0ms29×body512valid
12.0msbody4096valid
9.0ms17×body512invalid
9.0msbody2048valid
8.0ms41×body128invalid
7.0ms16×body256valid
2.0msbody256invalid
Compiler

Compiled 47 to 46 computations (2.1% saved)

simplify65.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0491237
1491237

prune6.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 46 to 40 computations (13% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.7b
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
7.5b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
27.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
27.6b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite267.0ms (1.1%)

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

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

Compiled 2305 to 1733 computations (24.8% saved)

series932.0ms (4%)

Error
30.1b
Counts
4 → 39
Calls

4 calls:

605.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
131.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
50.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
39.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 2762 to 2274 computations (17.7% saved)

simplify127.0ms (0.5%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
049261862
149261862

prune282.0ms (1.2%)

Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New8921110
Fresh000
Picked101
Done000
Total9021111
Error
30.0b
Counts
111 → 21
Compiler

Compiled 3549 to 2300 computations (35.2% saved)

localize28.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.7b
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
7.5b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
27.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
27.6b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite252.0ms (1.1%)

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

19.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))
3.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
3.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 2518 to 1946 computations (22.7% saved)

series1.0s (4.3%)

Error
30.0b
Counts
4 → 39
Calls

4 calls:

670.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
183.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
65.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
32.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 3059 to 2571 computations (16% saved)

simplify88.0ms (0.4%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049261862
149261862

prune317.0ms (1.4%)

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New10010110
Fresh31720
Picked101
Done000
Total10427131
Error
30.0b
Counts
131 → 27
Compiler

Compiled 4078 to 2807 computations (31.2% saved)

localize40.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.7b
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
7.5b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
27.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
27.6b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite281.0ms (1.2%)

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

29.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
19.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
3.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
3.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 2660 to 2088 computations (21.5% saved)

series1.2s (4.9%)

Error
30.0b
Counts
4 → 39
Calls

4 calls:

723.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
203.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
61.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
55.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 3257 to 2769 computations (15% saved)

simplify103.0ms (0.4%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
049261862
149261862

prune302.0ms (1.3%)

Pruning

31 alts after pruning (31 fresh and 0 done)

PrunedKeptTotal
New1028110
Fresh32326
Picked101
Done000
Total10631137
Error
30.0b
Counts
137 → 31
Compiler

Compiled 4453 to 3150 computations (29.3% saved)

localize20.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite108.0ms (0.5%)

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

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

Compiled 1316 to 1000 computations (24% saved)

series222.0ms (0.9%)

Error
29.9b
Counts
4 → 20
Calls

4 calls:

56.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
40.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
39.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
35.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 2328 to 1900 computations (18.4% saved)

simplify93.0ms (0.4%)

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
05135686

prune137.0ms (0.6%)

Pruning

33 alts after pruning (33 fresh and 0 done)

PrunedKeptTotal
New40848
Fresh52530
Picked101
Done000
Total463379
Error
29.9b
Counts
79 → 33
Compiler

Compiled 2130 to 1598 computations (25% saved)

regimes3.9s (16.8%)

Accuracy

Total 2.4b remaining (7.8%)

Threshold costs 0b (0%)

Compiler

Compiled 39832 to 34140 computations (14.3% saved)

bsearch0.0ms (0%)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03442
13442

end0.0ms (0%)

sample11.2s (47.8%)

Algorithm
intervals
Results
1.2s1500×body1024valid
947.0ms1227×body1024invalid
929.0ms5117×body128valid
460.0ms84×body4096valid
422.0ms749×body512valid
337.0ms620×body512invalid
252.0ms184×body2048valid
230.0ms1283×body128invalid
141.0ms366×body256valid
105.0ms285×body256invalid
Compiler

Compiled 4022 to 3449 computations (14.2% saved)

Profiling

Loading profile data...