Details

Time bar (total: 13.9s)

analyze1.6s (11.5%)

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)

sample175.0ms (1.3%)

Algorithm
intervals
Results
47.0ms51×body1024valid
45.0ms49×body1024invalid
20.0ms165×body128valid
18.0ms26×body512valid
12.0ms20×body512invalid
7.0msbody2048valid
3.0msbody256invalid
3.0msbody256valid
3.0ms20×body128invalid
Compiler

Compiled 43 to 42 computations (2.3% saved)

simplify244.0ms (1.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (148.0ms)

IterNodesCost
0525234

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 42 to 38 computations (9.5% saved)

localize14.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.2b
(*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)))
0.1b
(pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
0.1b
(*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64)))
0.0b
(+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2))
0.3b
(*.f64 (/.f64 angle 180) PI.f64)
0.3b
(*.f64 (/.f64 angle 180) PI.f64)
23.8b
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
24.1b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))

rewrite25.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

8 calls:

7.0ms
(*.f64 (/.f64 angle 180) PI.f64)
7.0ms
(*.f64 (/.f64 angle 180) PI.f64)
2.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
2.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
0.0ms
(+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b (cos.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2))

series88.0ms (0.6%)

Counts
4 → 12
Calls

4 calls:

27.0ms
(*.f64 (/.f64 angle 180) PI.f64)
27.0ms
(*.f64 (/.f64 angle 180) PI.f64)
20.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
14.0ms
(cos.f64 (*.f64 (/.f64 angle 180) PI.f64))
Compiler

Compiled 512 to 464 computations (9.4% saved)

simplify107.0ms (0.8%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (89.0ms)

IterNodesCost
04892993
14892993

prune301.0ms (2.2%)

Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New652590
Fresh000
Picked101
Done000
Total662591
Error
18.5b
Counts
91 → 25
Compiler

Compiled 3013 to 2266 computations (24.8% saved)

localize12.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.3b
(*.f64 (/.f64 angle 180) PI.f64)
0.3b
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
0.2b
(*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)))
0.0b
(+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b 1) 2))
0.2b
(*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)))
0.3b
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
0.3b
(*.f64 (/.f64 angle 180) PI.f64)
24.1b
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))

rewrite25.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_441
16×associate-*l*_binary64_360
15×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
14×add-exp-log_binary64_457
11×add-cbrt-cube_binary64_455 pow1_binary64_480
10×times-frac_binary64_425
associate-*r*_binary64_359
add-log-exp_binary64_458 prod-exp_binary64_468
pow-prod-down_binary64_490 unswap-sqr_binary64_387 cbrt-unprod_binary64_452 pow-unpow_binary64_496
pow-exp_binary64_487 *-commutative_binary64_350 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 unpow2_binary64_484 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
4 → 75
Calls

8 calls:

7.0ms
(*.f64 (/.f64 angle 180) PI.f64)
5.0ms
(*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)))
4.0ms
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
2.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
0.0ms
(+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2) (pow.f64 (*.f64 b 1) 2))

series288.0ms (2.1%)

Counts
4 → 18
Calls

4 calls:

145.0ms
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64))) 2)
101.0ms
(*.f64 a (sin.f64 (*.f64 (/.f64 angle 180) PI.f64)))
26.0ms
(*.f64 (/.f64 angle 180) PI.f64)
15.0ms
(sin.f64 (*.f64 (/.f64 angle 180) PI.f64))
Compiler

Compiled 634 to 626 computations (1.3% saved)

simplify65.0ms (0.5%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049531256
149531256

prune217.0ms (1.6%)

Pruning

32 alts after pruning (32 fresh and 0 done)

PrunedKeptTotal
New741993
Fresh111324
Picked101
Done000
Total8632118
Error
18.5b
Counts
118 → 32
Compiler

Compiled 2702 to 2145 computations (20.6% saved)

localize12.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.3b
(pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180))) 2)
0.2b
(*.f64 angle PI.f64)
0.2b
(*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180)))
0.0b
(+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180))) 2) (pow.f64 (*.f64 b 1) 2))
0.2b
(*.f64 angle PI.f64)
0.3b
(pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180))) 2)
0.3b
(/.f64 (*.f64 angle PI.f64) 180)
23.8b
(sin.f64 (/.f64 (*.f64 angle PI.f64) 180))

rewrite19.0ms (0.1%)

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

8 calls:

4.0ms
(/.f64 (*.f64 angle PI.f64) 180)
4.0ms
(pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180))) 2)
4.0ms
(*.f64 angle PI.f64)
2.0ms
(sin.f64 (/.f64 (*.f64 angle PI.f64) 180))
0.0ms
(+.f64 (pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180))) 2) (pow.f64 (*.f64 b 1) 2))

series202.0ms (1.4%)

Counts
4 → 15
Calls

4 calls:

139.0ms
(pow.f64 (*.f64 a (sin.f64 (/.f64 (*.f64 angle PI.f64) 180))) 2)
25.0ms
(/.f64 (*.f64 angle PI.f64) 180)
19.0ms
(sin.f64 (/.f64 (*.f64 angle PI.f64) 180))
19.0ms
(*.f64 angle PI.f64)
Compiler

Compiled 528 to 523 computations (0.9% saved)

simplify63.0ms (0.5%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04988908
14988908

prune166.0ms (1.2%)

Pruning

33 alts after pruning (32 fresh and 1 done)

PrunedKeptTotal
New73679
Fresh52631
Picked011
Done000
Total7833111
Error
18.4b
Counts
111 → 33
Compiler

Compiled 2339 to 1790 computations (23.5% saved)

localize16.0ms (0.1%)

Local error

Found 8 expressions with local error:

0.3b
(/.f64 angle (sqrt.f64 180))
0.3b
(pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))))) 2)
0.2b
(*.f64 a (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180))))))
0.0b
(+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))))) 2) (pow.f64 (*.f64 b 1) 2))
0.3b
(/.f64 angle (sqrt.f64 180))
0.4b
(*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180))))
0.4b
(*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))
24.0b
(sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))))

rewrite50.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
56×times-frac_binary64_425
54×add-sqr-sqrt_binary64_441
50×add-exp-log_binary64_457
46×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
32×add-cbrt-cube_binary64_455
31×sqrt-prod_binary64_435
25×associate-*l*_binary64_360
23×associate-*r*_binary64_359
22×prod-exp_binary64_468
12×cbrt-unprod_binary64_452 div-exp_binary64_470
11×pow1_binary64_480
cbrt-undiv_binary64_453
associate-/r*_binary64_363
pow-prod-down_binary64_490 add-log-exp_binary64_458 associate-*r/_binary64_361
1-exp_binary64_463 div-inv_binary64_416 unswap-sqr_binary64_387 rec-exp_binary64_469 associate-/l*_binary64_364
*-commutative_binary64_350
associate-*l/_binary64_362 clear-num_binary64_418 frac-times_binary64_429 frac-2neg_binary64_430
Counts
4 → 142
Calls

8 calls:

14.0ms
(*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180))))
10.0ms
(*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))
7.0ms
(/.f64 angle (sqrt.f64 180))
3.0ms
(sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))))
0.0ms
(+.f64 (pow.f64 (*.f64 a (sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))))) 2) (pow.f64 (*.f64 b 1) 2))

series205.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

79.0ms
(*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180))))
55.0ms
(*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))
40.0ms
(/.f64 angle (sqrt.f64 180))
30.0ms
(sin.f64 (*.f64 (/.f64 1 (sqrt.f64 180)) (*.f64 PI.f64 (/.f64 angle (sqrt.f64 180)))))
Compiler

Compiled 505 to 503 computations (0.4% saved)

simplify97.0ms (0.7%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
049471893
149471893

prune278.0ms (2%)

Pruning

36 alts after pruning (35 fresh and 1 done)

PrunedKeptTotal
New1486154
Fresh22931
Picked101
Done011
Total15136187
Error
18.3b
Counts
187 → 36
Compiler

Compiled 3884 to 3057 computations (21.3% saved)

simplify57.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
07553933
17553933

regimes918.0ms (6.6%)

Compiler

Compiled 10711 to 9585 computations (10.5% saved)

bsearch0.0ms (0%)

regimes128.0ms (0.9%)

Compiler

Compiled 403 to 452 computations (-12.2% saved)

bsearch2.0ms (0%)

Compiler

Compiled 3 to 5 computations (-66.7% saved)

regimes119.0ms (0.9%)

Compiler

Compiled 335 to 392 computations (-17% saved)

bsearch1.0ms (0%)

Compiler

Compiled 3 to 5 computations (-66.7% saved)

regimes85.0ms (0.6%)

Compiler

Compiled 267 to 332 computations (-24.3% saved)

bsearch1.0ms (0%)

Compiler

Compiled 3 to 5 computations (-66.7% saved)

regimes57.0ms (0.4%)

Compiler

Compiled 128 to 180 computations (-40.6% saved)

bsearch212.0ms (1.5%)

Steps
ItersRangePoint
8
5.204745464537803e+182
1.8199328867965e+186
5.265500795844197e+182
Compiler

Compiled 3 to 5 computations (-66.7% saved)

regimes54.0ms (0.4%)

Compiler

Compiled 76 to 128 computations (-68.4% saved)

bsearch225.0ms (1.6%)

Steps
ItersRangePoint
8
5.204745464537803e+182
1.8199328867965e+186
7.163792265325332e+182
Compiler

Compiled 3 to 5 computations (-66.7% saved)

regimes27.0ms (0.2%)

Accuracy

Total 1.6b remaining (7.9%)

Threshold costs 0b (0%)

Compiler

Compiled 15 to 54 computations (-260% saved)

bsearch9.0ms (0.1%)

Compiler

Compiled 176 to 161 computations (8.5% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
085264
185264

end0.0ms (0%)

sample7.8s (55.7%)

Algorithm
intervals
Results
1.4s1584×body1024valid
1.2s1338×body1024invalid
637.0ms5056×body128valid
491.0ms825×body512valid
433.0ms711×body512invalid
239.0ms170×body2048valid
130.0ms364×body256valid
124.0ms339×body256invalid
82.0ms582×body128invalid
4.0msbody4096valid
Compiler

Compiled 2576 to 2306 computations (10.5% saved)

Pareto

0.17642535844642518

Profiling

Loading profile data...