Details

Time bar (total: 2.5s)

sample251.0ms

Algorithm
intervals
Results
203.0ms255×body80valid
25.0ms856×body80nan
0.0msbody160valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune4.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*l*
*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*l/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 34
Calls
1 calls:
11.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series16.0ms

Counts
1 → 3
Calls
1 calls:
16.0ms
(* (sqrt (- x 1.0)) (sqrt x))

simplify151.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0228232
1907226
24455224
35001224

prune65.0ms

Filtered
37 candidates to 25 candidates (32.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34337
Fresh000
Picked101
Done000
Total35338

Merged error: 0b

Counts
38 → 3

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (+ 0.5 (* 0.125 (/ 1 x))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity
diff-log
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- sum-log add-cbrt-cube flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
1 → 16
Calls
1 calls:
5.0ms
(- x (+ 0.5 (* 0.125 (/ 1 x))))

series2.0ms

Counts
1 → 3
Calls
1 calls:
2.0ms
(- x (+ 0.5 (* 0.125 (/ 1 x))))

simplify34.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
096126
1283117
21070115
35001110

prune30.0ms

Filtered
19 candidates to 14 candidates (26.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New19019
Fresh022
Picked011
Done000
Total19322

Merged error: 0b

Counts
22 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (sqrt x) (sqrt 1.0)))
0.1b
(sqrt (+ (sqrt x) (sqrt 1.0)))
0.2b
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
0.4b
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
51×sqrt-prod
38×add-sqr-sqrt
28×*-un-lft-identity
20×associate-*l*
18×pow1 sqrt-div
12×add-cube-cbrt
11×add-exp-log add-cbrt-cube
10×pow-prod-down associate-*l/
difference-of-squares
sqrt-pow1 pow1/2 associate-*r*
flip3-- flip--
frac-times flip3-+ prod-exp cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- add-log-exp unswap-sqr
sqrt-unprod
rem-sqrt-square associate-*r/ *-commutative
Counts
4 → 110
Calls
4 calls:
6.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
5.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
17.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
11.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

series62.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
7.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
28.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
19.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

simplify103.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09251559
142201459
250011449

prune272.0ms

Filtered
122 candidates to 85 candidates (30.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh011
Picked011
Done011
Total1223125

Merged error: 0b

Counts
125 → 3

localize4.0ms

Local error

Found 1 expressions with local error:

26.2b
(sqrt (* (- x 1.0) x))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*l/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
5.0ms
(sqrt (* (- x 1.0) x))

series3.0ms

Counts
1 → 3
Calls
1 calls:
3.0ms
(sqrt (* (- x 1.0) x))

simplify61.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
013281
140477
2171577
3500174

prune25.0ms

Filtered
16 candidates to 13 candidates (18.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New16016
Fresh000
Picked011
Done022
Total16319

Merged error: 0b

Counts
19 → 3

regimes29.0ms

Accuracy

0% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0124
1124

end0.0ms

sample1.3s

Algorithm
intervals
Results
626.0ms23660×body80nan
223.0ms7994×body80valid
0.0msbody160valid

Profiling

Loading profile data...