Details

Time bar (total: 3.5s)

analyze263.0ms (7.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%50%25%4
25%37.5%37.5%5
25%31.2%43.8%6
25%28.1%46.9%7
25%26.5%48.5%8
25%25.8%49.2%9
25%25.4%49.6%10
25%25.2%49.8%11
25%25.1%49.9%12
25%25%50%13
25%25%50%14
Compiler

Compiled 10 to 8 computations (20% saved)

sample52.0ms (1.5%)

Algorithm
intervals
Results
19.0ms122×body2048nan
11.0ms256×body128valid
6.0ms50×body1024nan
4.0ms12×body256nan
3.0ms31×body512nan
0.0msbody128nan
Compiler

Compiled 19 to 16 computations (15.8% saved)

simplify273.0ms (7.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (100.0ms)

IterNodesCost
0560414

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

Counts
2 → 1
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
29.0b
(sqrt.f64 (-.f64 (*.f64 x x) 1))

rewrite15.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_1111 sqrt-prod_binary64_1127
add-sqr-sqrt_binary64_1133
add-log-exp_binary64_1150
add-cube-cbrt_binary64_1146 pow1_binary64_1172
add-cbrt-cube_binary64_1147 sqrt-div_binary64_1128 difference-of-squares_binary64_1080 add-exp-log_binary64_1149
pow1/2_binary64_1191 rem-sqrt-square_binary64_1124 flip-+_binary64_1085 flip3--_binary64_1115 flip3-+_binary64_1114 +-commutative_binary64_1041 difference-of-sqr-1_binary64_1081 distribute-lft-out_binary64_1062 sqrt-pow1_binary64_1129 sum-log_binary64_1202 flip--_binary64_1086
Counts
2 → 30
Calls

2 calls:

7.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
5.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))

series98.0ms (2.8%)

Counts
2 → 6
Calls

2 calls:

57.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
41.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))

simplify50.0ms (1.4%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04922536
14922536

prune42.0ms (1.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh000
Picked101
Done000
Total35237

Merged error: 0b

Counts
37 → 2
Compiler

Compiled 637 to 428 computations (32.8% saved)

localize9.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))
0.5b
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))

rewrite23.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64_1133
15×sqrt-prod_binary64_1127
12×sqrt-div_binary64_1128
11×*-un-lft-identity_binary64_1111
10×associate-*r*_binary64_1051
associate-*l*_binary64_1052
add-cube-cbrt_binary64_1146 pow1_binary64_1172
add-cbrt-cube_binary64_1147 flip-+_binary64_1085 frac-times_binary64_1121 flip3-+_binary64_1114 unswap-sqr_binary64_1079 add-log-exp_binary64_1150 add-exp-log_binary64_1149
flip3--_binary64_1115 pow-prod-down_binary64_1182 flip--_binary64_1086
pow1/2_binary64_1191 associate-*l/_binary64_1054 difference-of-squares_binary64_1080 sqrt-pow1_binary64_1129 associate-*r/_binary64_1053
*-commutative_binary64_1042 prod-exp_binary64_1160 cbrt-unprod_binary64_1144 +-commutative_binary64_1041 difference-of-sqr-1_binary64_1081 distribute-lft-out_binary64_1062 sqrt-unprod_binary64_1131 sum-log_binary64_1202 distribute-lft-out--_binary64_1063
Counts
2 → 54
Calls

2 calls:

14.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))
3.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))

series128.0ms (3.7%)

Counts
2 → 6
Calls

2 calls:

75.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))
53.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))

simplify61.0ms (1.7%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049601195
149601195

prune69.0ms (2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New59160
Fresh101
Picked101
Done000
Total61162

Merged error: 0b

Counts
62 → 1
Compiler

Compiled 1225 to 926 computations (24.4% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (sqrt.f64 (+.f64 x 1)))
0.1b
(sqrt.f64 (sqrt.f64 (+.f64 x 1)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 (sqrt.f64 (+.f64 x 1)))))
0.3b
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 (sqrt.f64 (+.f64 x 1))))

rewrite69.0ms (2%)

Algorithm
rewrite-expression-head
Rules
116×sqrt-div_binary64_1128
62×sqrt-prod_binary64_1127
36×add-sqr-sqrt_binary64_1133
32×frac-times_binary64_1121
27×*-un-lft-identity_binary64_1111
23×flip-+_binary64_1085 flip3-+_binary64_1114
20×associate-*l*_binary64_1052 pow1_binary64_1172
16×add-cube-cbrt_binary64_1146 associate-*r/_binary64_1053
13×sqrt-pow1_binary64_1129
12×flip3--_binary64_1115 flip--_binary64_1086
11×add-cbrt-cube_binary64_1147 associate-*r*_binary64_1051 add-exp-log_binary64_1149
10×associate-*l/_binary64_1054 pow-prod-down_binary64_1182
pow1/2_binary64_1191
unswap-sqr_binary64_1079
prod-exp_binary64_1160 cbrt-unprod_binary64_1144 rem-sqrt-square_binary64_1124 add-log-exp_binary64_1150 distribute-lft-out_binary64_1062
sqrt-unprod_binary64_1131
*-commutative_binary64_1042 difference-of-squares_binary64_1080
difference-of-sqr-1_binary64_1081 distribute-lft-out--_binary64_1063
Counts
4 → 146
Calls

4 calls:

23.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 (sqrt.f64 (+.f64 x 1)))))
17.0ms
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 (sqrt.f64 (+.f64 x 1))))
5.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x 1)))
5.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x 1)))

series275.0ms (7.8%)

Counts
4 → 12
Calls

4 calls:

122.0ms
(*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 (sqrt.f64 (+.f64 x 1))))
72.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x 1))) (*.f64 (sqrt.f64 (-.f64 x 1)) (sqrt.f64 (sqrt.f64 (+.f64 x 1)))))
41.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x 1)))
39.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x 1)))

simplify106.0ms (3%)

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049123529
149123529

prune253.0ms (7.2%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New1580158
Fresh000
Picked011
Done000
Total1581159

Merged error: 0b

Counts
159 → 1
Compiler

Compiled 4211 to 3274 computations (22.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02631
12631

end0.0ms (0%)

sample1.7s (48.4%)

Algorithm
intervals
Results
625.0ms3996×body2048nan
352.0ms8000×body128valid
256.0ms2082×body1024nan
94.0ms1016×body512nan
32.0ms514×body256nan
17.0ms520×body128nan
2.0ms12×body4096nan
Compiler

Compiled 48 to 41 computations (14.6% saved)

Profiling

Loading profile data...