Details

Time bar (total: 17.4s)

sample29.0ms

Algorithm
intervals
Results
6.0ms56×body1280valid
5.0ms233×body80nan
3.0ms42×body640valid
3.0ms131×body80valid
1.0ms18×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

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

series64.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (43.0ms)

IterNodesCost
0132175
1400159
21559153
35001149

prune46.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
18×times-frac
16×sqrt-prod distribute-lft-out
12×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 41
Calls
1 calls:
51.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series128.0ms

Counts
1 → 3
Calls
1 calls:
128.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify30.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0249412
1918375
25001348

prune90.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))))
0.2b
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

rewrite328.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:
45.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
44.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
52.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
140.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series906.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
144.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
486.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
131.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify134.0ms

Algorithm
egg-herbie
Counts
457 → 457
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
010338862
141207704
250017681

prune554.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.8s

Algorithm
rewrite-expression-head
Rules
21574×sqrt-prod
15023×*-un-lft-identity
14958×times-frac
5512×distribute-lft-out
5378×add-sqr-sqrt
5377×add-cube-cbrt
584×sqrt-div
555×associate-/l*
292×associate-/r/
147×flip3-+ flip-+
146×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:
43.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
55.0ms
(/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
414.0ms
(/ (/ (/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
150.0ms
(/ (/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))

series978.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
404.0ms
(/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
122.0ms
(/ (/ (/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
303.0ms
(/ (/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify1.8s

Algorithm
egg-herbie
Counts
5798 → 5798
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05001219394

prune9.6s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes28.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample796.0ms

Algorithm
intervals
Results
163.0ms1741×body1280valid
158.0ms8007×body80nan
93.0ms1258×body640valid
85.0ms4058×body80valid
35.0ms638×body320valid
12.0ms305×body160valid