Details

Time bar (total: 12.2s)

analyze1.1s (9.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06656
16656
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
0%99.9%0.1%6
6.2%93.6%0.1%7
9.4%90.5%0.1%8
14%85.8%0.1%9
19.5%80.4%0.1%10
20.7%79.2%0.1%11
22%77.8%0.1%12
23.5%76.4%0.1%13
23.8%76%0.1%14
Symmetry
Compiler

Compiled 10 to 9 computations (10% saved)

sample70.0ms (0.6%)

Algorithm
intervals
Results
30.0ms109×body1024valid
10.0msbody2048valid
9.0ms46×body512valid
5.0ms74×body128valid
3.0ms18×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02114
12114

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 18 to 16 computations (11.1% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
0.2b
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
3.7b
(cos.f64 (+.f64 a b))

rewrite79.0ms (0.6%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
24×add-sqr-sqrt_binary64_441
19×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419 times-frac_binary64_425
13×associate-*r*_binary64_359
10×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
pow1_binary64_480
add-log-exp_binary64_458 associate-*l*_binary64_360 associate-/l*_binary64_364 associate-/r*_binary64_363
div-exp_binary64_470 prod-exp_binary64_468 cbrt-unprod_binary64_452 cbrt-undiv_binary64_453 unswap-sqr_binary64_387 div-inv_binary64_416
cos-sum_binary64_553 pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350 frac-2neg_binary64_430 clear-num_binary64_418
Counts
3 → 67
Calls

3 calls:

7.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
4.0ms
(cos.f64 (+.f64 a b))
4.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
Compiler

Compiled 1186 to 235 computations (80.2% saved)

series517.0ms (4.2%)

Error
13.4b
Counts
3 → 39
Calls

3 calls:

270.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
155.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
46.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1877 to 1144 computations (39.1% saved)

simplify51.0ms (0.4%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
049862320
149862320

prune120.0ms (1%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9511106
Fresh000
Picked101
Done000
Total9611107
Error
0.2b
Counts
107 → 11
Compiler

Compiled 2099 to 649 computations (69.1% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
0.2b
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
0.2b
(*.f64 (sin.f64 b) (sin.f64 a))
0.2b
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))

rewrite152.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
29×add-sqr-sqrt_binary64_441
22×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
20×associate-*r*_binary64_359
19×times-frac_binary64_425
13×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
pow1_binary64_480 associate-/r/_binary64_365
sin-mult_binary64_574
add-log-exp_binary64_458 cos-mult_binary64_573 associate-*l*_binary64_360
frac-sub_binary64_428 sub-div_binary64_426 flip3--_binary64_423 flip--_binary64_394 associate-/l*_binary64_364 associate-/r*_binary64_363 prod-exp_binary64_468 cbrt-unprod_binary64_452 unswap-sqr_binary64_387
div-exp_binary64_470 cbrt-undiv_binary64_453 div-inv_binary64_416 pow-prod-down_binary64_490 *-commutative_binary64_350
frac-2neg_binary64_430 clear-num_binary64_418 associate-*r/_binary64_361 diff-log_binary64_511 sub-neg_binary64_412 cancel-sign-sub-inv_binary64_385
Counts
4 → 100
Calls

4 calls:

12.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
8.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
5.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2890 to 436 computations (84.9% saved)

series1.1s (9.3%)

Error
0.1b
Counts
4 → 50
Calls

4 calls:

536.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
289.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
158.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
104.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2798 to 1605 computations (42.6% saved)

simplify87.0ms (0.7%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049534029
149534029

prune156.0ms (1.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1437150
Fresh6410
Picked101
Done000
Total15011161
Error
0.0b
Counts
161 → 11
Compiler

Compiled 3858 to 1010 computations (73.8% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
0.1b
(*.f64 (sin.f64 b) r)
0.2b
(*.f64 (sin.f64 b) (sin.f64 a))
0.3b
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))

rewrite99.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
14×add-sqr-sqrt_binary64_441
13×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
10×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
pow1_binary64_480
add-log-exp_binary64_458 associate-*l*_binary64_360 associate-*r*_binary64_359
sin-mult_binary64_574
cos-mult_binary64_573 associate-/r/_binary64_365
prod-exp_binary64_468 cbrt-unprod_binary64_452 times-frac_binary64_425 associate-/r*_binary64_363
div-exp_binary64_470 cbrt-undiv_binary64_453 frac-sub_binary64_428 sub-div_binary64_426 flip3--_binary64_423 flip--_binary64_394 pow-prod-down_binary64_490 unswap-sqr_binary64_387 *-commutative_binary64_350
frac-2neg_binary64_430 clear-num_binary64_418 div-inv_binary64_416 associate-/l*_binary64_364 diff-log_binary64_511 sub-neg_binary64_412 cancel-sign-sub-inv_binary64_385
Counts
4 → 76
Calls

4 calls:

9.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
6.0ms
(*.f64 (sin.f64 b) r)
5.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 1946 to 307 computations (84.2% saved)

series944.0ms (7.7%)

Error
0.0b
Counts
4 → 47
Calls

4 calls:

547.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
183.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
100.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
72.0ms
(*.f64 (sin.f64 b) r)
Compiler

Compiled 2502 to 1386 computations (44.6% saved)

simplify72.0ms (0.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
051012640

prune111.0ms (0.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1203123
Fresh3710
Picked101
Done000
Total12410134
Error
0.0b
Counts
134 → 10
Compiler

Compiled 2926 to 721 computations (75.4% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
0.2b
(*.f64 (sin.f64 b) (/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))

rewrite130.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
29×add-sqr-sqrt_binary64_441
22×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
20×associate-*r*_binary64_359
19×times-frac_binary64_425
13×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
pow1_binary64_480 associate-/r/_binary64_365
sin-mult_binary64_574
add-log-exp_binary64_458 associate-*l*_binary64_360 cos-mult_binary64_573
prod-exp_binary64_468 cbrt-unprod_binary64_452 unswap-sqr_binary64_387 frac-sub_binary64_428 sub-div_binary64_426 flip3--_binary64_423 flip--_binary64_394 associate-/l*_binary64_364 associate-/r*_binary64_363
pow-prod-down_binary64_490 div-exp_binary64_470 cbrt-undiv_binary64_453 div-inv_binary64_416 *-commutative_binary64_350
associate-*r/_binary64_361 frac-2neg_binary64_430 clear-num_binary64_418 diff-log_binary64_511 sub-neg_binary64_412 cancel-sign-sub-inv_binary64_385
Counts
4 → 100
Calls

4 calls:

12.0ms
(*.f64 (sin.f64 b) (/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
7.0ms
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
5.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
5.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
Compiler

Compiled 2862 to 437 computations (84.7% saved)

series1.3s (10.8%)

Error
0.0b
Counts
4 → 53
Calls

4 calls:

555.0ms
(*.f64 (sin.f64 b) (/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
477.0ms
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
141.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
102.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
Compiler

Compiled 2982 to 1678 computations (43.7% saved)

simplify85.0ms (0.7%)

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050144172

prune128.0ms (1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh099
Picked011
Done000
Total15310163
Error
0.0b
Counts
163 → 10
Compiler

Compiled 3783 to 781 computations (79.4% saved)

regimes1.4s (11.4%)

Accuracy

Total 0.3b remaining (92.5%)

Threshold costs 0.3b (92.5%)

Compiler

Compiled 15381 to 9088 computations (40.9% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226
Removed

()

end0.0ms (0%)

sample4.4s (35.8%)

Algorithm
intervals
Results
1.0s3517×body1024valid
280.0ms1381×body512valid
164.0ms2349×body128valid
131.0ms205×body2048valid
76.0ms548×body256valid
0.0msbody1024invalid
0.0msbody512invalid
Compiler

Compiled 3028 to 1797 computations (40.7% saved)

Profiling

Loading profile data...