Details

Time bar (total: 15.5s)

sample56.0ms

Algorithm
intervals
Results
11.0ms55×body1280valid
10.0ms252×body80nan
7.0ms45×body640valid
5.0ms125×body80valid
2.0ms18×body320valid
1.0ms13×body160valid

simplify6.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune384.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite65.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:
64.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series117.0ms

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

simplify2.0s

Counts
22 → 22
Iterations

Useful iterations: done (2.0s)

IterNodesCost
059310
1133285
2336263
3802257
42104250
done5001246

prune64.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite107.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:
45.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
59.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series303.0ms

Counts
2 → 6
Calls
2 calls:
88.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
215.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify2.0s

Counts
61 → 61
Iterations

Useful iterations: done (1.9s)

IterNodesCost
0128947
1297865
2790788
32333774
done5001766

prune197.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
0.1b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
0.1b
(/ 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)))))

rewrite525.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:
62.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
77.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
50.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
318.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
548.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
239.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
246.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
224.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify1.6s

Counts
262 → 262
Iterations

Useful iterations: done (1.5s)

IterNodesCost
03116170
16414386
220044124
done50014023

prune842.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite327.0ms

Algorithm
rewrite-expression-head
Rules
100×*-un-lft-identity
82×sqrt-prod
46×times-frac
40×distribute-lft-out
34×add-sqr-sqrt
30×add-cube-cbrt
15×associate-/r*
11×add-exp-log add-cbrt-cube
pow1 sqrt-div associate-/r/
flip3-+ flip-+ associate-/l* add-log-exp
cbrt-undiv rem-sqrt-square div-exp div-inv
frac-2neg sqrt-pow1 pow1/2 clear-num
sqrt-undiv sqrt-unprod associate-*l/ prod-exp cbrt-unprod associate-/l/
Counts
4 → 132
Calls
4 calls:
78.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
47.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
58.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
132.0ms
(/ (* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt 1.0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series1.3s

Counts
4 → 12
Calls
4 calls:
275.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
534.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
227.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
306.0ms
(/ (* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt 1.0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify1.4s

Counts
144 → 144
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02983063
16902716
221192506
done50002446

prune547.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
199
done99

end0.0ms

sample2.3s

Algorithm
intervals
Results
954.0ms8150×body80nan
310.0ms1680×body1280valid
296.0ms1282×body640valid
209.0ms4131×body80valid
64.0ms603×body320valid
22.0ms304×body160valid