Details

Time bar (total: 11.6s)

sample40.0ms

Algorithm
intervals
Results
8.0ms60×body1280valid
7.0ms276×body80nan
5.0ms43×body640valid
3.0ms122×body80valid
2.0ms24×body320valid
0.0msbody160valid

simplify17.0ms

Counts
1 → 1

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.3b

localize13.0ms

Local error

Found 1 expressions with local error:

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

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

series99.0ms

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

simplify728.0ms

Counts
22 → 22

prune59.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
20×sqrt-prod distribute-lft-out
18×times-frac
13×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 55
Calls
2 calls:
52.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
48.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series315.0ms

Counts
2 → 6
Calls
2 calls:
93.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
222.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify552.0ms

Counts
61 → 61

prune182.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

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

rewrite859.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
74×*-un-lft-identity
32×distribute-lft-out
30×add-sqr-sqrt
28×sqrt-div
21×pow1
16×add-cube-cbrt
15×swap-sqr
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×sqrt-pow1 pow1/2
associate-*r* associate-*l*
frac-times associate-/r/
pow-prod-up
associate-*r/ associate-*l/ add-log-exp unswap-sqr
times-frac pow-prod-down pow-sqr associate-/l*
cbrt-undiv rem-sqrt-square div-exp prod-exp cbrt-unprod
pow2 frac-2neg pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative div-inv
Counts
4 → 135
Calls
4 calls:
61.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
43.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
86.0ms
(/ 1.0 (* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
656.0ms
(* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series765.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
249.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
197.0ms
(/ 1.0 (* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
96.0ms
(* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify1.3s

Counts
147 → 147

prune458.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite440.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:
45.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
59.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
49.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
255.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
498.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
177.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
202.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
225.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify1.9s

Counts
262 → 262

prune893.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes58.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify13.0ms

end0.0ms

sample1.6s

Algorithm
intervals
Results
421.0ms8109×body80nan
366.0ms1812×body1280valid
215.0ms1230×body640valid
135.0ms4052×body80valid
65.0ms616×body320valid
18.0ms290×body160valid