Details

Time bar (total: 6.1s)

sample30.0ms

Algorithm
intervals
Results
5.0ms43×body1280valid
5.0ms229×body80nan
5.0ms52×body640valid
3.0ms127×body80valid
1.0ms21×body320valid
1.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

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: 21.2b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
875×*-un-lft-identity
742×add-sqr-sqrt
712×add-cube-cbrt
594×prod-diff
562×sqrt-prod
73×distribute-lft-out
54×div-inv
46×sqrt-div associate-/r/
23×flip3-+ flip-+
22×fma-neg
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg flip3-- diff-log frac-sub flip--
Counts
3 → 739
Calls
3 calls:
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
52.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series245.0ms

Counts
3 → 9
Calls
3 calls:
74.0ms
(/ 1.0 (sqrt (+ x 1.0)))
37.0ms
(/ 1.0 (sqrt x))
135.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify264.0ms

Algorithm
egg-herbie
Counts
748 → 748
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
0151724924
1419718301
2500118266

prune1.2s

Filtered
748 candidates to 285 candidates (38.1%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New73018748
Fresh000
Picked101
Done000
Total73118749

Merged error: 20.5b

Counts
749 → 18

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))
4.9b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
68×sqrt-prod
58×*-un-lft-identity
51×add-sqr-sqrt
42×prod-diff
35×add-cube-cbrt
17×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 fma-neg associate-*r*
associate-*r/ associate-*l*
prod-exp cbrt-unprod add-log-exp
cbrt-undiv sqrt-div div-exp difference-of-squares unswap-sqr
expm1-log1p-u pow-prod-down log1p-expm1-u distribute-lft-out--
flip3-- sqrt-pow1 flip3-+ pow1/2 associate-/r/ flip-- flip-+ associate-/l/
sub-neg frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
3 → 132
Calls
3 calls:
22.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
10.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series393.0ms

Counts
3 → 9
Calls
3 calls:
260.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
60.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
73.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify85.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06141715
128831280
250021185

prune302.0ms

Filtered
141 candidates to 76 candidates (53.9%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New1347141
Fresh51217
Picked101
Done000
Total14019159

Merged error: 19.8b

Counts
159 → 19

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.1b
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))
4.4b
(+ x (- 1.0 x))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
112×*-un-lft-identity
41×distribute-lft-out
36×add-sqr-sqrt
35×sqrt-prod
31×times-frac
29×add-exp-log add-cbrt-cube
28×add-cube-cbrt
11×associate-+r+
cbrt-undiv div-exp prod-diff add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out--
associate-*r* associate-/r*
associate-*l* associate-/l*
flip3-+ associate-*r/ flip-+
expm1-log1p-u sqrt-div associate-/r/ log1p-expm1-u unswap-sqr
fma-def pow-prod-down associate-/l/
associate-+r- frac-2neg sqrt-pow1 pow1/2 clear-num sum-log div-inv
+-commutative sub-neg sqrt-unprod diff-log div-sub *-commutative
Counts
4 → 156
Calls
4 calls:
15.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
24.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
7.0ms
(+ x (- 1.0 x))

series698.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
500.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
57.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify114.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07991711
142361448
250011435

prune405.0ms

Filtered
168 candidates to 106 candidates (63.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1653168
Fresh11718
Picked101
Done000
Total17710187

Merged error: 0.2b

Counts
187 → 10

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.1b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
0.2b
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
35×sqrt-prod
29×add-exp-log add-sqr-sqrt add-cbrt-cube
22×distribute-lft-out
21×add-cube-cbrt
19×times-frac
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
fma-def associate-*r* associate-/r*
associate-*l* add-log-exp
associate-*r/
expm1-log1p-u flip3-+ sqrt-div associate-/r/ flip-+ log1p-expm1-u associate-/l* unswap-sqr
pow-prod-down
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 131
Calls
4 calls:
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
19.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series781.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
144.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
492.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
61.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify91.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07041320
136361120
250021050

prune308.0ms

Filtered
143 candidates to 94 candidates (65.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New13211143
Fresh639
Picked101
Done000
Total13914153

Merged error: 0.0b

Counts
153 → 14

regimes51.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample847.0ms

Algorithm
intervals
Results
185.0ms1936×body640valid
176.0ms7833×body80nan
139.0ms1128×body1280valid
101.0ms4028×body80valid
43.0ms589×body320valid
15.0ms319×body160valid