Details

Time bar (total: 13.5s)

sample56.0ms

Algorithm
intervals
Results
10.0ms250×body80nan
10.0ms47×body1280valid
6.0ms38×body640valid
6.0ms142×body80valid
2.0ms17×body320valid
1.0ms12×body160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.2b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite74.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:
9.0ms
(sqrt (+ x 1.0))
65.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series176.0ms

Counts
2 → 6
Calls
2 calls:
56.0ms
(sqrt (+ x 1.0))
120.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify1.6s

Counts
41 → 41
Iterations

Useful iterations: done (1.6s)

IterNodesCost
084488
1188440
2638410
32563402
done5000400

prune127.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
20×sqrt-prod
18×times-frac
17×distribute-lft-out
15×add-sqr-sqrt
14×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube
pow1 associate-/l*
flip3-+ sqrt-div associate-/r/ flip-+ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
2 → 57
Calls
2 calls:
19.0ms
(sqrt (+ x 1.0))
56.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series249.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(sqrt (+ x 1.0))
197.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify834.0ms

Counts
63 → 63
Iterations

Useful iterations: done (832.0ms)

IterNodesCost
0140893
1328811
21362752
done5000748

prune195.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

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

rewrite951.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:
457.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
70.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
94.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
295.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
552.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
179.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
177.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
253.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify1.9s

Counts
262 → 262
Iterations

Useful iterations: done (1.8s)

IterNodesCost
03116170
17034400
232204128
done50024073

prune865.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite265.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:
51.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
44.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
61.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
104.0ms
(/ (* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt 1.0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series1.1s

Counts
4 → 12
Calls
4 calls:
533.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
169.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
159.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
212.0ms
(/ (* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt 1.0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify1.8s

Counts
144 → 144
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02983063
17342733
236742514
done50012505

prune574.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes50.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01222
11522
done1522

end0.0ms

sample1.5s

Algorithm
intervals
Results
359.0ms1754×body1280valid
358.0ms7835×body80nan
192.0ms1236×body640valid
128.0ms4105×body80valid
53.0ms627×body320valid
16.0ms278×body160valid