Details

Time bar (total: 28.1s)

analyze2.5s (9%)

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)

sample250.0ms (0.9%)

Algorithm
intervals
Results
50.0ms52×body1024valid
42.0ms158×body128valid
40.0ms41×body1024invalid
31.0msbody4096valid
14.0msbody2048valid
14.0ms20×body512valid
13.0ms19×body512invalid
9.0ms40×body128invalid
7.0ms15×body256valid
5.0ms10×body256invalid
Compiler

Compiled 47 to 46 computations (2.1% saved)

simplify117.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (106.0ms)

IterNodesCost
0491237
1491237

prune7.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 46 to 40 computations (13% saved)

localize30.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
9.8b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
25.9b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
26.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite86.0ms (0.3%)

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

4 calls:

34.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
33.0ms
(*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
3.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
3.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

series2.0s (7.2%)

Counts
4 → 40
Calls

4 calls:

1.2s
(*.f64 (*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
763.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
50.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
41.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1941 to 1646 computations (15.2% saved)

simplify131.0ms (0.5%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049622648
149622648

prune356.0ms (1.3%)

Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New762197
Fresh000
Picked101
Done000
Total772198
Error
30.4b
Counts
98 → 21
Compiler

Compiled 3205 to 2081 computations (35.1% saved)

localize30.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (*.f64 2 (*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (-.f64 (*.f64 b b) (*.f64 a a)))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
9.8b
(*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (-.f64 (*.f64 b b) (*.f64 a a)))
25.9b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
26.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite62.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×add-cbrt-cube_binary64_455 add-exp-log_binary64_457 pow1_binary64_480
add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 pow-prod-down_binary64_490 add-cube-cbrt_binary64_454 associate-*r*_binary64_359 prod-exp_binary64_468 cbrt-unprod_binary64_452
associate-*r/_binary64_361
add-log-exp_binary64_458 associate-*l*_binary64_360
associate-*l/_binary64_362 sub-neg_binary64_412 distribute-rgt-in_binary64_369 flip3--_binary64_423 distribute-lft-in_binary64_368 *-commutative_binary64_350 flip--_binary64_394 cancel-sign-sub-inv_binary64_385
difference-of-squares_binary64_388 unswap-sqr_binary64_387
Counts
4 → 62
Calls

4 calls:

27.0ms
(*.f64 (*.f64 2 (*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (-.f64 (*.f64 b b) (*.f64 a a)))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
16.0ms
(*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (-.f64 (*.f64 b b) (*.f64 a a)))
4.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
3.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

series1.9s (6.8%)

Counts
4 → 40
Calls

4 calls:

1.2s
(*.f64 (*.f64 2 (*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (-.f64 (*.f64 b b) (*.f64 a a)))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
640.0ms
(*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (-.f64 (*.f64 b b) (*.f64 a a)))
45.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
39.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1929 to 1606 computations (16.7% saved)

simplify145.0ms (0.5%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
049852748
149852748

prune315.0ms (1.1%)

Pruning

24 alts after pruning (24 fresh and 0 done)

PrunedKeptTotal
New957102
Fresh31720
Picked101
Done000
Total9924123
Error
20.3b
Counts
123 → 24
Compiler

Compiled 3489 to 2044 computations (41.4% saved)

localize31.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 PI.f64 (/.f64 angle 180))
0.4b
(*.f64 (*.f64 2 (*.f64 (*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (+.f64 b a)) (-.f64 b a))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
25.9b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
26.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite76.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
23×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
20×pow1_binary64_480
18×add-sqr-sqrt_binary64_441
17×associate-*r/_binary64_361
16×associate-*r*_binary64_359
13×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
12×prod-exp_binary64_468 cbrt-unprod_binary64_452
11×pow-prod-down_binary64_490
10×associate-*l/_binary64_362 times-frac_binary64_425
add-log-exp_binary64_458 frac-times_binary64_429 associate-*l*_binary64_360
flip3-+_binary64_422 flip3--_binary64_423 flip-+_binary64_393 flip--_binary64_394
unswap-sqr_binary64_387 *-commutative_binary64_350
div-inv_binary64_416 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 78
Calls

4 calls:

34.0ms
(*.f64 (*.f64 2 (*.f64 (*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (+.f64 b a)) (-.f64 b a))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
18.0ms
(*.f64 PI.f64 (/.f64 angle 180))
4.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
3.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

series1.4s (4.9%)

Counts
4 → 27
Calls

4 calls:

1.2s
(*.f64 (*.f64 2 (*.f64 (*.f64 (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))) (+.f64 b a)) (-.f64 b a))) (cos.f64 (*.f64 PI.f64 (/.f64 angle 180))))
55.0ms
(*.f64 PI.f64 (/.f64 angle 180))
45.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
38.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 1315 to 1066 computations (18.9% saved)

simplify140.0ms (0.5%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
052702528

prune380.0ms (1.4%)

Pruning

32 alts after pruning (32 fresh and 0 done)

PrunedKeptTotal
New8718105
Fresh91423
Picked101
Done000
Total9732129
Error
19.5b
Counts
129 → 32
Compiler

Compiled 3906 to 2431 computations (37.8% saved)

localize39.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (/.f64 angle 180))
0.6b
(cbrt.f64 (/.f64 angle 180))
25.9b
(cos.f64 (*.f64 (*.f64 PI.f64 (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))
26.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite39.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
26×cbrt-prod_binary64_450
18×*-un-lft-identity_binary64_419 times-frac_binary64_425 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
add-log-exp_binary64_458 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 pow1_binary64_480
pow1/3_binary64_501 cbrt-div_binary64_451 div-inv_binary64_416
Counts
4 → 58
Calls

4 calls:

8.0ms
(cos.f64 (*.f64 (*.f64 PI.f64 (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))
5.0ms
(cbrt.f64 (/.f64 angle 180))
5.0ms
(cbrt.f64 (/.f64 angle 180))
3.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

series483.0ms (1.7%)

Counts
4 → 14
Calls

4 calls:

180.0ms
(cbrt.f64 (/.f64 angle 180))
167.0ms
(cbrt.f64 (/.f64 angle 180))
85.0ms
(cos.f64 (*.f64 (*.f64 PI.f64 (*.f64 (cbrt.f64 (/.f64 angle 180)) (cbrt.f64 (/.f64 angle 180)))) (cbrt.f64 (/.f64 angle 180))))
50.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
Compiler

Compiled 912 to 764 computations (16.2% saved)

simplify126.0ms (0.5%)

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
04949916
14949916

prune253.0ms (0.9%)

Pruning

39 alts after pruning (39 fresh and 0 done)

PrunedKeptTotal
New611172
Fresh32831
Picked101
Done000
Total6539104
Error
19.3b
Counts
104 → 39
Compiler

Compiled 2695 to 1786 computations (33.7% saved)

regimes5.1s (18.2%)

Accuracy

Total 3.1b remaining (14.7%)

Threshold costs 0b (0%)

Compiler

Compiled 34331 to 27772 computations (19.1% saved)

bsearch0.0ms (0%)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04257
14257

end0.0ms (0%)

sample12.0s (42.9%)

Algorithm
intervals
Results
1.4s1433×body1024valid
1.2s5237×body128valid
1.2s1197×body1024invalid
594.0ms86×body4096valid
513.0ms688×body512valid
411.0ms588×body512invalid
346.0ms181×body2048valid
301.0ms1283×body128invalid
177.0ms375×body256valid
144.0ms304×body256invalid
Compiler

Compiled 2918 to 2349 computations (19.5% saved)

Profiling

Loading profile data...