Details

Time bar (total: 4.2s)

sample25.0ms

Algorithm
intervals
Results
4.0ms57×body1280valid
4.0ms239×body80nan
2.0ms128×body80valid
2.0ms38×body640valid
1.0ms21×body320valid
0.0ms12×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104
done104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.5b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite63.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:
7.0ms
(sqrt (+ x 1.0))
51.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series96.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(sqrt (+ x 1.0))
68.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify40.0ms

Counts
95 → 95
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02991161
1921822
25001744
done5001744

prune127.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
33×distribute-lft-out
32×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 → 94
Calls
3 calls:
7.0ms
(sqrt (+ x 1.0))
35.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
57.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series223.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(sqrt (+ x 1.0))
64.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
131.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify47.0ms

Counts
103 → 103
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0409789
11675716
25001675
done5001675

prune213.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
12×sqrt-prod
11×add-sqr-sqrt
add-exp-log add-cube-cbrt add-cbrt-cube
fma-def
distribute-lft-out
add-log-exp
pow1 times-frac associate-/l*
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
cbrt-undiv sqrt-div associate-*r/ div-exp associate-/r/ associate-/l/ difference-of-squares
+-commutative rem-sqrt-square flip3-- frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* sum-log flip-- cbrt-unprod hypot-def div-inv
Counts
3 → 72
Calls
3 calls:
7.0ms
(sqrt (+ x 1.0))
35.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
43.0ms
(/ (- (* 1.0 1.0) (* 0 0)) (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))

series238.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(sqrt (+ x 1.0))
73.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
133.0ms
(/ (- (* 1.0 1.0) (* 0 0)) (* 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify85.0ms

Counts
81 → 81
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
0492602
12727486
25002475
done5002475

prune213.0ms

Pruning

8 alts after pruning (7 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 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
0.2b
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

rewrite332.0ms

Algorithm
rewrite-expression-head
Rules
1122×*-un-lft-identity
908×sqrt-prod
774×times-frac
460×distribute-lft-out
310×add-sqr-sqrt
292×add-cube-cbrt
46×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
15×flip3-+ flip-+
12×div-inv
11×add-exp-log add-cbrt-cube
hypot-def
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 563
Calls
4 calls:
42.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
42.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
57.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
137.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series736.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
151.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
306.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
130.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify156.0ms

Counts
575 → 575
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
0110711444
145519783
250019783
done50019783

prune602.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes51.0ms

Accuracy

0% (0.1b 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
0158
1168
2168
done168

end0.0ms

sample706.0ms

Algorithm
intervals
Results
136.0ms1694×body1280valid
132.0ms7837×body80nan
78.0ms4137×body80valid
74.0ms1228×body640valid
28.0ms618×body320valid
10.0ms323×body160valid