Details

Time bar (total: 4.1s)

sample31.0ms

Algorithm
intervals
Results
8.0ms59×body1280valid
6.0ms216×body80nan
4.0ms36×body640valid
4.0ms130×body80valid
2.0ms23×body320valid
0.0msbody160valid

simplify6.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: 30.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.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:
3.0ms
(sqrt (+ x 1.0))
9.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series100.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(sqrt (+ x 1.0))
69.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify51.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
02991161
1921822
25001744

prune121.0ms

Filtered
95 candidates to 44 candidates (46.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New91495
Fresh000
Picked101
Done000
Total92496

Merged error: 0.1b

Counts
96 → 4

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

rewrite26.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:
3.0ms
(sqrt (+ x 1.0))
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series241.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0409789
11675716
25001675

prune195.0ms

Filtered
103 candidates to 68 candidates (66.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New976103
Fresh213
Picked101
Done000
Total1007107

Merged error: 0.0b

Counts
107 → 7

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.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.5b
(expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))

rewrite28.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:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
1.0ms
(log1p (expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
16.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:
69.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
493.0ms
(log1p (expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
134.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
305.0ms
(expm1 (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify63.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05421045
12189929
25001899

prune227.0ms

Filtered
109 candidates to 72 candidates (66.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1090109
Fresh066
Picked011
Done000
Total1097116

Merged error: 0.0b

Counts
116 → 7

localize11.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.3b
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
9.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

series366.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(cbrt (+ x 1.0))
92.0ms
(cbrt (+ x 1.0))
87.0ms
(cbrt (+ x 1.0))
99.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))

simplify149.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0321818
11071769
24756694
35001692

prune306.0ms

Filtered
115 candidates to 83 candidates (72.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1150115
Fresh055
Picked011
Done011
Total1157122

Merged error: 0.0b

Counts
122 → 7

regimes57.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
0148
1188
2188

end0.0ms

sample958.0ms

Algorithm
intervals
Results
236.0ms1753×body1280valid
222.0ms8123×body80nan
128.0ms1238×body640valid
113.0ms4047×body80valid
51.0ms647×body320valid
17.0ms315×body160valid