Details

Time bar (total: 10.8s)

analyze1.5s (14.2%)

Algorithm
search
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
31.2%56.2%12.6%9
34.3%53%12.6%10
37.4%49.9%12.6%11
46.8%40.6%12.6%12
47.8%39.6%12.6%13
49.7%37.1%13.2%14
Compiler

Compiled 22 to 20 computations (9.1% saved)

sample173.0ms (1.6%)

Algorithm
intervals
Results
52.0ms57×body1024valid
41.0ms47×body1024invalid
19.0ms155×body128valid
18.0ms32×body512valid
12.0ms20×body512invalid
6.0ms16×body256invalid
4.0msbody2048valid
3.0ms27×body128invalid
3.0msbody256valid
Compiler

Compiled 43 to 42 computations (2.3% saved)

simplify248.0ms (2.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (147.0ms)

IterNodesCost
0525234

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
21.5b
Counts
2 → 1
Compiler

Compiled 42 to 38 computations (9.5% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (/.f64 angle 180) PI.f64)
0.3b
(*.f64 (/.f64 angle 180) PI.f64)
25.9b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
26.2b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_441
26×associate-*l*_binary64_360
20×*-un-lft-identity_binary64_419 times-frac_binary64_425 add-cube-cbrt_binary64_454
14×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
pow1_binary64_480
associate-*r*_binary64_359
add-log-exp_binary64_458 unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452
associate-*l/_binary64_362 pow-prod-down_binary64_490 div-inv_binary64_416 *-commutative_binary64_350 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 78
Calls

4 calls:

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

series63.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

22.0ms
(*.f64 (/.f64 angle 180) PI.f64)
18.0ms
(*.f64 (/.f64 angle 180) PI.f64)
12.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
10.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify60.0ms (0.6%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050211051

prune197.0ms (1.8%)

Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New672390
Fresh000
Picked101
Done000
Total682391
Error
20.5b
Counts
91 → 23
Compiler

Compiled 3017 to 2251 computations (25.4% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (*.f64 a (sin.f64 (*.f64 angle (*.f64 PI.f64 1/180)))) 2)
0.3b
(*.f64 (/.f64 angle 180) PI.f64)
25.9b
(sin.f64 (*.f64 angle (*.f64 PI.f64 1/180)))
26.2b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

rewrite21.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64_441
13×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 associate-*l*_binary64_360
12×add-exp-log_binary64_457
10×times-frac_binary64_425
add-cbrt-cube_binary64_455 pow1_binary64_480
add-log-exp_binary64_458
associate-*r*_binary64_359 prod-exp_binary64_468 pow-unpow_binary64_496
pow-prod-down_binary64_490 unswap-sqr_binary64_387 cbrt-unprod_binary64_452 pow-exp_binary64_487 pow-pow_binary64_491
associate-*l/_binary64_362 unpow-prod-down_binary64_498 div-inv_binary64_416 sqr-pow_binary64_391 pow-to-exp_binary64_488 *-commutative_binary64_350 unpow2_binary64_484 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 64
Calls

4 calls:

7.0ms
(*.f64 (/.f64 angle 180) PI.f64)
5.0ms
(pow.f64 (*.f64 a (sin.f64 (*.f64 angle (*.f64 PI.f64 1/180)))) 2)
2.0ms
(sin.f64 (*.f64 angle (*.f64 PI.f64 1/180)))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

series113.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

72.0ms
(pow.f64 (*.f64 a (sin.f64 (*.f64 angle (*.f64 PI.f64 1/180)))) 2)
19.0ms
(*.f64 (/.f64 angle 180) PI.f64)
13.0ms
(sin.f64 (*.f64 angle (*.f64 PI.f64 1/180)))
10.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))

simplify41.0ms (0.4%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
049881040
149881040

prune147.0ms (1.4%)

Pruning

27 alts after pruning (26 fresh and 1 done)

PrunedKeptTotal
New71576
Fresh12122
Picked011
Done000
Total722799
Error
20.5b
Counts
99 → 27
Compiler

Compiled 2735 to 2078 computations (24% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
0.3b
(*.f64 (/.f64 angle 180) PI.f64)
25.9b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
26.3b
(cos.f64 (*.f64 angle (*.f64 PI.f64 1/180)))

rewrite21.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64_441
13×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 associate-*l*_binary64_360
12×add-exp-log_binary64_457
10×times-frac_binary64_425
add-cbrt-cube_binary64_455 pow1_binary64_480
add-log-exp_binary64_458
associate-*r*_binary64_359 prod-exp_binary64_468 pow-unpow_binary64_496
pow-prod-down_binary64_490 unswap-sqr_binary64_387 cbrt-unprod_binary64_452 pow-exp_binary64_487 pow-pow_binary64_491
associate-*l/_binary64_362 unpow-prod-down_binary64_498 div-inv_binary64_416 sqr-pow_binary64_391 pow-to-exp_binary64_488 *-commutative_binary64_350 unpow2_binary64_484 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 64
Calls

4 calls:

7.0ms
(*.f64 (/.f64 angle 180) PI.f64)
5.0ms
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
2.0ms
(cos.f64 (*.f64 angle (*.f64 PI.f64 1/180)))
2.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))

series120.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

80.0ms
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
18.0ms
(*.f64 (/.f64 angle 180) PI.f64)
12.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
10.0ms
(cos.f64 (*.f64 angle (*.f64 PI.f64 1/180)))

simplify59.0ms (0.5%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050681040

prune155.0ms (1.4%)

Pruning

29 alts after pruning (28 fresh and 1 done)

PrunedKeptTotal
New69776
Fresh42125
Picked101
Done011
Total7429103
Error
20.5b
Counts
103 → 29
Compiler

Compiled 2802 to 2137 computations (23.7% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

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:

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

series40.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

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

simplify57.0ms (0.5%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05134603

prune82.0ms (0.8%)

Pruning

29 alts after pruning (28 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh02727
Picked101
Done011
Total402969
Error
20.5b
Counts
69 → 29
Compiler

Compiled 1724 to 1286 computations (25.4% saved)

regimes898.0ms (8.3%)

Accuracy

Total 1.0b remaining (5%)

Threshold costs 0b (0%)

Compiler

Compiled 11716 to 10156 computations (13.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02534
12534

end0.0ms (0%)

sample6.6s (61.6%)

Algorithm
intervals
Results
1.4s1624×body1024valid
1.2s1313×body1024invalid
639.0ms4997×body128valid
470.0ms823×body512valid
418.0ms688×body512invalid
246.0ms185×body2048valid
126.0ms347×body256invalid
114.0ms368×body256valid
68.0ms539×body128invalid
14.0msbody4096valid
Compiler

Compiled 1745 to 1511 computations (13.4% saved)

Profiling

Loading profile data...