Details

Time bar (total: 6.4s)

analyze183.0ms (2.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0480913
1480913
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample86.0ms (1.3%)

Algorithm
intervals
Results
57.0ms118×body2048valid
15.0ms71×body1024valid
4.0ms34×body512valid
1.0ms16×body256valid
1.0ms17×body128valid
Compiler

Compiled 17 to 16 computations (5.9% saved)

simplify92.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
0480913
1480913

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 16 to 14 computations (12.5% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (exp.f64 x) 2)
4.2b
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))

rewrite64.0ms (1%)

Algorithm
rewrite-expression-head
Error
32.2b
Rules
11×*-un-lft-identity_binary64_419
add-log-exp_binary64_458
add-sqr-sqrt_binary64_441 cancel-sign-sub-inv_binary64_385
add-cube-cbrt_binary64_454 frac-add_binary64_427 associate-+l+_binary64_352
flip3--_binary64_423 flip--_binary64_394
diff-log_binary64_511 sum-log_binary64_510 pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 neg-sub0_binary64_414 exp-diff_binary64_467 exp-neg_binary64_466 distribute-lft-out_binary64_370 distribute-lft-out--_binary64_371 sub-neg_binary64_412
flip3-+_binary64_422 flip-+_binary64_393 associate-+l-_binary64_354 +-commutative_binary64_349 difference-of-squares_binary64_388
Counts
2 → 39
Calls

2 calls:

8.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
4.0ms
(-.f64 (exp.f64 x) 2)
Compiler

Compiled 663 to 349 computations (47.4% saved)

series61.0ms (0.9%)

Error
0.0b
Counts
2 → 12
Calls

2 calls:

34.0ms
(+.f64 (-.f64 (exp.f64 x) 2) (exp.f64 (neg.f64 x)))
15.0ms
(-.f64 (exp.f64 x) 2)
Compiler

Compiled 283 to 221 computations (21.9% saved)

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
04844726
14844726

prune43.0ms (0.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New48351
Fresh000
Picked101
Done000
Total49352
Error
0.0b
Counts
52 → 3
Compiler

Compiled 691 to 354 computations (48.8% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))
0.0b
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))
0.1b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))

rewrite122.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
20×add-sqr-sqrt_binary64_441
14×add-exp-log_binary64_457 associate-*r*_binary64_359
11×add-log-exp_binary64_458
10×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
add-cbrt-cube_binary64_455 unpow-prod-down_binary64_498
prod-exp_binary64_468 unswap-sqr_binary64_387 associate-*l*_binary64_360
pow1_binary64_480 sqr-pow_binary64_391 sum-log_binary64_510
pow-to-exp_binary64_488 pow-exp_binary64_487 cbrt-unprod_binary64_452 *-commutative_binary64_350 flip3-+_binary64_422 flip-+_binary64_393 +-commutative_binary64_349
associate-+r+_binary64_351
Counts
4 → 74
Calls

4 calls:

8.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))
6.0ms
(*.f64 1/12 (pow.f64 x 4))
6.0ms
(*.f64 1/360 (pow.f64 x 6))
5.0ms
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))
Compiler

Compiled 1750 to 1260 computations (28% saved)

series335.0ms (5.2%)

Error
0.0b
Counts
4 → 21
Calls

4 calls:

145.0ms
(+.f64 (*.f64 x x) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6))))
102.0ms
(+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 1/360 (pow.f64 x 6)))
41.0ms
(*.f64 1/360 (pow.f64 x 6))
33.0ms
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 682 to 534 computations (21.7% saved)

simplify84.0ms (1.3%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
050401349

prune107.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New93295
Fresh022
Picked011
Done000
Total93598
Error
0b
Counts
98 → 5
Compiler

Compiled 1893 to 1344 computations (29% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 1/360 (pow.f64 x 6))
0.1b
(*.f64 1/12 (pow.f64 x 4))
0.1b
(pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3)
22.0b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3))

rewrite205.0ms (3.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
26×add-sqr-sqrt_binary64_441
16×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
15×add-exp-log_binary64_457
14×unpow-prod-down_binary64_498 associate-*r*_binary64_359
12×cbrt-prod_binary64_450
add-cbrt-cube_binary64_455
cube-prod_binary64_447 sqr-pow_binary64_391 prod-exp_binary64_468 unswap-sqr_binary64_387 associate-*l*_binary64_360
pow1_binary64_480
add-log-exp_binary64_458 cube-div_binary64_448
pow-unpow_binary64_496 pow-to-exp_binary64_488 pow-exp_binary64_487
flip3-+_binary64_422 cbrt-div_binary64_451 flip-+_binary64_393 unpow3_binary64_485 cube-mult_binary64_449 cbrt-unprod_binary64_452 *-commutative_binary64_350
pow1/3_binary64_501 rem-cbrt-cube_binary64_443 pow-pow_binary64_491 rem-cube-cbrt_binary64_442
Counts
4 → 98
Calls

4 calls:

11.0ms
(pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3)
9.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3))
6.0ms
(*.f64 1/12 (pow.f64 x 4))
5.0ms
(*.f64 1/360 (pow.f64 x 6))
Compiler

Compiled 2997 to 2224 computations (25.8% saved)

series334.0ms (5.2%)

Error
0b
Counts
4 → 27
Calls

4 calls:

150.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3))
89.0ms
(pow.f64 (+.f64 (*.f64 1/360 (pow.f64 x 6)) (+.f64 (*.f64 1/12 (pow.f64 x 4)) (*.f64 x x))) 3)
37.0ms
(*.f64 1/360 (pow.f64 x 6))
35.0ms
(*.f64 1/12 (pow.f64 x 4))
Compiler

Compiled 891 to 746 computations (16.3% saved)

simplify76.0ms (1.2%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050592541

prune169.0ms (2.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh033
Picked011
Done011
Total1255130
Error
0b
Counts
130 → 5
Compiler

Compiled 2956 to 2175 computations (26.4% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (exp.f64 x) 2)
0.0b
(-.f64 (exp.f64 x) 2)
0.0b
(pow.f64 (exp.f64 x) -2)
3.2b
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))

rewrite141.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
19×add-sqr-sqrt_binary64_441 cancel-sign-sub-inv_binary64_385
17×*-un-lft-identity_binary64_419
13×add-cube-cbrt_binary64_454
10×add-log-exp_binary64_458
associate--l+_binary64_356
unpow-prod-down_binary64_498
pow1_binary64_480 sub-neg_binary64_412 difference-of-squares_binary64_388
add-exp-log_binary64_457 add-cbrt-cube_binary64_455 distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368 pow-pow_binary64_491
diff-log_binary64_511 flip3--_binary64_423 flip--_binary64_394 sqr-pow_binary64_391 pow-unpow_binary64_496 exp-prod_binary64_471
distribute-lft-out--_binary64_371
pow-to-exp_binary64_488 pow-exp_binary64_487
Counts
4 → 81
Calls

4 calls:

15.0ms
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))
4.0ms
(-.f64 (exp.f64 x) 2)
4.0ms
(-.f64 (exp.f64 x) 2)
3.0ms
(pow.f64 (exp.f64 x) -2)
Compiler

Compiled 2490 to 1424 computations (42.8% saved)

series199.0ms (3.1%)

Error
0b
Counts
4 → 24
Calls

4 calls:

93.0ms
(-.f64 (*.f64 (-.f64 (exp.f64 x) 2) (-.f64 (exp.f64 x) 2)) (pow.f64 (exp.f64 x) -2))
43.0ms
(pow.f64 (exp.f64 x) -2)
19.0ms
(-.f64 (exp.f64 x) 2)
19.0ms
(-.f64 (exp.f64 x) 2)
Compiler

Compiled 1408 to 964 computations (31.5% saved)

simplify82.0ms (1.3%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050141334

prune122.0ms (1.9%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1050105
Fresh022
Picked011
Done022
Total1055110
Error
0b
Counts
110 → 5
Compiler

Compiled 2808 to 1525 computations (45.7% saved)

regimes135.0ms (2.1%)

Accuracy

Total 0.6b remaining (97.4%)

Threshold costs 0.6b (97.4%)

Compiler

Compiled 1627 to 1195 computations (26.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01722
11722

end0.0ms (0%)

sample3.7s (57%)

Algorithm
intervals
Results
2.1s4187×body2048valid
445.0ms2019×body1024valid
111.0ms977×body512valid
32.0ms477×body256valid
12.0ms340×body128valid
Compiler

Compiled 782 to 580 computations (25.8% saved)

Profiling

Loading profile data...