Details

Time bar (total: 14.0s)

analyze2.6s (18.3%)

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)

sample202.0ms (1.4%)

Algorithm
intervals
Results
102.0ms120×body2048valid
33.0ms74×body1024valid
9.0ms38×body512valid
8.0ms25×body1024overflowed
7.0ms12×body2048overflowed
7.0ms317×pre128true
1.0msbody256overflowed
1.0ms17×body128valid
1.0ms14×body128overflowed
1.0msbody256valid
1.0msbody512overflowed
Compiler

Compiled 55 to 46 computations (16.4% saved)

simplify22.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
0521737

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 48 to 38 computations (20.8% saved)

localize32.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.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.7b
(-.f64 (exp.f64 (*.f64 b eps)) 1)
6.0b
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)

rewrite191.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
60.0b
Rules
33×add-sqr-sqrt_binary64_1123
26×*-un-lft-identity_binary64_1101
15×cancel-sign-sub-inv_binary64_1067
11×add-cube-cbrt_binary64_1136
10×add-log-exp_binary64_1140 difference-of-squares_binary64_1070
flip3--_binary64_1105 flip--_binary64_1076
associate-*l*_binary64_1042 associate-*r*_binary64_1041
pow1_binary64_1162 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
sub-neg_binary64_1094 difference-of-sqr-1_binary64_1071 distribute-lft-out--_binary64_1053
frac-times_binary64_1111 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050
diff-log_binary64_1193
associate-*l/_binary64_1044 associate-*r/_binary64_1043
pow-prod-down_binary64_1172 prod-exp_binary64_1150 cbrt-unprod_binary64_1134 unswap-sqr_binary64_1069 *-commutative_binary64_1032
Counts
4 → 96
Calls

4 calls:

12.0ms
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (-.f64 (exp.f64 (*.f64 b eps)) 1))
5.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)

series455.0ms (3.2%)

Error
47.5b
Counts
4 → 36
Calls

4 calls:

202.0ms
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (-.f64 (exp.f64 (*.f64 b eps)) 1))
84.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
71.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
41.0ms
(-.f64 (exp.f64 (*.f64 b eps)) 1)
Compiler

Compiled 2804 to 1834 computations (34.6% saved)

simplify67.0ms (0.5%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051532397

prune183.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1275132
Fresh000
Picked011
Done000
Total1276133
Error
47.4b
Counts
133 → 6
Compiler

Compiled 4021 to 1648 computations (59% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (+.f64 a b) eps)
3.3b
(-.f64 (exp.f64 (*.f64 a eps)) 1)
3.4b
(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (*.f64 eps b)))
6.0b
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)

rewrite170.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
47.2b
Rules
27×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
18×add-sqr-sqrt_binary64_1123
16×*-un-lft-identity_binary64_1101
10×prod-exp_binary64_1150 cbrt-unprod_binary64_1134
add-log-exp_binary64_1140 add-cube-cbrt_binary64_1136
pow1_binary64_1162 cancel-sign-sub-inv_binary64_1067 div-exp_binary64_1152 cbrt-undiv_binary64_1135
flip3--_binary64_1105 flip--_binary64_1076 difference-of-squares_binary64_1070 associate-*l/_binary64_1044 associate-*l*_binary64_1042
associate-*r*_binary64_1041
diff-log_binary64_1193 sub-neg_binary64_1094 difference-of-sqr-1_binary64_1071 distribute-lft-out--_binary64_1053 associate-*r/_binary64_1043 associate-/l/_binary64_1048 associate-/r/_binary64_1047
frac-2neg_binary64_1112 times-frac_binary64_1107 clear-num_binary64_1100 div-inv_binary64_1098 associate-/l*_binary64_1046 associate-/r*_binary64_1045 pow-prod-down_binary64_1172 unswap-sqr_binary64_1069 flip3-+_binary64_1104 flip-+_binary64_1075 distribute-lft-out_binary64_1052 *-commutative_binary64_1032
Counts
4 → 86
Calls

4 calls:

15.0ms
(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (*.f64 eps b)))
6.0ms
(*.f64 (+.f64 a b) eps)
5.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
4.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
Compiler

Compiled 2755 to 1068 computations (61.2% saved)

series678.0ms (4.8%)

Error
0.0b
Counts
4 → 49
Calls

4 calls:

327.0ms
(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) 1) (*.f64 eps b)))
115.0ms
(*.f64 (+.f64 a b) eps)
107.0ms
(-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) 1)
60.0ms
(-.f64 (exp.f64 (*.f64 a eps)) 1)
Compiler

Compiled 3130 to 1888 computations (39.7% saved)

simplify55.0ms (0.4%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
051902413

prune176.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1332135
Fresh314
Picked101
Done011
Total1374141
Error
0.0b
Counts
141 → 4
Compiler

Compiled 3353 to 1354 computations (59.6% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 1 b) (*.f64 1/2 (+.f64 eps (/.f64 (*.f64 eps b) a))))
0.0b
(+.f64 eps (/.f64 (*.f64 eps b) a))
0.0b
(+.f64 (/.f64 1 a) (+.f64 (/.f64 1 b) (*.f64 1/2 (+.f64 eps (/.f64 (*.f64 eps b) a)))))
5.0b
(/.f64 (*.f64 eps b) a)

rewrite149.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
13×add-log-exp_binary64_1140
11×*-un-lft-identity_binary64_1101
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
frac-add_binary64_1109
add-cube-cbrt_binary64_1136 add-sqr-sqrt_binary64_1123 flip3-+_binary64_1104 flip-+_binary64_1075
sum-log_binary64_1192
pow1_binary64_1162 associate-*r/_binary64_1043
times-frac_binary64_1107 associate-/r*_binary64_1045 distribute-lft-out_binary64_1052 associate-+r+_binary64_1033 +-commutative_binary64_1031
div-exp_binary64_1152 cbrt-undiv_binary64_1135 div-inv_binary64_1098
prod-exp_binary64_1150 cbrt-unprod_binary64_1134 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l*_binary64_1046 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050
Counts
4 → 67
Calls

4 calls:

14.0ms
(+.f64 (/.f64 1 b) (*.f64 1/2 (+.f64 eps (/.f64 (*.f64 eps b) a))))
13.0ms
(+.f64 (/.f64 1 a) (+.f64 (/.f64 1 b) (*.f64 1/2 (+.f64 eps (/.f64 (*.f64 eps b) a)))))
8.0ms
(+.f64 eps (/.f64 (*.f64 eps b) a))
4.0ms
(/.f64 (*.f64 eps b) a)
Compiler

Compiled 2059 to 956 computations (53.6% saved)

series666.0ms (4.8%)

Error
0b
Counts
4 → 53
Calls

4 calls:

260.0ms
(+.f64 (/.f64 1 a) (+.f64 (/.f64 1 b) (*.f64 1/2 (+.f64 eps (/.f64 (*.f64 eps b) a)))))
174.0ms
(+.f64 (/.f64 1 b) (*.f64 1/2 (+.f64 eps (/.f64 (*.f64 eps b) a))))
109.0ms
(/.f64 (*.f64 eps b) a)
71.0ms
(+.f64 eps (/.f64 (*.f64 eps b) a))
Compiler

Compiled 2122 to 1623 computations (23.5% saved)

simplify81.0ms (0.6%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049702315
149702315

prune129.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1191120
Fresh112
Picked101
Done011
Total1213124
Error
0b
Counts
124 → 3
Compiler

Compiled 2510 to 1370 computations (45.4% saved)

localize4.0ms (0%)

Local error

Found 1 expressions with local error:

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

rewrite32.0ms (0.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
13×*-un-lft-identity_binary64_1101
distribute-lft-out_binary64_1052
times-frac_binary64_1107
div-inv_binary64_1098
add-log-exp_binary64_1140 add-cube-cbrt_binary64_1136 add-sqr-sqrt_binary64_1123
sum-log_binary64_1192 pow1_binary64_1162 add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 frac-add_binary64_1109 flip3-+_binary64_1104 flip-+_binary64_1075 +-commutative_binary64_1031
Counts
1 → 19
Calls

1 calls:

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

Compiled 267 to 210 computations (21.3% saved)

series87.0ms (0.6%)

Error
0b
Counts
1 → 12
Calls

1 calls:

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

Compiled 162 to 171 computations (-5.6% saved)

simplify122.0ms (0.9%)

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (109.0ms)

IterNodesCost
04871341
14871341

prune22.0ms (0.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New31031
Fresh011
Picked011
Done011
Total31334
Error
0b
Counts
34 → 3
Compiler

Compiled 294 to 224 computations (23.8% saved)

regimes353.0ms (2.5%)

Accuracy

Total 0.2b remaining (63%)

Threshold costs 0.2b (63%)

Compiler

Compiled 3394 to 2552 computations (24.8% 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%)

sample7.5s (53.6%)

Algorithm
intervals
Results
3.8s4087×body2048valid
1.1s2380×body1024valid
249.0ms9673×pre128true
218.0ms362×body2048overflowed
214.0ms751×body512valid
208.0ms575×body1024overflowed
71.0ms281×body512overflowed
46.0ms532×body128valid
44.0ms238×body256valid
25.0ms159×body256overflowed
23.0ms293×body128overflowed
18.0ms12×body4096valid
2.0msbody2048invalid
Compiler

Compiled 959 to 706 computations (26.4% saved)

Profiling

Loading profile data...