Details

Time bar (total: 2.8s)

analyze511.0ms (18%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0492214
1492214
011
111
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)

sample51.0ms (1.8%)

Algorithm
intervals
Results
19.0ms109×body2048nan
11.0ms256×body128valid
7.0ms56×body1024nan
3.0ms30×body512nan
1.0ms18×body256nan
0.0ms11×body128nan
Compiler

Compiled 19 to 16 computations (15.8% saved)

simplify146.0ms (5.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (141.0ms)

IterNodesCost
0492214
1492214

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.1b

Counts
2 → 1
Compiler

Compiled 18 to 14 computations (22.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite19.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_760
add-sqr-sqrt_binary64_782
add-log-exp_binary64_799
sqrt-prod_binary64_776
add-cube-cbrt_binary64_795
difference-of-squares_binary64_729 pow1_binary64_821
add-exp-log_binary64_798 cancel-sign-sub-inv_binary64_726 add-cbrt-cube_binary64_796
sqrt-div_binary64_777 difference-of-sqr-1_binary64_730 flip--_binary64_735 flip3--_binary64_764
diff-log_binary64_852 rem-sqrt-square_binary64_773 distribute-lft-out_binary64_711 flip3-+_binary64_763 sqrt-pow1_binary64_778 flip-+_binary64_734 +-commutative_binary64_690 sum-log_binary64_851 pow1/2_binary64_840 sub-neg_binary64_753
Counts
3 → 47
Calls

3 calls:

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

series79.0ms (2.8%)

Counts
3 → 9
Calls

3 calls:

30.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) 1)))
29.0ms
(-.f64 (*.f64 x x) 1)
20.0ms
(sqrt.f64 (-.f64 (*.f64 x x) 1))

simplify39.0ms (1.4%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05277706

prune44.0ms (1.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New55156
Fresh000
Picked011
Done000
Total55257

Merged error: 0b

Counts
57 → 2
Compiler

Compiled 769 to 501 computations (34.9% 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)))

rewrite21.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64_782
15×sqrt-prod_binary64_776
12×sqrt-div_binary64_777
11×*-un-lft-identity_binary64_760
10×associate-*r*_binary64_700
associate-*l*_binary64_701
add-cube-cbrt_binary64_795 pow1_binary64_821
unswap-sqr_binary64_728 flip3-+_binary64_763 add-exp-log_binary64_798 add-log-exp_binary64_799 flip-+_binary64_734 add-cbrt-cube_binary64_796 frac-times_binary64_770
pow-prod-down_binary64_831 flip--_binary64_735 flip3--_binary64_764
associate-*l/_binary64_703 sqrt-pow1_binary64_778 difference-of-squares_binary64_729 associate-*r/_binary64_702 pow1/2_binary64_840
distribute-lft-out_binary64_711 prod-exp_binary64_809 difference-of-sqr-1_binary64_730 sqrt-unprod_binary64_780 distribute-lft-out--_binary64_712 +-commutative_binary64_690 sum-log_binary64_851 cbrt-unprod_binary64_793 *-commutative_binary64_691
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))))

series64.0ms (2.3%)

Counts
2 → 6
Calls

2 calls:

36.0ms
(*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1)))
28.0ms
(+.f64 x (*.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 (-.f64 x 1))))

simplify67.0ms (2.4%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049551188
149551188

prune63.0ms (2.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New60060
Fresh000
Picked011
Done011
Total60262

Merged error: 0b

Counts
62 → 2
Compiler

Compiled 1145 to 863 computations (24.6% saved)

regimes26.0ms (0.9%)

Compiler

Compiled 99 to 79 computations (20.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02319
12319

end0.0ms (0%)

sample1.7s (59.4%)

Algorithm
intervals
Results
618.0ms4069×body2048nan
346.0ms8000×body128valid
246.0ms2014×body1024nan
87.0ms981×body512nan
32.0ms486×body256nan
17.0ms511×body128nan
1.0msbody4096nan
Compiler

Compiled 43 to 36 computations (16.3% saved)

Profiling

Loading profile data...