Details

Time bar (total: 6.7s)

analyze133.0ms (2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019222
119222
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 16 to 14 computations (12.5% saved)

sample42.0ms (0.6%)

Algorithm
intervals
Results
8.0ms54×body512valid
8.0ms40×body1024valid
8.0ms34×body256valid
7.0ms128×body128valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify25.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
019222
119222

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 26 computations (13.3% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
2.1b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite374.0ms (5.6%)

Algorithm
rewrite-expression-head
Error
10.7b
Rules
112×*-un-lft-identity_binary64_1101
74×times-frac_binary64_1107
72×add-sqr-sqrt_binary64_1123
39×add-cube-cbrt_binary64_1136
26×cancel-sign-sub-inv_binary64_1067
18×distribute-lft-out--_binary64_1053
17×distribute-lft-out_binary64_1052
14×associate-+l+_binary64_1034 difference-of-squares_binary64_1070
12×add-exp-log_binary64_1139
11×add-log-exp_binary64_1140 associate-/r*_binary64_1045
10×div-inv_binary64_1098
add-cbrt-cube_binary64_1137
pow1_binary64_1162 associate-/l*_binary64_1046
div-exp_binary64_1152 difference-of-sqr-1_binary64_1071 associate-/r/_binary64_1047
frac-add_binary64_1109 flip3--_binary64_1105 flip--_binary64_1076
diff-log_binary64_1193 sum-log_binary64_1192 frac-sub_binary64_1110 flip3-+_binary64_1104 flip-+_binary64_1075 sub-neg_binary64_1094 inv-pow_binary64_1186 pow-flip_binary64_1175 1-exp_binary64_1145 rec-exp_binary64_1151 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 clear-num_binary64_1100
associate-+l-_binary64_1036 +-commutative_binary64_1031
Counts
4 → 161
Calls

4 calls:

55.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
23.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
7.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 3810 to 3089 computations (18.9% saved)

series265.0ms (3.9%)

Error
0.3b
Counts
4 → 47
Calls

4 calls:

101.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
44.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
32.0ms
(/.f64 1 (+.f64 x 1))
31.0ms
(/.f64 1 (-.f64 x 1))
Compiler

Compiled 1738 to 1453 computations (16.4% saved)

simplify113.0ms (1.7%)

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049383281
149383281

prune317.0ms (4.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2044208
Fresh000
Picked101
Done000
Total2054209
Error
0.3b
Counts
209 → 4
Compiler

Compiled 4196 to 3327 computations (20.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (*.f64 x x))
0.0b
(/.f64 (+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 x 3) x))
0.0b
(-.f64 x (+.f64 2 (*.f64 x 2)))
16.8b
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))

rewrite466.0ms (6.9%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
51×add-sqr-sqrt_binary64_1123
39×*-un-lft-identity_binary64_1101
32×frac-add_binary64_1109
31×flip3-+_binary64_1104 flip-+_binary64_1075
27×times-frac_binary64_1107
21×add-cube-cbrt_binary64_1136
18×associate-/l/_binary64_1048
17×difference-of-squares_binary64_1070
16×add-log-exp_binary64_1140 frac-times_binary64_1111
15×cancel-sign-sub-inv_binary64_1067
14×flip3--_binary64_1105 flip--_binary64_1076
12×associate-+l+_binary64_1034
associate-/r*_binary64_1045
associate-*l/_binary64_1044 associate-*r/_binary64_1043
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050
sum-log_binary64_1192 distribute-lft-out--_binary64_1053
pow1_binary64_1162 distribute-rgt1-in_binary64_1057 distribute-rgt-out_binary64_1054 unpow-prod-down_binary64_1180 cube-prod_binary64_1129 sqr-pow_binary64_1073 unpow3_binary64_1167 distribute-rgt-out--_binary64_1055
sub-neg_binary64_1094 associate-/l*_binary64_1046
+-commutative_binary64_1031 diff-log_binary64_1193 associate-/r/_binary64_1047
associate-+r+_binary64_1033 associate--r+_binary64_1037 div-exp_binary64_1152 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098
Counts
4 → 145
Calls

4 calls:

32.0ms
(/.f64 (+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 x 3) x))
16.0ms
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))
6.0ms
(-.f64 x (+.f64 2 (*.f64 x 2)))
3.0ms
(+.f64 x (*.f64 x x))
Compiler

Compiled 7415 to 4139 computations (44.2% saved)

series192.0ms (2.9%)

Error
0.3b
Counts
4 → 26
Calls

4 calls:

71.0ms
(/.f64 (+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 x 3) x))
42.0ms
(+.f64 x (*.f64 x x))
38.0ms
(-.f64 x (+.f64 2 (*.f64 x 2)))
16.0ms
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))
Compiler

Compiled 1058 to 809 computations (23.5% saved)

simplify107.0ms (1.6%)

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050056741

prune351.0ms (5.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1701171
Fresh303
Picked101
Done000
Total1741175
Error
0.3b
Counts
175 → 1
Compiler

Compiled 7059 to 4104 computations (41.9% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite86.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
43×add-sqr-sqrt_binary64_1123
27×times-frac_binary64_1107 *-un-lft-identity_binary64_1101
16×difference-of-squares_binary64_1070
15×add-cube-cbrt_binary64_1136
associate-/r*_binary64_1045
unpow-prod-down_binary64_1180 cube-prod_binary64_1129 sqr-pow_binary64_1073 unpow3_binary64_1167 distribute-rgt-out--_binary64_1055 distribute-lft-out--_binary64_1053
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 associate-/l*_binary64_1046
associate-/r/_binary64_1047
pow1_binary64_1162 div-exp_binary64_1152 add-log-exp_binary64_1140 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098 flip3--_binary64_1105 flip--_binary64_1076
Counts
1 → 53
Calls

1 calls:

10.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 899 to 658 computations (26.8% saved)

series92.0ms (1.4%)

Error
0.3b
Counts
1 → 11
Calls

1 calls:

83.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
Compiler

Compiled 376 to 333 computations (11.4% saved)

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049251199
149251199

prune79.0ms (1.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New60464
Fresh000
Picked011
Done000
Total60565
Error
0.0b
Counts
65 → 5
Compiler

Compiled 992 to 742 computations (25.2% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.1b
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))

rewrite157.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
141×times-frac_binary64_1107
78×add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
64×add-cube-cbrt_binary64_1136
28×difference-of-squares_binary64_1070
14×difference-of-sqr-1_binary64_1071
13×associate-/l*_binary64_1046
div-inv_binary64_1098
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 associate-/r*_binary64_1045
div-exp_binary64_1152 cbrt-undiv_binary64_1135
associate-/r/_binary64_1047
pow1_binary64_1162 add-log-exp_binary64_1140 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l/_binary64_1048 flip3--_binary64_1105 flip--_binary64_1076
Counts
1 → 114
Calls

1 calls:

10.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))
Compiler

Compiled 2334 to 1536 computations (34.2% saved)

series75.0ms (1.1%)

Error
0.0b
Counts
1 → 11
Calls

1 calls:

65.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))
Compiler

Compiled 376 to 333 computations (11.4% saved)

simplify79.0ms (1.2%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
051213044

prune154.0ms (2.3%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1241125
Fresh123
Picked011
Done011
Total1255130
Error
0b
Counts
130 → 5
Compiler

Compiled 2256 to 1512 computations (33% saved)

regimes408.0ms (6.1%)

Accuracy

Total 0.1b remaining (95.6%)

Threshold costs 0.1b (95.6%)

Compiler

Compiled 4315 to 3435 computations (20.4% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample3.1s (45.8%)

Algorithm
intervals
Results
237.0ms1341×body1024valid
219.0ms4433×body128valid
200.0ms1493×body512valid
70.0ms733×body256valid
0.0msbody128invalid
Compiler

Compiled 2087 to 1657 computations (20.6% saved)

Profiling

Loading profile data...