Details

Time bar (total: 4.1s)

sample23.0ms

Algorithm
intervals
Results
4.0ms50×body1280valid
4.0ms227×body80nan
3.0ms52×body640valid
2.0ms123×body80valid
1.0ms25×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 32.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity sqrt-prod
add-log-exp difference-of-squares
pow1 add-cube-cbrt distribute-lft-out--
add-exp-log sqrt-div add-cbrt-cube distribute-lft-out
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+
Counts
2 → 35
Calls
2 calls:
3.0ms
(sqrt (+ x 1.0))
9.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series109.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(sqrt (+ x 1.0))
73.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify62.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0182265
1544243
22020233
35002230

prune85.0ms

Filtered
41 candidates to 28 candidates (68.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh000
Picked101
Done000
Total38442

Merged error: 0.1b

Counts
42 → 4

localize6.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 (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
24×sqrt-prod
21×distribute-lft-out
18×times-frac
16×add-sqr-sqrt
15×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 71
Calls
3 calls:
7.0ms
(sqrt (+ x 1.0))
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series237.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(sqrt (+ x 1.0))
68.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
139.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0341624
11239566
25001533

prune169.0ms

Filtered
80 candidates to 53 candidates (66.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New73780
Fresh123
Picked011
Done000
Total741084

Merged error: 0.0b

Counts
84 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (+ (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0)))) (sqrt x)))
0.2b
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
26×add-sqr-sqrt
20×add-cube-cbrt
15×times-frac
13×cbrt-prod
11×distribute-lft-out
10×associate-*r*
sqrt-prod
add-exp-log add-cbrt-cube
associate-*l*
pow1 cbrt-div
associate-/r*
flip3-+ flip-+ add-log-exp
associate-/l* unswap-sqr
pow1/3 sqrt-div associate-*r/ associate-/r/
cbrt-undiv frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv
Counts
4 → 94
Calls
4 calls:
19.0ms
(/ 1.0 (+ (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0)))) (sqrt x)))
9.0ms
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))

series474.0ms

Counts
4 → 12
Calls
4 calls:
192.0ms
(/ 1.0 (+ (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0)))) (sqrt x)))
100.0ms
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
90.0ms
(cbrt (+ x 1.0))
91.0ms
(cbrt (+ x 1.0))

simplify105.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08501547
139671453
250021432

prune356.0ms

Filtered
106 candidates to 79 candidates (74.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1042106
Fresh268
Picked101
Done011
Total1079116

Merged error: 0.0b

Counts
116 → 9

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.1b
(/ 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))))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
752×*-un-lft-identity
710×sqrt-prod
594×times-frac
284×distribute-lft-out
257×add-sqr-sqrt
255×add-cube-cbrt
39×associate-/l*
28×sqrt-div
27×associate-/r*
24×associate-/r/
15×associate-/l/
14×flip3-+ flip-+
12×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv div-exp add-log-exp
frac-2neg clear-num
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 459
Calls
4 calls:
13.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
9.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
31.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series812.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
165.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
334.0ms
(/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
149.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify143.0ms

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
010428838
141237799
250027766

prune577.0ms

Filtered
471 candidates to 155 candidates (32.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4665471
Fresh527
Picked011
Done011
Total4719480

Merged error: 0.0b

Counts
480 → 9

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

sample682.0ms

Algorithm
intervals
Results
142.0ms1630×body1280valid
139.0ms8087×body80nan
96.0ms1262×body640valid
78.0ms4166×body80valid
32.0ms634×body320valid
11.0ms308×body160valid