Details

Time bar (total: 9.6s)

sample38.0ms

Algorithm
intervals
Results
6.0ms21×body320valid
6.0ms47×body1280valid
6.0ms255×body80nan
4.0ms39×body640valid
3.0ms133×body80valid
1.0ms16×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.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: 28.6b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

3.1b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity sqrt-prod
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 19
Calls
1 calls:
7.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series228.0ms

Counts
1 → 3
Calls
1 calls:
228.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify117.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0203216
1808206
24153197
35001197

prune69.0ms

Filtered
22 candidates to 15 candidates (31.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New19322
Fresh000
Picked101
Done000
Total20323

Merged error: 0.1b

Counts
23 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
31×distribute-lft-out
24×times-frac sqrt-prod
14×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 64
Calls
2 calls:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
11.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series376.0ms

Counts
2 → 6
Calls
2 calls:
119.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
257.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0435698
11872651
25001615

prune208.0ms

Filtered
70 candidates to 44 candidates (37.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New65570
Fresh112
Picked011
Done000
Total66773

Merged error: 0.0b

Counts
73 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.3b
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
597×*-un-lft-identity
420×sqrt-prod
256×distribute-lft-out
247×times-frac
130×add-sqr-sqrt
99×add-cube-cbrt
71×swap-sqr
33×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 flip3-+ pow1/2 flip-+ unswap-sqr
associate-/l*
div-inv
sqrt-div pow-prod-up
associate-/l/ add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 316
Calls
4 calls:
16.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
44.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.5s

Counts
4 → 12
Calls
4 calls:
682.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
257.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
257.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
310.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify170.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 2 (123.0ms)

IterNodesCost
08273981
145313471
250013422

prune1.5s

Filtered
328 candidates to 151 candidates (54.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New3235328
Fresh325
Picked011
Done011
Total3269335

Merged error: 0b

Counts
335 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (fabs (/ 1 (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))))
0.2b
(cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))
0.2b
(cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))
0.3b
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (fabs (/ 1 (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
138×*-un-lft-identity
115×sqrt-prod
62×times-frac
55×distribute-lft-out
48×add-sqr-sqrt
46×associate-*r*
38×add-cube-cbrt
37×cbrt-prod
36×associate-*l*
11×pow1 add-exp-log add-cbrt-cube
cbrt-div
sqrt-div
flip3-+ associate-*r/ pow-prod-down prod-exp associate-/r/ cbrt-unprod flip-+ add-log-exp unswap-sqr
pow1/3 *-commutative div-inv
frac-times associate-*l/
Counts
4 → 147
Calls
4 calls:
23.0ms
(* (fabs (/ 1 (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))))
7.0ms
(cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))
7.0ms
(cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))
35.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (fabs (/ 1 (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))))))

series2.4s

Counts
4 → 12
Calls
4 calls:
664.0ms
(* (fabs (/ 1 (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))))
445.0ms
(cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))
443.0ms
(cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))
811.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (fabs (/ 1 (cbrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (cbrt (+ (sqrt (+ x 1.0)) (sqrt x)))))))

simplify122.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
010863588
144503328
250013306

prune1.6s

Filtered
159 candidates to 104 candidates (34.6%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1590159
Fresh066
Picked011
Done022
Total1599168

Merged error: 0b

Counts
168 → 9

regimes64.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1166
2166

end0.0ms

sample910.0ms

Algorithm
intervals
Results
211.0ms1739×body1280valid
189.0ms8028×body80nan
115.0ms1183×body640valid
104.0ms4129×body80valid
48.0ms620×body320valid
17.0ms329×body160valid

Profiling

Loading profile data...