Details

Time bar (total: 4.3s)

sample23.0ms

Algorithm
intervals
Results
4.0ms49×body1280valid
4.0ms233×body80nan
2.0ms130×body80valid
2.0ms37×body640valid
1.0ms23×body320valid
1.0ms17×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.5b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
57×sqrt-prod
50×*-un-lft-identity
42×prod-diff
37×add-sqr-sqrt
29×add-cube-cbrt
distribute-lft-out
fma-neg
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 70
Calls
1 calls:
9.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series72.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
02521065
1759733
24363623
35001593

prune92.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
16×add-sqr-sqrt add-cube-cbrt
fma-def
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 75
Calls
2 calls:
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series207.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
140.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0356693
11446627
25001586

prune169.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.0b
(log1p (expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
0.1b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.5b
(expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
18×add-sqr-sqrt add-cube-cbrt
fma-def
add-exp-log associate-/r* add-cbrt-cube add-log-exp
log1p-expm1-u
pow1 expm1-log1p-u associate-/l*
flip3-+ flip-+
associate-/r/ associate-/l/
cbrt-undiv +-commutative log1p-udef expm1-log1p frac-2neg log1p-expm1 div-exp clear-num sum-log div-inv expm1-udef
Counts
4 → 97
Calls
4 calls:
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
1.0ms
(log1p (expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
13.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
1.0ms
(expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))

series1.0s

Counts
4 → 12
Calls
4 calls:
71.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
510.0ms
(log1p (expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
145.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
309.0ms
(expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify63.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05421045
12186929
25002899

prune293.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.5b
(expm1 (/ (+ 1.0 0) (fma (sqrt (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (sqrt (cbrt (+ x 1.0))) (sqrt x))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
log1p-expm1-u
pow1 add-exp-log expm1-log1p-u add-cbrt-cube add-log-exp
flip3-+ pow1/3 flip-+ distribute-lft-out
expm1-log1p expm1-udef
Counts
4 → 59
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
1.0ms
(expm1 (/ (+ 1.0 0) (fma (sqrt (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (sqrt (cbrt (+ x 1.0))) (sqrt x))))

series1.0s

Counts
4 → 12
Calls
4 calls:
85.0ms
(cbrt (+ x 1.0))
287.0ms
(cbrt (+ x 1.0))
92.0ms
(cbrt (+ x 1.0))
539.0ms
(expm1 (/ (+ 1.0 0) (fma (sqrt (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (sqrt (cbrt (+ x 1.0))) (sqrt x))))

simplify77.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07081236
131251158
250011149

prune326.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes38.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0148
1188
2188

end0.0ms

sample643.0ms

Algorithm
intervals
Results
142.0ms8115×body80nan
139.0ms1696×body1280valid
77.0ms1203×body640valid
74.0ms4149×body80valid
29.0ms607×body320valid
12.0ms345×body160valid