Details

Time bar (total: 15.5s)

sample25.0ms

Algorithm
intervals
Results
4.0ms247×body80nan
4.0ms47×body1280valid
3.0ms39×body640valid
2.0ms134×body80valid
1.0ms21×body320valid
1.0ms15×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.1b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series74.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (45.0ms)

IterNodesCost
0132175
1400159
21559153
35001149

prune43.0ms

Filtered
22 candidates to 14 candidates (63.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New19322
Fresh000
Picked101
Done000
Total20323

Merged error: 0.2b

Counts
23 → 3

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

rewrite19.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:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series206.0ms

Counts
2 → 6
Calls
2 calls:
64.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
142.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify38.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0295535
11077482
25001453

prune115.0ms

Filtered
61 candidates to 39 candidates (63.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New55661
Fresh112
Picked011
Done000
Total56864

Merged error: 0.0b

Counts
64 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
0.0b
(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))))

rewrite103.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:
8.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
8.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
11.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
32.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series808.0ms

Counts
4 → 12
Calls
4 calls:
159.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
164.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
343.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
142.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify143.0ms

Algorithm
egg-herbie
Counts
457 → 457
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
010338864
141207704
250017681

prune504.0ms

Filtered
457 candidates to 146 candidates (31.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New4507457
Fresh516
Picked101
Done011
Total4569465

Merged error: 0.0b

Counts
465 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (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.3s

Algorithm
rewrite-expression-head
Rules
21584×sqrt-prod
15024×*-un-lft-identity
14958×times-frac
5512×distribute-lft-out
5380×add-sqr-sqrt
5378×add-cube-cbrt
586×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
sqrt-pow1 add-log-exp
frac-2neg clear-num
rem-sqrt-square pow1/2 associate-/l/
Counts
4 → 5792
Calls
4 calls:
9.0ms
(sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
13.0ms
(/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
198.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))))
41.0ms
(/ (/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))

series1.5s

Counts
4 → 12
Calls
4 calls:
333.0ms
(sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
445.0ms
(/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
146.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))))
564.0ms
(/ (/ 1.0 (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify1.7s

Algorithm
egg-herbie
Counts
5804 → 5804
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05001220216

prune8.1s

Filtered
5804 candidates to 1919 candidates (33.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New580315804
Fresh077
Picked011
Done011
Total5803105813

Merged error: 0b

Counts
5813 → 10

regimes83.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

sample664.0ms

Algorithm
intervals
Results
148.0ms1743×body1280valid
138.0ms8133×body80nan
82.0ms1238×body640valid
76.0ms4096×body80valid
32.0ms612×body320valid
10.0ms311×body160valid