Details

Time bar (total: 17.8s)

sample66.0ms

Algorithm
intervals
Results
36.0ms55×body1280valid
7.0ms252×body80nan
4.0ms45×body640valid
3.0ms125×body80valid
1.0ms18×body320valid
1.0ms13×body160valid

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: 31.1b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite411.0ms

Algorithm
rewrite-expression-head
Rules
57×sqrt-prod
50×*-un-lft-identity
42×prod-diff
37×add-sqr-sqrt
29×add-cube-cbrt
distribute-lft-out
fma-neg
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 70
Calls
1 calls:
405.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series127.0ms

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

simplify2.3s

Counts
73 → 73
Iterations

Useful iterations: done (2.3s)

IterNodesCost
01171805
12541268
2569970
31667800
done5000698

prune110.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
23×sqrt-prod
20×distribute-lft-out
18×times-frac
15×add-sqr-sqrt add-cube-cbrt
fma-def associate-/r*
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 65
Calls
2 calls:
20.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
70.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

series296.0ms

Counts
2 → 6
Calls
2 calls:
82.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
214.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

simplify1.4s

Counts
71 → 71
Iterations

Useful iterations: done (1.4s)

IterNodesCost
0132983
1313898
2848818
32615805
done5001804

prune180.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.5b
(cbrt x)
0.5b
(cbrt x)
0.5b
(cbrt x)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
17.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series1.1s

Counts
4 → 12
Calls
4 calls:
294.0ms
(* (cbrt x) (cbrt x))
259.0ms
(cbrt x)
335.0ms
(cbrt x)
242.0ms
(cbrt x)

simplify5.0s

Counts
93 → 93
Iterations

Useful iterations: done (5.0s)

IterNodesCost
065554
1119443
2327423
31104405
44523400
done5001390

prune436.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize25.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))))))

rewrite428.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:
52.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
38.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
38.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
261.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
564.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
184.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
188.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
259.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

simplify1.6s

Counts
270 → 270
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03176276
16744462
221054194
done50004091

prune821.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.2b 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
01222
11522
done1522

end0.0ms

sample2.1s

Algorithm
intervals
Results
425.0ms603×body320valid
423.0ms8150×body80nan
328.0ms1680×body1280valid
256.0ms1282×body640valid
193.0ms4131×body80valid
61.0ms304×body160valid