Details

Time bar (total: 8.1s)

analyze204.0ms (2.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04334
14334
022
122
Search
TrueOtherFalseIter
0%25%75%0
0%25%75%1
12.5%12.5%75%2
12.5%12.5%75%3
18.7%6.2%75%4
21.8%3.1%75%5
23.4%1.6%75%6
23.4%1.6%75%7
24.2%0.8%75%8
24.2%0.8%75%9
24.6%0.4%75%10
24.6%0.4%75%11
24.8%0.2%75%12
24.8%0.2%75%13
24.9%0.1%75%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample102.0ms (1.3%)

Algorithm
intervals
Results
43.0ms78×body1024valid
17.0ms132×body128valid
12.0ms30×body512valid
9.0ms256×pre128true
4.0ms16×body256valid
Compiler

Compiled 26 to 23 computations (11.5% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
02417
12417

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 22 to 18 computations (18.2% saved)

localize19.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
0.1b
(*.f64 e (cos.f64 v))
0.1b
(*.f64 e (sin.f64 v))

rewrite48.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64_1464
12×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
pow1_binary64_1503
associate-*r*_binary64_1382 associate-*l*_binary64_1383
associate-/r*_binary64_1386 cbrt-unprod_binary64_1475 times-frac_binary64_1448 add-log-exp_binary64_1481 prod-exp_binary64_1491
cbrt-undiv_binary64_1476 associate-/r/_binary64_1388 pow-prod-down_binary64_1513 *-commutative_binary64_1373 div-exp_binary64_1493 unswap-sqr_binary64_1410
div-inv_binary64_1439 clear-num_binary64_1441 associate-/l*_binary64_1387 frac-2neg_binary64_1453 flip3-+_binary64_1445 flip-+_binary64_1416
Counts
3 → 59
Calls

3 calls:

21.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
9.0ms
(*.f64 e (sin.f64 v))
9.0ms
(*.f64 e (cos.f64 v))

series482.0ms (5.9%)

Counts
3 → 23
Calls

3 calls:

247.0ms
(/.f64 (*.f64 e (sin.f64 v)) (+.f64 1 (*.f64 e (cos.f64 v))))
119.0ms
(*.f64 e (sin.f64 v))
116.0ms
(*.f64 e (cos.f64 v))
Compiler

Compiled 585 to 460 computations (21.4% saved)

simplify214.0ms (2.6%)

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (182.0ms)

IterNodesCost
049541070
149541070

prune153.0ms (1.9%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New75782
Fresh000
Picked101
Done000
Total76783
Error
0.0b
Counts
83 → 7
Compiler

Compiled 1345 to 526 computations (60.9% saved)

localize32.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.1b
(*.f64 e (sin.f64 v))
0.1b
(*.f64 e (pow.f64 (cos.f64 v) 2))
0.3b
(pow.f64 (cos.f64 v) 2)

rewrite55.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64_1464
14×associate-*r*_binary64_1382 add-exp-log_binary64_1480
13×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
10×add-cbrt-cube_binary64_1478
associate-*l*_binary64_1383 pow1_binary64_1503
unpow-prod-down_binary64_1521
unswap-sqr_binary64_1410
prod-exp_binary64_1491
add-log-exp_binary64_1481
cbrt-unprod_binary64_1475 unpow2_binary64_1507 pow-unpow_binary64_1519 *-commutative_binary64_1373 sqr-pow_binary64_1414
pow-exp_binary64_1510 pow-prod-down_binary64_1513 pow-to-exp_binary64_1511
pow-pow_binary64_1514
Counts
4 → 81
Calls

4 calls:

12.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
9.0ms
(*.f64 e (cos.f64 v))
9.0ms
(*.f64 e (sin.f64 v))
5.0ms
(pow.f64 (cos.f64 v) 2)

series466.0ms (5.7%)

Counts
4 → 22
Calls

4 calls:

155.0ms
(*.f64 e (pow.f64 (cos.f64 v) 2))
137.0ms
(*.f64 e (sin.f64 v))
135.0ms
(*.f64 e (cos.f64 v))
38.0ms
(pow.f64 (cos.f64 v) 2)
Compiler

Compiled 963 to 706 computations (26.7% saved)

simplify198.0ms (2.4%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (171.0ms)

IterNodesCost
04903854
14903854

prune197.0ms (2.4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1030103
Fresh066
Picked011
Done000
Total1037110
Error
0.0b
Counts
110 → 7
Compiler

Compiled 2660 to 1241 computations (53.3% saved)

localize17.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 e (cos.f64 v))
0.1b
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
0.2b
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))

rewrite49.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
84×times-frac_binary64_1448
57×add-sqr-sqrt_binary64_1464
55×add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
16×associate-/r*_binary64_1386
12×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
div-inv_binary64_1439 associate-/l*_binary64_1387
pow1_binary64_1503
cbrt-undiv_binary64_1476 div-exp_binary64_1493
associate-*r*_binary64_1382 associate-*l*_binary64_1383 add-log-exp_binary64_1481
associate-/l/_binary64_1389 clear-num_binary64_1441 frac-2neg_binary64_1453
cbrt-unprod_binary64_1475 associate-/r/_binary64_1388 pow-prod-down_binary64_1513 *-commutative_binary64_1373 flip3-+_binary64_1445 flip-+_binary64_1416 prod-exp_binary64_1491 unswap-sqr_binary64_1410
Counts
3 → 117
Calls

3 calls:

13.0ms
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))
10.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
7.0ms
(*.f64 e (cos.f64 v))

series597.0ms (7.3%)

Counts
3 → 26
Calls

3 calls:

255.0ms
(/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v))
230.0ms
(/.f64 e (/.f64 (+.f64 1 (*.f64 e (cos.f64 v))) (sin.f64 v)))
112.0ms
(*.f64 e (cos.f64 v))
Compiler

Compiled 632 to 489 computations (22.6% saved)

simplify144.0ms (1.8%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
050333434

prune227.0ms (2.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1403143
Fresh235
Picked011
Done011
Total1428150
Error
0b
Counts
150 → 8
Compiler

Compiled 2894 to 1189 computations (58.9% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sin.f64 v) (sqrt.f64 e))) (+.f64 1 (*.f64 e (cos.f64 v))))
0.1b
(*.f64 e (cos.f64 v))
0.2b
(*.f64 (sqrt.f64 e) (*.f64 (sin.f64 v) (sqrt.f64 e)))
0.3b
(*.f64 (sin.f64 v) (sqrt.f64 e))

rewrite61.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
22×add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480
19×add-sqr-sqrt_binary64_1464
13×pow1_binary64_1503 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
12×associate-*l*_binary64_1383
10×associate-*r*_binary64_1382
cbrt-unprod_binary64_1475 prod-exp_binary64_1491
sqrt-prod_binary64_1458
pow-prod-down_binary64_1513
add-log-exp_binary64_1481
cbrt-undiv_binary64_1476 associate-/r*_binary64_1386 times-frac_binary64_1448 *-commutative_binary64_1373 div-exp_binary64_1493 unswap-sqr_binary64_1410
associate-/r/_binary64_1388
div-inv_binary64_1439 clear-num_binary64_1441 associate-/l*_binary64_1387 frac-2neg_binary64_1453 flip3-+_binary64_1445 flip-+_binary64_1416
Counts
4 → 86
Calls

4 calls:

17.0ms
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sin.f64 v) (sqrt.f64 e))) (+.f64 1 (*.f64 e (cos.f64 v))))
14.0ms
(*.f64 (sqrt.f64 e) (*.f64 (sin.f64 v) (sqrt.f64 e)))
10.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
7.0ms
(*.f64 e (cos.f64 v))

series543.0ms (6.7%)

Counts
4 → 30
Calls

4 calls:

228.0ms
(/.f64 (*.f64 (sqrt.f64 e) (*.f64 (sin.f64 v) (sqrt.f64 e))) (+.f64 1 (*.f64 e (cos.f64 v))))
109.0ms
(*.f64 (sqrt.f64 e) (*.f64 (sin.f64 v) (sqrt.f64 e)))
103.0ms
(*.f64 e (cos.f64 v))
103.0ms
(*.f64 (sin.f64 v) (sqrt.f64 e))
Compiler

Compiled 928 to 705 computations (24% saved)

simplify114.0ms (1.4%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
050241497

prune149.0ms (1.8%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1151116
Fresh235
Picked011
Done022
Total1177124
Error
0b
Counts
124 → 7
Compiler

Compiled 1996 to 648 computations (67.5% saved)

regimes291.0ms (3.6%)

Accuracy

Total 0.1b remaining (93.4%)

Threshold costs 0.1b (93.4%)

Compiler

Compiled 1421 to 1028 computations (27.7% saved)

bsearch0.0ms (0%)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07534
17534

end0.0ms (0%)

sample3.7s (45.9%)

Algorithm
intervals
Results
1.1s1994×body1024valid
574.0ms4514×body128valid
366.0ms975×body512valid
267.0ms8000×pre128true
127.0ms510×body256valid
7.0msbody2048valid
Compiler

Compiled 502 to 364 computations (27.5% saved)

Profiling

Loading profile data...