Details

Time bar (total: 25.6s)

analyze1.7s (6.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05431154
022
122
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
50%50%0.1%4
74.9%25%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%8
74.9%25%0.1%9
74.9%25%0.1%10
74.9%25%0.1%11
74.9%25%0.1%12
74.9%25%0.1%13
74.9%25%0.1%14
Compiler

Compiled 51 to 41 computations (19.6% saved)

sample312.0ms (1.2%)

Algorithm
intervals
Results
194.0ms109×body1024valid
43.0ms37×body512valid
31.0ms87×body128valid
16.0ms21×body256valid
5.0msbody2048valid
Compiler

Compiled 101 to 83 computations (17.8% saved)

simplify93.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
0494077
1494077

prune16.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 146 to 116 computations (20.5% saved)

localize62.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
0.7b
(*.f64 3/2 (*.f64 (cos.f64 x) (-.f64 (sqrt.f64 5) 1)))
1.0b
(-.f64 3 (sqrt.f64 5))
2.1b
(-.f64 (cos.f64 x) (cos.f64 y))

rewrite103.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
47×cancel-sign-sub-inv_binary64_4477
44×add-sqr-sqrt_binary64_4533
35×*-un-lft-identity_binary64_4511
30×distribute-lft-in_binary64_4460 distribute-rgt-in_binary64_4461
29×add-cube-cbrt_binary64_4546
19×times-frac_binary64_4517
11×pow1_binary64_4572 add-cbrt-cube_binary64_4547 add-exp-log_binary64_4549
associate-*l*_binary64_4452
add-log-exp_binary64_4550 sub-neg_binary64_4504 sqrt-prod_binary64_4527
associate-*r*_binary64_4451
associate-*r/_binary64_4453
difference-of-squares_binary64_4480
flip--_binary64_4486 flip3--_binary64_4515 prod-exp_binary64_4560 cbrt-unprod_binary64_4544 pow-prod-down_binary64_4582
distribute-lft-out--_binary64_4463
unswap-sqr_binary64_4479 diff-log_binary64_4603 *-commutative_binary64_4442 div-inv_binary64_4508
diff-cos_binary64_4662
Counts
4 → 128
Calls

4 calls:

25.0ms
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
24.0ms
(*.f64 3/2 (*.f64 (cos.f64 x) (-.f64 (sqrt.f64 5) 1)))
9.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
8.0ms
(-.f64 3 (sqrt.f64 5))

series603.0ms (2.4%)

Counts
4 → 30
Calls

4 calls:

272.0ms
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
200.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
131.0ms
(*.f64 3/2 (*.f64 (cos.f64 x) (-.f64 (sqrt.f64 5) 1)))
0.0ms
(-.f64 3 (sqrt.f64 5))
Compiler

Compiled 2120 to 1724 computations (18.7% saved)

simplify151.0ms (0.6%)

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (96.0ms)

IterNodesCost
050192752

prune900.0ms (3.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New14810158
Fresh011
Picked101
Done000
Total14911160
Error
0.1b
Counts
160 → 11
Compiler

Compiled 8999 to 6044 computations (32.8% saved)

localize83.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.6b
(/.f64 (*.f64 3/2 (*.f64 (cos.f64 x) (+.f64 -1 (*.f64 5 (sqrt.f64 5))))) (+.f64 (*.f64 (sqrt.f64 5) (sqrt.f64 5)) (+.f64 (*.f64 1 1) (*.f64 (sqrt.f64 5) 1))))
1.0b
(-.f64 3 (sqrt.f64 5))
1.0b
(*.f64 (sqrt.f64 5) (sqrt.f64 5))
2.1b
(-.f64 (cos.f64 x) (cos.f64 y))

rewrite109.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64_4533
22×sqrt-prod_binary64_4527
21×*-un-lft-identity_binary64_4511
19×pow1_binary64_4572
17×add-cube-cbrt_binary64_4546
15×add-cbrt-cube_binary64_4547 add-exp-log_binary64_4549
cancel-sign-sub-inv_binary64_4477
add-log-exp_binary64_4550 swap-sqr_binary64_4478 pow1/2_binary64_4591 sqrt-pow1_binary64_4529
associate-*l*_binary64_4452 associate-*r*_binary64_4451
pow-prod-up_binary64_4581
unswap-sqr_binary64_4479 associate-*r/_binary64_4453 prod-exp_binary64_4560 cbrt-unprod_binary64_4544
div-exp_binary64_4562 pow-sqr_binary64_4484 difference-of-squares_binary64_4480 pow-prod-down_binary64_4582 associate-/r*_binary64_4455 times-frac_binary64_4517 cbrt-undiv_binary64_4545
distribute-lft-out--_binary64_4463 flip--_binary64_4486 associate-/l/_binary64_4458 flip-+_binary64_4485 flip3-+_binary64_4514 flip3--_binary64_4515 associate-/r/_binary64_4457 diff-log_binary64_4603 sub-neg_binary64_4504 rem-sqrt-square_binary64_4524
sqr-abs_binary64_4526 associate-/l*_binary64_4456 pow-plus_binary64_4574 sqrt-unprod_binary64_4531 pow2_binary64_4592 diff-cos_binary64_4662 frac-2neg_binary64_4522 rem-square-sqrt_binary64_4523 *-commutative_binary64_4442 clear-num_binary64_4510 div-inv_binary64_4508
Counts
4 → 114
Calls

4 calls:

32.0ms
(/.f64 (*.f64 3/2 (*.f64 (cos.f64 x) (+.f64 -1 (*.f64 5 (sqrt.f64 5))))) (+.f64 (*.f64 (sqrt.f64 5) (sqrt.f64 5)) (+.f64 (*.f64 1 1) (*.f64 (sqrt.f64 5) 1))))
13.0ms
(*.f64 (sqrt.f64 5) (sqrt.f64 5))
9.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
8.0ms
(-.f64 3 (sqrt.f64 5))

series568.0ms (2.2%)

Counts
4 → 18
Calls

4 calls:

365.0ms
(/.f64 (*.f64 3/2 (*.f64 (cos.f64 x) (+.f64 -1 (*.f64 5 (sqrt.f64 5))))) (+.f64 (*.f64 (sqrt.f64 5) (sqrt.f64 5)) (+.f64 (*.f64 1 1) (*.f64 (sqrt.f64 5) 1))))
203.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
0.0ms
(*.f64 (sqrt.f64 5) (sqrt.f64 5))
0.0ms
(-.f64 3 (sqrt.f64 5))
Compiler

Compiled 1812 to 1572 computations (13.2% saved)

simplify109.0ms (0.4%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
057121937

prune926.0ms (3.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh1910
Picked101
Done000
Total13211143
Error
0.1b
Counts
143 → 11
Compiler

Compiled 9535 to 7120 computations (25.3% saved)

localize62.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(+.f64 (*.f64 (cos.f64 y) (*.f64 3/2 (-.f64 3 (sqrt.f64 5)))) (/.f64 (*.f64 (cos.f64 x) 6) (+.f64 (sqrt.f64 5) 1)))
0.4b
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
1.0b
(-.f64 3 (sqrt.f64 5))
2.1b
(-.f64 (cos.f64 x) (cos.f64 y))

rewrite118.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
59×cancel-sign-sub-inv_binary64_4477
47×add-sqr-sqrt_binary64_4533
42×distribute-lft-in_binary64_4460 distribute-rgt-in_binary64_4461
38×*-un-lft-identity_binary64_4511
32×add-cube-cbrt_binary64_4546
28×associate-+l+_binary64_4444
20×sqrt-prod_binary64_4527
19×times-frac_binary64_4517
10×add-log-exp_binary64_4550
sub-neg_binary64_4504
pow1_binary64_4572 add-cbrt-cube_binary64_4547 add-exp-log_binary64_4549 associate-*l*_binary64_4452 associate-*r/_binary64_4453 associate-*r*_binary64_4451
difference-of-squares_binary64_4480
flip--_binary64_4486 flip3--_binary64_4515
distribute-lft-out--_binary64_4463
frac-add_binary64_4519 unswap-sqr_binary64_4479 diff-log_binary64_4603 div-inv_binary64_4508
flip-+_binary64_4485 flip3-+_binary64_4514 +-commutative_binary64_4441 prod-exp_binary64_4560 cbrt-unprod_binary64_4544 diff-cos_binary64_4662 sum-log_binary64_4602 pow-prod-down_binary64_4582 *-commutative_binary64_4442
Counts
4 → 133
Calls

4 calls:

33.0ms
(+.f64 (*.f64 (cos.f64 y) (*.f64 3/2 (-.f64 3 (sqrt.f64 5)))) (/.f64 (*.f64 (cos.f64 x) 6) (+.f64 (sqrt.f64 5) 1)))
25.0ms
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
9.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
8.0ms
(-.f64 3 (sqrt.f64 5))

series1.0s (4.1%)

Counts
4 → 36
Calls

4 calls:

571.0ms
(+.f64 (*.f64 (cos.f64 y) (*.f64 3/2 (-.f64 3 (sqrt.f64 5)))) (/.f64 (*.f64 (cos.f64 x) 6) (+.f64 (sqrt.f64 5) 1)))
287.0ms
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
181.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
0.0ms
(-.f64 3 (sqrt.f64 5))
Compiler

Compiled 2602 to 2104 computations (19.1% saved)

simplify169.0ms (0.7%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
049024004
149024004

prune836.0ms (3.3%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1672169
Fresh3710
Picked011
Done000
Total17010180
Error
0.1b
Counts
180 → 10
Compiler

Compiled 9750 to 6557 computations (32.7% saved)

localize66.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (*.f64 (*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16))) (-.f64 (sin.f64 y) (/.f64 (sin.f64 x) 16))) (-.f64 (cos.f64 x) (cos.f64 y)))
0.3b
(+.f64 (*.f64 (cos.f64 y) (*.f64 3/2 (/.f64 4 (+.f64 3 (sqrt.f64 5))))) (/.f64 (*.f64 (cos.f64 x) 6) (+.f64 (sqrt.f64 5) 1)))
0.4b
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
2.1b
(-.f64 (cos.f64 x) (cos.f64 y))

rewrite158.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64_4533
35×cancel-sign-sub-inv_binary64_4477
31×*-un-lft-identity_binary64_4511
30×associate-*r/_binary64_4453
29×flip--_binary64_4486 flip3--_binary64_4515
28×frac-times_binary64_4521
25×add-cube-cbrt_binary64_4546
19×times-frac_binary64_4517
18×distribute-lft-in_binary64_4460 distribute-rgt-in_binary64_4461
15×pow1_binary64_4572 add-cbrt-cube_binary64_4547 add-exp-log_binary64_4549
14×associate-*l/_binary64_4454
12×associate-*r*_binary64_4451
add-log-exp_binary64_4550
associate-*l*_binary64_4452 prod-exp_binary64_4560 cbrt-unprod_binary64_4544 pow-prod-down_binary64_4582
sub-neg_binary64_4504
difference-of-squares_binary64_4480 sqrt-prod_binary64_4527
distribute-lft-out--_binary64_4463
unswap-sqr_binary64_4479 diff-cos_binary64_4662 *-commutative_binary64_4442 div-inv_binary64_4508
frac-add_binary64_4519 flip-+_binary64_4485 flip3-+_binary64_4514 +-commutative_binary64_4441 diff-log_binary64_4603 sum-log_binary64_4602
Counts
4 → 142
Calls

4 calls:

48.0ms
(*.f64 (*.f64 (*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16))) (-.f64 (sin.f64 y) (/.f64 (sin.f64 x) 16))) (-.f64 (cos.f64 x) (cos.f64 y)))
28.0ms
(+.f64 (*.f64 (cos.f64 y) (*.f64 3/2 (/.f64 4 (+.f64 3 (sqrt.f64 5))))) (/.f64 (*.f64 (cos.f64 x) 6) (+.f64 (sqrt.f64 5) 1)))
26.0ms
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
9.0ms
(-.f64 (cos.f64 x) (cos.f64 y))

series1.7s (6.5%)

Counts
4 → 46
Calls

4 calls:

631.0ms
(*.f64 (*.f64 (*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16))) (-.f64 (sin.f64 y) (/.f64 (sin.f64 x) 16))) (-.f64 (cos.f64 x) (cos.f64 y)))
548.0ms
(+.f64 (*.f64 (cos.f64 y) (*.f64 3/2 (/.f64 4 (+.f64 3 (sqrt.f64 5))))) (/.f64 (*.f64 (cos.f64 x) 6) (+.f64 (sqrt.f64 5) 1)))
291.0ms
(*.f64 (sqrt.f64 2) (-.f64 (sin.f64 x) (/.f64 (sin.f64 y) 16)))
202.0ms
(-.f64 (cos.f64 x) (cos.f64 y))
Compiler

Compiled 3581 to 2933 computations (18.1% saved)

simplify234.0ms (0.9%)

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (111.0ms)

IterNodesCost
050187132

prune1.2s (4.6%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1871188
Fresh178
Picked011
Done011
Total18810198
Error
0.1b
Counts
198 → 10
Compiler

Compiled 11585 to 7641 computations (34% saved)

regimes1.1s (4.3%)

Accuracy

Total 0.3b remaining (70.5%)

Threshold costs 0.3b (70.5%)

Compiler

Compiled 8549 to 6889 computations (19.4% saved)

bsearch0.0ms (0%)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08984
18984

end0.0ms (0%)

sample13.2s (51.8%)

Algorithm
intervals
Results
5.8s3482×body1024valid
1.5s1347×body512valid
942.0ms2609×body128valid
402.0ms549×body256valid
37.0ms13×body2048valid
Compiler

Compiled 2918 to 2352 computations (19.4% saved)

Profiling

Loading profile data...