Details

Time bar (total: 15.2s)

sample31.0ms

Algorithm
intervals
Results
6.0ms54×body1280valid
6.0ms251×body80nan
3.0ms135×body80valid
3.0ms37×body640valid
1.0ms21×body320valid
0.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.9b

localize18.0ms

Local error

Found 2 expressions with local error:

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

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
61×sqrt-prod
54×*-un-lft-identity
42×add-sqr-sqrt prod-diff
31×add-cube-cbrt
distribute-lft-out
fma-neg
add-log-exp difference-of-squares
pow1 distribute-lft-out--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+ hypot-def
Counts
2 → 89
Calls
2 calls:
21.0ms
(sqrt (+ x 1.0))
105.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series162.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(sqrt (+ x 1.0))
101.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify2.4s

Counts
95 → 95
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01371993
13011432
26771124
31959950
done5000846

prune236.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
27×sqrt-prod
21×distribute-lft-out
20×add-sqr-sqrt
18×times-frac
17×add-cube-cbrt
fma-def associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 84
Calls
3 calls:
8.0ms
(sqrt (+ x 1.0))
21.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
73.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

series330.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(sqrt (+ x 1.0))
90.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
194.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

simplify2.2s

Counts
93 → 93
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01581171
13641060
2967972
32933955
done5000954

prune289.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite348.0ms

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity
708×sqrt-prod
594×times-frac
280×distribute-lft-out
270×add-sqr-sqrt
252×add-cube-cbrt
36×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
14×flip3-+ flip-+
12×div-inv
11×add-exp-log add-cbrt-cube
hypot-def
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 461
Calls
4 calls:
48.0ms
(sqrt (+ (sqrt x) (sqrt (+ x 1.0))))
47.0ms
(sqrt (+ (sqrt x) (sqrt (+ x 1.0))))
58.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
125.0ms
(/ (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
224.0ms
(sqrt (+ (sqrt x) (sqrt (+ x 1.0))))
254.0ms
(sqrt (+ (sqrt x) (sqrt (+ x 1.0))))
429.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
169.0ms
(/ (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))

simplify1.6s

Counts
473 → 473
Iterations

Useful iterations: done (1.6s)

IterNodesCost
044615335
1106012320
2232911633
done500011008

prune780.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite400.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
expm1-log1p-u log1p-expm1-u 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 → 258
Calls
4 calls:
53.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
47.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
48.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
231.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

series1.0s

Counts
4 → 12
Calls
4 calls:
472.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
151.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
151.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
228.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

simplify1.3s

Counts
270 → 270
Iterations

Useful iterations: done (1.3s)

IterNodesCost
03176276
16744462
221054194
done50004091

prune770.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes46.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
199
done99

end0.0ms

sample1.8s

Algorithm
intervals
Results
736.0ms8028×body80nan
296.0ms1737×body1280valid
187.0ms1307×body640valid
178.0ms4108×body80valid
47.0ms574×body320valid
15.0ms274×body160valid