Details

Time bar (total: 37.7s)

analyze3.9s (10.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05080128
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
0%99.9%0.1%7
0%99.9%0.1%8
0%99.9%0.1%9
0%99.9%0.1%10
0%99.5%0.5%11
0%99.1%0.9%12
0.4%97.3%2.3%13
0.7%95.8%3.5%14
Compiler

Compiled 26 to 22 computations (15.4% saved)

sample745.0ms (2%)

Algorithm
intervals
Results
240.0ms41×body4096invalid
132.0ms123×body1024valid
104.0ms34×body2048invalid
65.0ms14×body4096valid
64.0ms35×body2048valid
36.0ms28×body1024invalid
32.0ms43×body512valid
11.0ms16×body512invalid
7.0ms32×body128invalid
7.0ms15×body256valid
6.0ms26×body128valid
3.0msbody256invalid
Compiler

Compiled 51 to 46 computations (9.8% saved)

simplify39.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0518532

prune9.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
38.7b
Counts
2 → 1
Compiler

Compiled 42 to 34 computations (19% saved)

localize32.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.6b
(*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k))
0.7b
(/.f64 2 (*.f64 (*.f64 (*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k)) (tan.f64 k)) (pow.f64 (/.f64 k t) 2)))
14.4b
(/.f64 (pow.f64 t 3) (*.f64 l l))
27.7b
(*.f64 (*.f64 (*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k)) (tan.f64 k)) (pow.f64 (/.f64 k t) 2))

rewrite879.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
25.4b
Rules
396×add-exp-log_binary64_457
229×prod-exp_binary64_468
115×div-exp_binary64_470
65×add-cbrt-cube_binary64_455
56×pow-exp_binary64_487
40×times-frac_binary64_425
38×pow-to-exp_binary64_488
34×add-sqr-sqrt_binary64_441
31×cbrt-unprod_binary64_452
25×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
23×unpow-prod-down_binary64_498
21×associate-*r*_binary64_359
17×associate-*l*_binary64_360
15×associate-/l*_binary64_364
14×cbrt-undiv_binary64_453
13×associate-*l/_binary64_362
10×cube-prod_binary64_447
pow1_binary64_480
sqr-pow_binary64_391 unswap-sqr_binary64_387
add-log-exp_binary64_458 tan-quot_binary64_578 div-inv_binary64_416
unpow3_binary64_485 cube-mult_binary64_449 associate-/r/_binary64_365
frac-times_binary64_429 associate-*r/_binary64_361 *-commutative_binary64_350 frac-2neg_binary64_430 clear-num_binary64_418 associate-/r*_binary64_363
unpow2_binary64_484 pow-prod-down_binary64_490
Counts
4 → 221
Calls

4 calls:

46.0ms
(*.f64 (*.f64 (*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k)) (tan.f64 k)) (pow.f64 (/.f64 k t) 2))
39.0ms
(/.f64 2 (*.f64 (*.f64 (*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k)) (tan.f64 k)) (pow.f64 (/.f64 k t) 2)))
21.0ms
(*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k))
13.0ms
(/.f64 (pow.f64 t 3) (*.f64 l l))
Compiler

Compiled 5328 to 2607 computations (51.1% saved)

series3.3s (8.8%)

Error
19.9b
Counts
4 → 41
Calls

4 calls:

1.6s
(/.f64 2 (*.f64 (*.f64 (*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k)) (tan.f64 k)) (pow.f64 (/.f64 k t) 2)))
870.0ms
(*.f64 (*.f64 (*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k)) (tan.f64 k)) (pow.f64 (/.f64 k t) 2))
640.0ms
(*.f64 (/.f64 (pow.f64 t 3) (*.f64 l l)) (sin.f64 k))
148.0ms
(/.f64 (pow.f64 t 3) (*.f64 l l))
Compiler

Compiled 1990 to 1662 computations (16.5% saved)

simplify209.0ms (0.6%)

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
049706577
149706577

prune493.0ms (1.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New25210262
Fresh000
Picked101
Done000
Total25310263
Error
16.0b
Counts
263 → 10
Compiler

Compiled 3330 to 1739 computations (47.8% saved)

localize30.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(pow.f64 (sin.f64 k) 2)
1.7b
(*.f64 t (pow.f64 (sin.f64 k) 2))
5.1b
(*.f64 (*.f64 k k) (*.f64 t (pow.f64 (sin.f64 k) 2)))
18.7b
(/.f64 (*.f64 (*.f64 l l) (cos.f64 k)) (*.f64 (*.f64 k k) (*.f64 t (pow.f64 (sin.f64 k) 2))))

rewrite749.0ms (2%)

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

4 calls:

28.0ms
(/.f64 (*.f64 (*.f64 l l) (cos.f64 k)) (*.f64 (*.f64 k k) (*.f64 t (pow.f64 (sin.f64 k) 2))))
21.0ms
(*.f64 (*.f64 k k) (*.f64 t (pow.f64 (sin.f64 k) 2)))
13.0ms
(*.f64 t (pow.f64 (sin.f64 k) 2))
6.0ms
(pow.f64 (sin.f64 k) 2)
Compiler

Compiled 3346 to 1274 computations (61.9% saved)

series2.1s (5.6%)

Error
16.0b
Counts
4 → 36
Calls

4 calls:

1.3s
(/.f64 (*.f64 (*.f64 l l) (cos.f64 k)) (*.f64 (*.f64 k k) (*.f64 t (pow.f64 (sin.f64 k) 2))))
386.0ms
(*.f64 (*.f64 k k) (*.f64 t (pow.f64 (sin.f64 k) 2)))
255.0ms
(*.f64 t (pow.f64 (sin.f64 k) 2))
69.0ms
(pow.f64 (sin.f64 k) 2)
Compiler

Compiled 1697 to 1294 computations (23.7% saved)

simplify144.0ms (0.4%)

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
050023050

prune333.0ms (0.9%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New15010160
Fresh189
Picked101
Done000
Total15218170
Error
11.8b
Counts
170 → 18
Compiler

Compiled 2047 to 1026 computations (49.9% saved)

localize28.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.4b
(pow.f64 (sin.f64 k) 2)
1.7b
(*.f64 t (pow.f64 (sin.f64 k) 2))
6.9b
(/.f64 (*.f64 (/.f64 (*.f64 l l) (*.f64 k k)) (cos.f64 k)) (*.f64 t (pow.f64 (sin.f64 k) 2)))
14.6b
(/.f64 (*.f64 l l) (*.f64 k k))

rewrite669.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
4.7b
Rules
134×add-exp-log_binary64_457
74×add-cbrt-cube_binary64_455
61×prod-exp_binary64_468
44×div-exp_binary64_470
29×cbrt-unprod_binary64_452
24×cbrt-undiv_binary64_453
15×add-sqr-sqrt_binary64_441
add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
pow-to-exp_binary64_488 pow-exp_binary64_487 associate-*r*_binary64_359
unpow-prod-down_binary64_498
pow1_binary64_480
add-log-exp_binary64_458 unswap-sqr_binary64_387
unpow2_binary64_484 sqr-pow_binary64_391 associate-*l*_binary64_360 pow-unpow_binary64_496
frac-2neg_binary64_430 times-frac_binary64_425 clear-num_binary64_418 div-inv_binary64_416 associate-/l*_binary64_364 associate-/r*_binary64_363
associate-*l/_binary64_362 associate-/l/_binary64_366 *-commutative_binary64_350 pow-pow_binary64_491
Counts
4 → 116
Calls

4 calls:

25.0ms
(/.f64 (*.f64 (/.f64 (*.f64 l l) (*.f64 k k)) (cos.f64 k)) (*.f64 t (pow.f64 (sin.f64 k) 2)))
13.0ms
(/.f64 (*.f64 l l) (*.f64 k k))
12.0ms
(*.f64 t (pow.f64 (sin.f64 k) 2))
5.0ms
(pow.f64 (sin.f64 k) 2)
Compiler

Compiled 3099 to 1090 computations (64.8% saved)

series1.9s (5.1%)

Error
11.8b
Counts
4 → 33
Calls

4 calls:

1.3s
(/.f64 (*.f64 (/.f64 (*.f64 l l) (*.f64 k k)) (cos.f64 k)) (*.f64 t (pow.f64 (sin.f64 k) 2)))
277.0ms
(*.f64 t (pow.f64 (sin.f64 k) 2))
193.0ms
(/.f64 (*.f64 l l) (*.f64 k k))
68.0ms
(pow.f64 (sin.f64 k) 2)
Compiler

Compiled 1527 to 1189 computations (22.1% saved)

simplify128.0ms (0.3%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
049712606
149712606

prune368.0ms (1%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1409149
Fresh8917
Picked101
Done000
Total14918167
Error
5.4b
Counts
167 → 18
Compiler

Compiled 1942 to 938 computations (51.7% saved)

localize29.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 (fabs.f64 (/.f64 l k)) (fabs.f64 (/.f64 l k)))
0.4b
(pow.f64 (sin.f64 k) 2)
1.7b
(*.f64 t (pow.f64 (sin.f64 k) 2))
6.9b
(/.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 l k)) (fabs.f64 (/.f64 l k))) (cos.f64 k)) (*.f64 t (pow.f64 (sin.f64 k) 2)))

rewrite663.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
2.7b
Rules
54×add-exp-log_binary64_457
29×add-cbrt-cube_binary64_455
25×prod-exp_binary64_468
21×add-sqr-sqrt_binary64_441
13×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
12×pow1_binary64_480 div-exp_binary64_470
11×cbrt-unprod_binary64_452 associate-*r*_binary64_359
unpow-prod-down_binary64_498
cbrt-undiv_binary64_453 associate-*l*_binary64_360
pow-to-exp_binary64_488 pow-exp_binary64_487 unswap-sqr_binary64_387
add-log-exp_binary64_458
unpow2_binary64_484 sqr-pow_binary64_391 pow-unpow_binary64_496 swap-sqr_binary64_386
*-commutative_binary64_350
frac-2neg_binary64_430 times-frac_binary64_425 clear-num_binary64_418 div-inv_binary64_416 associate-/l*_binary64_364 associate-/r*_binary64_363 pow-pow_binary64_491 pow2_binary64_500 pow-prod-down_binary64_490 pow-prod-up_binary64_489 pow-plus_binary64_482 sqr-abs_binary64_434 pow-sqr_binary64_392
Counts
4 → 102
Calls

4 calls:

19.0ms
(/.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 l k)) (fabs.f64 (/.f64 l k))) (cos.f64 k)) (*.f64 t (pow.f64 (sin.f64 k) 2)))
12.0ms
(*.f64 t (pow.f64 (sin.f64 k) 2))
7.0ms
(*.f64 (fabs.f64 (/.f64 l k)) (fabs.f64 (/.f64 l k)))
5.0ms
(pow.f64 (sin.f64 k) 2)
Compiler

Compiled 2770 to 923 computations (66.7% saved)

series1.4s (3.7%)

Error
5.4b
Counts
4 → 33
Calls

4 calls:

1.1s
(/.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 l k)) (fabs.f64 (/.f64 l k))) (cos.f64 k)) (*.f64 t (pow.f64 (sin.f64 k) 2)))
169.0ms
(*.f64 t (pow.f64 (sin.f64 k) 2))
79.0ms
(*.f64 (fabs.f64 (/.f64 l k)) (fabs.f64 (/.f64 l k)))
39.0ms
(pow.f64 (sin.f64 k) 2)
Compiler

Compiled 1611 to 1157 computations (28.2% saved)

simplify56.0ms (0.1%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
051332146

prune184.0ms (0.5%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New12510135
Fresh51217
Picked101
Done000
Total13122153
Error
2.1b
Counts
153 → 22
Compiler

Compiled 1695 to 696 computations (58.9% saved)

regimes5.1s (13.4%)

Accuracy

Total 4.6b remaining (60.8%)

Threshold costs 0b (0%)

Compiler

Compiled 46271 to 34320 computations (25.8% saved)

bsearch434.0ms (1.2%)

Steps
ItersRangePoint
11
-2.8945294841923303e-83
-1.2120684079796774e-107
-7.942342797387742e-100
6
-0.0009704793250657911
-7.1476832547496e-05
-9.149498934587888e-05
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04390
14390

end6.0ms (0%)

Compiler

Compiled 59 to 36 computations (39% saved)

sample13.8s (36.5%)

Algorithm
intervals
Results
4.4s1238×body4096invalid
2.2s3851×body1024valid
2.2s1098×body2048invalid
1.1s487×body4096valid
1.0s1005×body2048valid
559.0ms1378×body512valid
419.0ms688×body1024invalid
192.0ms473×body512invalid
158.0ms1123×body128invalid
132.0ms499×body256valid
113.0ms780×body128valid
72.0ms260×body256invalid
Compiler

Compiled 618 to 471 computations (23.8% saved)

Profiling

Loading profile data...