Details

Time bar (total: 19.1s)

sample69.0ms

Algorithm
intervals
Results
13.0ms286×body80nan
10.0ms45×body1280valid
10.0ms57×body640valid
6.0ms122×body80valid
3.0ms20×body320valid
1.0ms12×body160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize80.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
2.6b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity sqrt-prod
add-log-exp difference-of-squares
pow1 add-cube-cbrt distribute-lft-out--
add-exp-log sqrt-div add-cbrt-cube distribute-lft-out
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+
Counts
2 → 35
Calls
2 calls:
15.0ms
(sqrt (+ x 1.0))
85.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series190.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(sqrt (+ x 1.0))
135.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify2.1s

Counts
41 → 41
Iterations

Useful iterations: done (2.1s)

IterNodesCost
084488
1188440
2638410
32563402
done5000400

prune213.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize21.0ms

Local error

Found 3 expressions with local error:

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

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
24×sqrt-prod
21×distribute-lft-out
18×times-frac
16×add-sqr-sqrt
15×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 71
Calls
3 calls:
15.0ms
(sqrt (+ x 1.0))
71.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
85.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series419.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(sqrt (+ x 1.0))
107.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
262.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify1.2s

Counts
80 → 80
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01521125
13611018
21505937
done5001929

prune480.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize36.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.2b
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

rewrite726.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:
89.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
92.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
87.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
423.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.4s

Counts
4 → 12
Calls
4 calls:
630.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
236.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
245.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
284.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify2.6s

Counts
262 → 262
Iterations

Useful iterations: done (2.5s)

IterNodesCost
03116170
17034400
232204128
done50024073

prune1.4s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize59.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
0.2b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
0.2b
(* (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
0.2b
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (* (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))))

rewrite1.7s

Algorithm
rewrite-expression-head
Rules
203×*-un-lft-identity
168×sqrt-prod
141×times-frac
131×add-sqr-sqrt
77×add-cube-cbrt
68×distribute-lft-out
60×associate-*l*
37×associate-*r*
34×add-exp-log
22×add-cbrt-cube
18×unswap-sqr
16×sqrt-div
15×pow1 associate-/r*
11×div-exp
10×associate-/r/
prod-exp
cbrt-undiv frac-times associate-*r/ pow-prod-down associate-/l*
sqrt-pow1 flip3-+ cbrt-unprod flip-+ div-inv
associate-*l/ add-log-exp
rec-exp pow-flip pow1/2 1-exp
frac-2neg clear-num *-commutative
sqrt-unprod swap-sqr inv-pow
Counts
4 → 262
Calls
4 calls:
94.0ms
(/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
88.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
409.0ms
(* (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
1.0s
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (* (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
452.0ms
(/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
245.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
245.0ms
(* (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
293.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (* (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))))

simplify942.0ms

Counts
274 → 274
Iterations

Useful iterations: done (923.0ms)

IterNodesCost
04077103
111136491
done50005808

prune1.6s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes133.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01533
12133
done2133

end0.0ms

sample2.2s

Algorithm
intervals
Results
566.0ms1773×body1280valid
404.0ms7916×body80nan
339.0ms4046×body80valid
218.0ms1235×body640valid
148.0ms617×body320valid
29.0ms329×body160valid