Details

Time bar (total: 5.1s)

sample35.0ms

Algorithm
intervals
Results
8.0ms258×body80nan
7.0ms50×body1280valid
5.0ms45×body640valid
4.0ms123×body80valid
2.0ms28×body320valid
1.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

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.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))

series70.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (46.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

localize7.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)))

rewrite20.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:
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series200.0ms

Counts
2 → 6
Calls
2 calls:
65.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
135.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify36.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0295535
11077482
25002453

prune110.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

localize13.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)))))

rewrite85.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:
10.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
36.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series791.0ms

Counts
4 → 12
Calls
4 calls:
354.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
141.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
132.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
164.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify115.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06472845
131522529
250022489

prune448.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)

rewrite121.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:
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
61.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)))
15.0ms
(cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3))
15.0ms
(pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)

series1.3s

Counts
4 → 12
Calls
4 calls:
142.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
170.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)))
350.0ms
(cbrt (pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3))
653.0ms
(pow (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) 3)

simplify152.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
010174585
144103911
250013807

prune488.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

regimes37.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

sample974.0ms

Algorithm
intervals
Results
246.0ms1768×body1280valid
222.0ms7956×body80nan
135.0ms1249×body640valid
116.0ms4035×body80valid
52.0ms644×body320valid
16.0ms304×body160valid

Profiling

Loading profile data...