Details

Time bar (total: 5.2s)

sample31.0ms

Algorithm
intervals
Results
6.0ms258×body80nan
6.0ms50×body1280valid
4.0ms45×body640valid
3.0ms123×body80valid
2.0ms28×body320valid
0.0ms10×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.6b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

2.9b
(- (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:
8.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series72.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0132175
1400159
21559153
35001149

prune44.0ms

Filtered
22 candidates to 14 candidates (63.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New19322
Fresh000
Picked101
Done000
Total20323

Merged error: 0.2b

Counts
23 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
20×sqrt-prod distribute-lft-out
18×times-frac
13×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 55
Calls
2 calls:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
9.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series209.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
141.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify35.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0295535
11077482
25002453

prune111.0ms

Filtered
61 candidates to 39 candidates (63.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55661
Fresh112
Picked011
Done000
Total56864

Merged error: 0.0b

Counts
64 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
297×*-un-lft-identity
274×sqrt-prod
157×times-frac
119×add-sqr-sqrt
116×distribute-lft-out
88×add-cube-cbrt
41×swap-sqr
27×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
flip3-+ flip-+ div-inv
associate-/l*
sqrt-div pow-prod-up
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 → 250
Calls
4 calls:
18.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
16.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
9.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
32.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series797.0ms

Counts
4 → 12
Calls
4 calls:
343.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
140.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
145.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
169.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify112.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06472845
131522529
250022489

prune432.0ms

Filtered
262 candidates to 137 candidates (52.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2584262
Fresh336
Picked011
Done011
Total2619270

Merged error: 0.0b

Counts
270 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
0.3b
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)))
0.3b
(cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3))
0.4b
(pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
298×sqrt-prod
271×*-un-lft-identity
162×add-sqr-sqrt
159×times-frac
144×cbrt-prod
100×distribute-lft-out
96×add-cube-cbrt
90×unpow-prod-down cube-prod
63×associate-*r*
27×associate-*l* unswap-sqr
16×associate-/r/
add-exp-log
pow1 flip3-+ add-cbrt-cube flip-+ div-inv
sqrt-div associate-/r* sqr-pow
cube-div add-log-exp
cube-mult pow-unpow cbrt-div pow-pow unpow3 associate-/l*
cbrt-undiv frac-times pow-to-exp frac-2neg sqrt-pow1 pow1/2 pow1/3 associate-*r/ div-exp pow-prod-down associate-*l/ pow-exp prod-exp clear-num *-commutative sqrt-pow2 rem-cbrt-cube cbrt-unprod rem-cube-cbrt
Counts
4 → 317
Calls
4 calls:
9.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
54.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)))
14.0ms
(cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3))
13.0ms
(pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)

series1.5s

Counts
4 → 12
Calls
4 calls:
143.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
376.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)))
343.0ms
(cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3))
664.0ms
(pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)

simplify142.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
010174585
144103911
250013807

prune466.0ms

Filtered
329 candidates to 133 candidates (40.4%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New3281329
Fresh156
Picked011
Done022
Total3299338

Merged error: 0.0b

Counts
338 → 9

regimes36.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
095
195

end0.0ms

sample912.0ms

Algorithm
intervals
Results
218.0ms1768×body1280valid
207.0ms7956×body80nan
118.0ms1249×body640valid
111.0ms4035×body80valid
48.0ms644×body320valid
15.0ms304×body160valid

Profiling

Loading profile data...