Details

Time bar (total: 9.9s)

analyze1.3s (13.4%)

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)

sample127.0ms (1.3%)

Algorithm
intervals
Results
31.0ms51×body1024valid
23.0ms43×body1024invalid
21.0ms176×body128valid
9.0ms24×body512invalid
8.0msbody4096valid
7.0ms55×body128invalid
7.0ms18×body512valid
3.0ms13×body256invalid
2.0msbody256valid
2.0msbody2048valid
Compiler

Compiled 47 to 46 computations (2.1% saved)

simplify56.0ms (0.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0491237
1491237

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 46 to 40 computations (13% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.8b
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
12.4b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
21.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
21.6b
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

rewrite36.0ms (0.4%)

Algorithm
rewrite-expression-head
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
sqr-pow_binary64_391 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 unpow2_binary64_484 pow1_binary64_480
cancel-sign-sub-inv_binary64_385
add-cube-cbrt_binary64_454
add-log-exp_binary64_458
pow-prod-down_binary64_490 associate-*r*_binary64_359 prod-exp_binary64_468 cbrt-unprod_binary64_452
associate-*l/_binary64_362 flip3--_binary64_423 associate-*r/_binary64_361 distribute-lft-out--_binary64_371 flip--_binary64_394
sub-neg_binary64_412 *-commutative_binary64_350 associate-*l*_binary64_360 diff-log_binary64_511
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)))

series155.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

108.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
22.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
13.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
12.0ms
(cos.f64 (*.f64 PI.f64 (/.f64 angle 180)))

simplify66.0ms (0.7%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049311321
149311321

prune154.0ms (1.6%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New661783
Fresh000
Picked101
Done000
Total671784
Error
31.1b
Counts
84 → 17
Compiler

Compiled 2761 to 1824 computations (33.9% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.8b
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
12.4b
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
21.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))

rewrite33.0ms (0.3%)

Algorithm
rewrite-expression-head
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
sqr-pow_binary64_391 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 unpow2_binary64_484 pow1_binary64_480
cancel-sign-sub-inv_binary64_385
add-cube-cbrt_binary64_454
add-log-exp_binary64_458
pow-prod-down_binary64_490 associate-*r*_binary64_359 prod-exp_binary64_468 cbrt-unprod_binary64_452
associate-*l/_binary64_362 flip3--_binary64_423 associate-*r/_binary64_361 distribute-lft-out--_binary64_371 flip--_binary64_394
sub-neg_binary64_412 *-commutative_binary64_350 associate-*l*_binary64_360 diff-log_binary64_511
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 1/180 (*.f64 PI.f64 angle)))
2.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))

series163.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

116.0ms
(*.f64 (*.f64 2 (-.f64 (pow.f64 b 2) (pow.f64 a 2))) (sin.f64 (*.f64 PI.f64 (/.f64 angle 180))))
24.0ms
(-.f64 (pow.f64 b 2) (pow.f64 a 2))
13.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
11.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))

simplify64.0ms (0.6%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049301321
149301321

prune136.0ms (1.4%)

Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New78583
Fresh21416
Picked101
Done000
Total8119100
Error
31.0b
Counts
100 → 19
Compiler

Compiled 2826 to 1793 computations (36.6% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

21.3b
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))

rewrite12.0ms (0.1%)

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

4 calls:

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

series46.0ms (0.5%)

Counts
4 → 12
Calls

4 calls:

18.0ms
(sin.f64 (*.f64 PI.f64 (/.f64 angle 180)))
10.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
9.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
9.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))

simplify58.0ms (0.6%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05134603

prune128.0ms (1.3%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New35540
Fresh31518
Picked101
Done000
Total392059
Error
31.0b
Counts
59 → 20
Compiler

Compiled 2511 to 1802 computations (28.2% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

21.2b
(sin.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
21.7b
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))

rewrite13.0ms (0.1%)

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

4 calls:

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

series41.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

12.0ms
(sin.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
10.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
9.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))
9.0ms
(cos.f64 (*.f64 1/180 (*.f64 PI.f64 angle)))

simplify59.0ms (0.6%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04902603
14902603

prune86.0ms (0.9%)

Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh21719
Picked101
Done000
Total402060
Error
31.0b
Counts
60 → 20
Compiler

Compiled 1804 to 1197 computations (33.6% saved)

regimes1.6s (16%)

Accuracy

Total 2.2b remaining (7%)

Threshold costs 0b (0%)

Compiler

Compiled 19342 to 15822 computations (18.2% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03942
13942

end0.0ms (0%)

sample5.5s (55.4%)

Algorithm
intervals
Results
833.0ms1501×body1024valid
680.0ms5132×body128valid
669.0ms1247×body1024invalid
311.0ms84×body4096valid
292.0ms738×body512valid
234.0ms615×body512invalid
177.0ms179×body2048valid
162.0ms1244×body128invalid
105.0ms366×body256valid
82.0ms319×body256invalid
Compiler

Compiled 1813 to 1485 computations (18.1% saved)

Profiling

Loading profile data...