Details

Time bar (total: 20.1s)

sample25.0ms

Algorithm
intervals
Results
5.0ms58×body1280valid
4.0ms226×body80nan
3.0ms42×body640valid
2.0ms123×body80valid
1.0ms23×body320valid
0.0ms10×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: 31.7b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series68.0ms

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

simplify824.0ms

Counts
22 → 22
Iterations

Useful iterations: done (823.0ms)

IterNodesCost
059310
1133285
2375263
31352257
done5000255

prune44.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
31×distribute-lft-out
24×times-frac sqrt-prod
14×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 64
Calls
2 calls:
16.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
29.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series210.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
143.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify456.0ms

Counts
70 → 70
Iterations

Useful iterations: done (453.0ms)

IterNodesCost
01391225
1340985
21072906
done5000902

prune134.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity
700×sqrt-prod
594×times-frac
280×distribute-lft-out
254×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
pow1
cbrt-undiv div-exp add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 445
Calls
4 calls:
24.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
21.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
72.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
27.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series811.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
164.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
145.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
333.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify1.1s

Counts
457 → 457
Iterations

Useful iterations: done (1.1s)

IterNodesCost
044015237
1103812250
2284611578
done500111574

prune789.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.4s

Algorithm
rewrite-expression-head
Rules
21574×sqrt-prod
14984×*-un-lft-identity
14958×times-frac
5512×distribute-lft-out
5339×add-sqr-sqrt
5338×add-cube-cbrt
438×associate-/l*
402×sqrt-div
370×associate-/r/
186×flip3-+ flip-+
185×div-inv
33×associate-/r*
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1
add-log-exp
frac-2neg clear-num
associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 5786
Calls
4 calls:
22.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
274.0ms
(/ (/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
25.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
81.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.2s

Counts
4 → 12
Calls
4 calls:
161.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
141.0ms
(/ (/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
328.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
549.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify1.9s

Counts
5798 → 5798
Iterations

Useful iterations: done (1.0s)

IterNodesCost
02678338863
done5000338841

prune10.2s

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes33.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: done (1.0ms)

IterNodesCost
0911
11211
done129

end0.0ms

sample684.0ms

Algorithm
intervals
Results
148.0ms1746×body1280valid
143.0ms7984×body80nan
90.0ms1276×body640valid
78.0ms4049×body80valid
33.0ms615×body320valid
11.0ms314×body160valid