Details

Time bar (total: 11.8s)

analyze2.1s (17.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05719148
033
133
Search
TrueOtherFalseIter
0%49.9%50.1%0
0%49.9%50.1%1
0%49.9%50.1%2
0%49.9%50.1%3
0%49.9%50.1%4
0%49.9%50.1%5
0%49.9%50.1%6
0%49.9%50.1%7
0%49.9%50.1%8
0.4%49.5%50.1%9
0.4%49.3%50.3%10
0.6%48.9%50.5%11
1.1%48.1%50.9%12
1.5%47.3%51.2%13
1.7%46.9%51.5%14
Symmetry

(sort a b)

Compiler

Compiled 31 to 24 computations (22.6% saved)

sample197.0ms (1.7%)

Algorithm
intervals
Results
112.0ms137×body2048valid
28.0ms73×body1024valid
6.0ms308×pre128true
5.0ms18×body1024overflowed
5.0ms21×body512valid
5.0ms10×body2048overflowed
2.0msbody512overflowed
1.0msbody256valid
1.0ms16×body128valid
1.0msbody256overflowed
1.0ms10×body128overflowed
Compiler

Compiled 55 to 46 computations (16.4% saved)

simplify24.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
0521737

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
60.4b
Counts
2 → 1
Compiler

Compiled 48 to 38 computations (20.8% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.5b
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (-.f64 (exp.f64 (*.f64 b eps)) 1))
3.3b
(-.f64 (exp.f64 (*.f64 a eps)) 1)
3.6b
(-.f64 (exp.f64 (*.f64 b eps)) 1)
5.5b
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)

rewrite162.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
60.4b
Rules
33×add-sqr-sqrt_binary64_441
26×*-un-lft-identity_binary64_419
15×cancel-sign-sub-inv_binary64_385
11×add-cube-cbrt_binary64_454
10×add-log-exp_binary64_458 difference-of-squares_binary64_388
flip3--_binary64_423 flip--_binary64_394
associate-*l*_binary64_360 associate-*r*_binary64_359
pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
sub-neg_binary64_412 difference-of-sqr-1_binary64_389 distribute-lft-out--_binary64_371
frac-times_binary64_429 distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368
diff-log_binary64_511
associate-*l/_binary64_362 associate-*r/_binary64_361
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 unswap-sqr_binary64_387 *-commutative_binary64_350
Counts
4 → 96
Calls

4 calls:

12.0ms
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (-.f64 (exp.f64 (*.f64 b eps)) 1))
9.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
4.0ms
(-.f64 (exp.f64 (*.f64 b eps)) 1)
4.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
Compiler

Compiled 3325 to 1407 computations (57.7% saved)

series372.0ms (3.2%)

Error
48.1b
Counts
4 → 39
Calls

4 calls:

157.0ms
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (-.f64 (exp.f64 (*.f64 b eps)) 1))
69.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
55.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
47.0ms
(-.f64 (exp.f64 (*.f64 b eps)) 1)
Compiler

Compiled 3024 to 1954 computations (35.4% saved)

simplify69.0ms (0.6%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
052342449

prune159.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1323135
Fresh000
Picked011
Done000
Total1324136
Error
48.0b
Counts
136 → 4
Compiler

Compiled 4057 to 1648 computations (59.4% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.8b
(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (*.f64 b (+.f64 eps (*.f64 b (*.f64 1/2 (*.f64 eps eps)))))))
3.3b
(-.f64 (exp.f64 (*.f64 a eps)) 1)
5.5b
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
8.0b
(*.f64 b (*.f64 1/2 (*.f64 eps eps)))

rewrite190.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
48.0b
Rules
34×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
15×prod-exp_binary64_468 cbrt-unprod_binary64_452 add-sqr-sqrt_binary64_441
13×pow1_binary64_480 *-un-lft-identity_binary64_419
10×associate-*r/_binary64_361
add-log-exp_binary64_458 associate-/r/_binary64_365
add-cube-cbrt_binary64_454
pow-prod-down_binary64_490 flip3--_binary64_423 flip--_binary64_394 cancel-sign-sub-inv_binary64_385 div-exp_binary64_470 cbrt-undiv_binary64_453
difference-of-squares_binary64_388 frac-times_binary64_429
associate-*l*_binary64_360 flip3-+_binary64_422 flip-+_binary64_393
diff-log_binary64_511 sub-neg_binary64_412 difference-of-sqr-1_binary64_389 distribute-lft-out--_binary64_371 associate-/l/_binary64_366 associate-*l/_binary64_362
associate-*r*_binary64_359 *-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
Counts
4 → 92
Calls

4 calls:

21.0ms
(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (*.f64 b (+.f64 eps (*.f64 b (*.f64 1/2 (*.f64 eps eps)))))))
8.0ms
(*.f64 b (*.f64 1/2 (*.f64 eps eps)))
5.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
4.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
Compiler

Compiled 3999 to 1763 computations (55.9% saved)

series1.2s (10%)

Error
0.3b
Counts
4 → 39
Calls

4 calls:

898.0ms
(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (*.f64 b (+.f64 eps (*.f64 b (*.f64 1/2 (*.f64 eps eps)))))))
83.0ms
(*.f64 b (*.f64 1/2 (*.f64 eps eps)))
81.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
55.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
Compiler

Compiled 5113 to 3212 computations (37.2% saved)

simplify89.0ms (0.7%)

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049583598
149583598

prune177.0ms (1.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1283131
Fresh112
Picked011
Done011
Total1296135
Error
0.2b
Counts
135 → 6
Compiler

Compiled 4803 to 2088 computations (56.5% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

15.4b
(/.f64 (+.f64 b a) (*.f64 b a))

rewrite26.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
*-un-lft-identity_binary64_419
add-exp-log_binary64_457 add-cbrt-cube_binary64_455
times-frac_binary64_425 associate-/l*_binary64_364
add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
div-exp_binary64_470 cbrt-undiv_binary64_453 distribute-lft-out_binary64_370 associate-/l/_binary64_366
pow1_binary64_480 prod-exp_binary64_468 add-log-exp_binary64_458 cbrt-unprod_binary64_452 frac-2neg_binary64_430 clear-num_binary64_418 div-inv_binary64_416 flip3-+_binary64_422 flip-+_binary64_393 associate-/r*_binary64_363
Counts
1 → 25
Calls

1 calls:

7.0ms
(/.f64 (+.f64 b a) (*.f64 b a))
Compiler

Compiled 342 to 92 computations (73.1% saved)

series109.0ms (0.9%)

Error
0.0b
Counts
1 → 12
Calls

1 calls:

102.0ms
(/.f64 (+.f64 b a) (*.f64 b a))
Compiler

Compiled 162 to 171 computations (-5.6% saved)

simplify51.0ms (0.4%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05070408

prune25.0ms (0.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New35237
Fresh303
Picked011
Done022
Total38543
Error
0b
Counts
43 → 5
Compiler

Compiled 369 to 135 computations (63.4% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

0.0b
(+.f64 (/.f64 1 b) (/.f64 1 a))

rewrite29.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
13×*-un-lft-identity_binary64_419
distribute-lft-out_binary64_370
times-frac_binary64_425
div-inv_binary64_416
add-log-exp_binary64_458 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
sum-log_binary64_510 pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 frac-add_binary64_427 flip3-+_binary64_422 flip-+_binary64_393 +-commutative_binary64_349
Counts
1 → 19
Calls

1 calls:

13.0ms
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 267 to 210 computations (21.3% saved)

series64.0ms (0.5%)

Error
0b
Counts
1 → 12
Calls

1 calls:

59.0ms
(+.f64 (/.f64 1 b) (/.f64 1 a))
Compiler

Compiled 162 to 171 computations (-5.6% saved)

simplify82.0ms (0.7%)

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
04871341
14871341

prune18.0ms (0.2%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New31031
Fresh011
Picked011
Done033
Total31536
Error
0b
Counts
36 → 5
Compiler

Compiled 294 to 224 computations (23.8% saved)

regimes384.0ms (3.3%)

Accuracy

Total 0.2b remaining (68.7%)

Threshold costs 0.2b (68.7%)

Compiler

Compiled 4710 to 3292 computations (30.1% saved)

bsearch5.0ms (0%)

Compiler

Compiled 24 to 19 computations (20.8% saved)

simplify14.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
052133
152133
Remove

(sort a b)

Compiler

Compiled 172 to 98 computations (43% saved)

end0.0ms (0%)

sample6.3s (53.2%)

Algorithm
intervals
Results
3.1s4108×body2048valid
932.0ms2406×body1024valid
202.0ms9566×pre128true
169.0ms723×body512valid
166.0ms551×body1024overflowed
165.0ms349×body2048overflowed
51.0ms258×body512overflowed
41.0ms525×body128valid
33.0ms229×body256valid
18.0ms142×body256overflowed
18.0ms266×body128overflowed
13.0msbody4096valid
Compiler

Compiled 1288 to 891 computations (30.8% saved)

Profiling

Loading profile data...