Details

Time bar (total: 10.4s)

sample24.0ms

Algorithm
intervals
Results
5.0ms275×body80nan
4.0ms44×body1280valid
3.0ms45×body640valid
3.0ms140×body80valid
1.0ms14×body320valid
0.0ms13×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.5b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.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:
4.0ms
(sqrt (+ x 1.0))
26.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series105.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(sqrt (+ x 1.0))
74.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify3.1s

Counts
95 → 95
Iterations

Useful iterations: 3 (511.0ms)

IterNodesCost
01371993
13091467
29181124
34514950
done5000950

prune133.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.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 0) (+ (sqrt x) (sqrt (+ x 1.0))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
32×distribute-lft-out
31×sqrt-prod
24×times-frac
21×add-sqr-sqrt
18×add-cube-cbrt
fma-def associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+ associate-/l*
expm1-log1p-u log1p-expm1-u
sqrt-div associate-/r/ associate-/l/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 93
Calls
3 calls:
4.0ms
(sqrt (+ x 1.0))
13.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
25.0ms
(/ (+ 1.0 0) (+ (sqrt x) (sqrt (+ x 1.0))))

series428.0ms

Counts
3 → 9
Calls
3 calls:
224.0ms
(sqrt (+ x 1.0))
66.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
138.0ms
(/ (+ 1.0 0) (+ (sqrt x) (sqrt (+ x 1.0))))

simplify657.0ms

Counts
102 → 102
Iterations

Useful iterations: done (653.0ms)

IterNodesCost
01691453
14131200
215071090
done50001084

prune224.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

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

rewrite178.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:
23.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
18.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
20.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
102.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

series792.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
137.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
142.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
168.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

simplify1.5s

Counts
270 → 270
Iterations

Useful iterations: done (1.5s)

IterNodesCost
03176276
16844534
232764194
done50014187

prune539.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
44×sqrt-prod
28×distribute-lft-out
19×flip3-+ flip-+
18×add-exp-log add-cbrt-cube
16×associate-/r/
14×add-sqr-sqrt
12×pow1 frac-times
11×add-cube-cbrt
10×swap-sqr
fma-def associate-*r/ associate-*r* associate-*l* associate-*l/ add-log-exp
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
times-frac
rem-sqrt-square div-inv
+-commutative pow2 distribute-rgt-in frac-2neg distribute-lft-in sqrt-pow1 pow-plus pow1/2 sqrt-div pow-prod-down clear-num associate-/r* sum-log pow-sqr *-commutative pow-prod-up associate-/l* unswap-sqr
Counts
4 → 130
Calls
4 calls:
12.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
23.0ms
(/ (* 1.0 1.0) (* (+ (sqrt x) (sqrt (+ x 1.0))) (+ (sqrt x) (sqrt (+ x 1.0)))))
24.0ms
(sqrt (/ (* 1.0 1.0) (* (+ (sqrt x) (sqrt (+ x 1.0))) (+ (sqrt x) (sqrt (+ x 1.0))))))
74.0ms
(* (+ (sqrt x) (sqrt (+ x 1.0))) (+ (sqrt x) (sqrt (+ x 1.0))))

series537.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
202.0ms
(/ (* 1.0 1.0) (* (+ (sqrt x) (sqrt (+ x 1.0))) (+ (sqrt x) (sqrt (+ x 1.0)))))
159.0ms
(sqrt (/ (* 1.0 1.0) (* (+ (sqrt x) (sqrt (+ x 1.0))) (+ (sqrt x) (sqrt (+ x 1.0))))))
106.0ms
(* (+ (sqrt x) (sqrt (+ x 1.0))) (+ (sqrt x) (sqrt (+ x 1.0))))

simplify868.0ms

Counts
142 → 142
Iterations

Useful iterations: done (864.0ms)

IterNodesCost
02333380
16622828
227552261
done50002252

prune306.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes32.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
11220
done1220

end0.0ms

sample678.0ms

Algorithm
intervals
Results
148.0ms1723×body1280valid
143.0ms7968×body80nan
82.0ms1228×body640valid
78.0ms4137×body80valid
30.0ms606×body320valid
10.0ms306×body160valid