Details

Time bar (total: 8.3s)

analyze1.0s (12.4%)

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
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
Compiler

Compiled 10 to 9 computations (10% saved)

sample73.0ms (0.9%)

Algorithm
intervals
Results
36.0ms99×body1024valid
12.0ms55×body512valid
6.0msbody2048valid
5.0ms74×body128valid
3.0ms20×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify174.0ms (2.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02114
12114

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.4b

Counts
2 → 1
Compiler

Compiled 18 to 16 computations (11.1% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
add-sqr-sqrt_binary64_445
*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
pow1_binary64_484
times-frac_binary64_429 associate-*l*_binary64_364 associate-*r*_binary64_363 add-log-exp_binary64_462 associate-/r*_binary64_367
prod-exp_binary64_472 cbrt-undiv_binary64_457 div-exp_binary64_474 cbrt-unprod_binary64_456
pow-prod-down_binary64_494 cos-sum_binary64_557 *-commutative_binary64_354 clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 unswap-sqr_binary64_391 associate-/l*_binary64_368
Counts
3 → 47
Calls

3 calls:

6.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
5.0ms
(cos.f64 (+.f64 a b))
5.0ms
(*.f64 r (sin.f64 b))

series307.0ms (3.7%)

Counts
3 → 9
Calls

3 calls:

216.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
59.0ms
(*.f64 r (sin.f64 b))
31.0ms
(cos.f64 (+.f64 a b))

simplify83.0ms (1%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
04847692
14847692

prune163.0ms (2%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New49756
Fresh000
Picked101
Done000
Total50757

Merged error: 0.2b

Counts
57 → 7
Compiler

Compiled 2391 to 1433 computations (40.1% saved)

localize15.0ms (0.2%)

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 r (sin.f64 b))
0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_445
13×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
10×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
pow1_binary64_484
associate-*l*_binary64_364 associate-*r*_binary64_363 add-log-exp_binary64_462
sin-mult_binary64_578
cos-mult_binary64_577 associate-/r/_binary64_369
times-frac_binary64_429 prod-exp_binary64_472 associate-/r*_binary64_367 cbrt-unprod_binary64_456
pow-prod-down_binary64_494 flip3--_binary64_427 *-commutative_binary64_354 flip--_binary64_398 unswap-sqr_binary64_391 sub-div_binary64_430 cbrt-undiv_binary64_457 div-exp_binary64_474 frac-sub_binary64_432
sub-neg_binary64_416 diff-log_binary64_515 cancel-sign-sub-inv_binary64_389 clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 associate-/l*_binary64_368
Counts
4 → 76
Calls

4 calls:

10.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
6.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))
5.0ms
(*.f64 r (sin.f64 b))

series800.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

504.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
157.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
80.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
58.0ms
(*.f64 r (sin.f64 b))

simplify78.0ms (0.9%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
064681592

prune389.0ms (4.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New79988
Fresh606
Picked101
Done000
Total86995

Merged error: 0b

Counts
95 → 9
Compiler

Compiled 7794 to 3603 computations (53.8% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite38.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64_445
29×*-un-lft-identity_binary64_423
19×add-cube-cbrt_binary64_458
18×times-frac_binary64_429
13×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
associate-/r*_binary64_367
pow1_binary64_484 add-log-exp_binary64_462
distribute-lft-out--_binary64_375 difference-of-squares_binary64_392
associate-/l*_binary64_368
associate-*l*_binary64_364 cancel-sign-sub-inv_binary64_389 associate-*r*_binary64_363 cbrt-undiv_binary64_457 div-exp_binary64_474
prod-exp_binary64_472 flip3--_binary64_427 cos-mult_binary64_577 associate-/r/_binary64_369 clear-num_binary64_422 frac-2neg_binary64_434 flip--_binary64_398 div-inv_binary64_420 cbrt-unprod_binary64_456
pow-prod-down_binary64_494 sub-neg_binary64_416 diff-log_binary64_515 associate-/l/_binary64_370 *-commutative_binary64_354 unswap-sqr_binary64_391
Counts
4 → 94
Calls

4 calls:

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

series848.0ms (10.2%)

Counts
4 → 12
Calls

4 calls:

447.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
179.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))
159.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
62.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify84.0ms (1%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049292353
149292353

prune280.0ms (3.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1033106
Fresh268
Picked011
Done000
Total10510115

Merged error: 0b

Counts
115 → 10
Compiler

Compiled 6162 to 2529 computations (59% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite39.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt_binary64_445
29×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
28×times-frac_binary64_429
13×associate-*r*_binary64_363 add-exp-log_binary64_461 add-cbrt-cube_binary64_459
pow1_binary64_484 add-log-exp_binary64_462 associate-/l*_binary64_368 associate-/r*_binary64_367
associate-*l*_binary64_364 cancel-sign-sub-inv_binary64_389 div-inv_binary64_420 cbrt-undiv_binary64_457 div-exp_binary64_474
prod-exp_binary64_472 flip3--_binary64_427 associate-/r/_binary64_369 clear-num_binary64_422 frac-2neg_binary64_434 flip--_binary64_398 unswap-sqr_binary64_391 cbrt-unprod_binary64_456
pow-prod-down_binary64_494 sub-neg_binary64_416 diff-log_binary64_515 associate-*r/_binary64_365 *-commutative_binary64_354
Counts
4 → 102
Calls

4 calls:

9.0ms
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (/.f64 (cos.f64 b) (sin.f64 b))) (sin.f64 a)))
8.0ms
(*.f64 (cos.f64 a) (/.f64 (cos.f64 b) (sin.f64 b)))
7.0ms
(-.f64 (*.f64 (cos.f64 a) (/.f64 (cos.f64 b) (sin.f64 b))) (sin.f64 a))
4.0ms
(/.f64 (cos.f64 b) (sin.f64 b))

series810.0ms (9.8%)

Counts
4 → 12
Calls

4 calls:

450.0ms
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (/.f64 (cos.f64 b) (sin.f64 b))) (sin.f64 a)))
171.0ms
(-.f64 (*.f64 (cos.f64 a) (/.f64 (cos.f64 b) (sin.f64 b))) (sin.f64 a))
143.0ms
(*.f64 (cos.f64 a) (/.f64 (cos.f64 b) (sin.f64 b)))
47.0ms
(/.f64 (cos.f64 b) (sin.f64 b))

simplify78.0ms (0.9%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049732399
149732399

prune145.0ms (1.7%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1131114
Fresh178
Picked011
Done011
Total11410124

Merged error: 0b

Counts
124 → 10
Compiler

Compiled 3415 to 1060 computations (69% saved)

regimes75.0ms (0.9%)

Compiler

Compiled 735 to 450 computations (38.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02321
12321

end0.0ms (0%)

sample2.7s (32.5%)

Algorithm
intervals
Results
1.5s3508×body1024valid
322.0ms1383×body512valid
173.0ms200×body2048valid
162.0ms2312×body128valid
91.0ms597×body256valid
Compiler

Compiled 266 to 167 computations (37.2% saved)

Profiling

Loading profile data...