Details

Time bar (total: 18.9s)

sample78.0ms

Algorithm
intervals
Results
42.0ms252×body80nan
7.0ms55×body1280valid
4.0ms45×body640valid
3.0ms125×body80valid
1.0ms18×body320valid
1.0ms13×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: 31.1b

localize9.0ms

Local error

Found 1 expressions with local error:

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

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

series95.0ms

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

simplify2.4s

Counts
73 → 73
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01171805
12541268
2569970
31667800
done5000698

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

rewrite76.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:
27.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
44.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

series277.0ms

Counts
2 → 6
Calls
2 calls:
105.0ms
(+ (sqrt x) (sqrt (+ x 1.0)))
172.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))

simplify1.7s

Counts
71 → 71
Iterations

Useful iterations: done (1.7s)

IterNodesCost
0132983
1313898
2848818
32615805
done5001804

prune208.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

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

rewrite21.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:
11.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series1.5s

Counts
4 → 12
Calls
4 calls:
321.0ms
(* (cbrt x) (cbrt x))
610.0ms
(cbrt x)
251.0ms
(cbrt x)
282.0ms
(cbrt x)

simplify5.4s

Counts
93 → 93
Iterations

Useful iterations: done (5.4s)

IterNodesCost
065554
1119443
2327423
31104405
44523400
done5001390

prune395.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

rewrite497.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:
47.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
76.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
69.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:
509.0ms
(sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0)))))
197.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
258.0ms
(/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))
273.0ms
(* (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))) (sqrt (/ 1.0 (+ (sqrt x) (sqrt (+ x 1.0))))))

simplify1.7s

Counts
270 → 270
Iterations

Useful iterations: done (1.7s)

IterNodesCost
03176276
16744462
221054194
done50004091

prune880.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes41.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
559.0ms4131×body80valid
443.0ms8150×body80nan
385.0ms1680×body1280valid
175.0ms1282×body640valid
112.0ms603×body320valid
21.0ms304×body160valid