Details

Time bar (total: 2.7s)

analyze267.0ms

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

sample58.0ms

Algorithm
intervals
Results
17.0ms90×body2560nan
12.0ms76×body1280nan
10.0ms256×body80valid
7.0ms32×body640nan
2.0ms25×body320nan
1.0ms11×body160nan
0.0msbody80nan

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
052579

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
32.0b
(sqrt (- (* x x) 1.0))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
sqrt-prod add-log-exp
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
+-commutative rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 sum-log flip-- flip-+ distribute-lft-out difference-of-squares
Counts
2 → 28
Calls
2 calls:
6.0ms
(+ x (sqrt (- (* x x) 1.0)))
4.0ms
(sqrt (- (* x x) 1.0))

series9.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ x (sqrt (- (* x x) 1.0)))
4.0ms
(sqrt (- (* x x) 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04917352
14917352

prune66.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New33134
Fresh000
Picked011
Done000
Total33235

Merged error: 0b

Counts
35 → 2

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x (sqrt 1.0)))
0.0b
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
0.5b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×sqrt-prod
14×*-un-lft-identity sqrt-div
associate-*r*
pow1 add-cube-cbrt
associate-*l*
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
flip3-- sqrt-pow1 pow1/2 pow-prod-down flip--
associate-*r/ associate-*l/ distribute-lft-out difference-of-squares
+-commutative rem-sqrt-square sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out--
Counts
3 → 69
Calls
3 calls:
4.0ms
(sqrt (+ x (sqrt 1.0)))
3.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series25.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(sqrt (+ x (sqrt 1.0)))
9.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
12.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
051121123

prune207.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh000
Picked011
Done011
Total78280

Merged error: 0b

Counts
80 → 2

regimes83.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02314
12314

end0.0ms

sample1.8s

Algorithm
intervals
Results
578.0ms3011×body2560nan
390.0ms2478×body1280nan
317.0ms8000×body80valid
156.0ms1248×body640nan
64.0ms641×body320nan
22.0ms344×body160nan
12.0ms308×body80nan

Profiling

Loading profile data...