Details

Time bar (total: 6.5s)

sample43.0ms

Algorithm
intervals
Results
9.0ms281×body80nan
8.0ms58×body640valid
6.0ms34×body1280valid
5.0ms133×body80valid
4.0ms18×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: 20.7b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(/ 1.0 (sqrt (+ x 1.0)))
0.3b
(/ 1.0 (sqrt x))
3.4b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
879×*-un-lft-identity
747×add-sqr-sqrt
714×add-cube-cbrt
594×prod-diff
566×sqrt-prod
74×distribute-lft-out
54×div-inv
48×sqrt-div
46×associate-/r/
24×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 rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip-- hypot-def
Counts
4 → 758
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
49.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(sqrt (+ x 1.0))
74.0ms
(/ 1.0 (sqrt (+ x 1.0)))
36.0ms
(/ 1.0 (sqrt x))
134.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify261.0ms

Algorithm
egg-herbie
Counts
770 → 770
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
0153825021
1421118435
2500118400

prune1.0s

Filtered
770 candidates to 303 candidates (39.4%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New75317770
Fresh000
Picked101
Done000
Total75417771

Merged error: 20.0b

Counts
771 → 17

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
62×*-un-lft-identity
56×add-sqr-sqrt
42×prod-diff
37×add-cube-cbrt
18×add-exp-log add-cbrt-cube
10×distribute-lft-out
pow1
fma-neg associate-*r*
sqrt-div associate-*r/ associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u difference-of-squares unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out--
flip3-- associate-/r/ flip-- associate-/l/
sub-neg rem-sqrt-square frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative hypot-def div-inv associate-/l*
Counts
4 → 151
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
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))

series419.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(sqrt (+ x 1.0))
259.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
59.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
65.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify88.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06361811
129501369
250011271

prune296.0ms

Filtered
163 candidates to 93 candidates (57.1%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1585163
Fresh31316
Picked101
Done000
Total16218180

Merged error: 19.2b

Counts
180 → 18

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.2b
(/ (* 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)))
2.4b
(+ x (- 1.0 x))

rewrite58.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)))
22.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))

series688.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
484.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
60.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify109.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07991711
142361448
250011435

prune332.0ms

Filtered
168 candidates to 106 candidates (63.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1662168
Fresh9817
Picked101
Done000
Total17610186

Merged error: 0.3b

Counts
186 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.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)))
18.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
12.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series933.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
141.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
668.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
62.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify96.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07041320
136361120
250021050

prune255.0ms

Filtered
143 candidates to 94 candidates (65.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1349143
Fresh369
Picked101
Done000
Total13815153

Merged error: 0.0b

Counts
153 → 15

regimes112.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119
1119

end0.0ms

sample1.2s

Algorithm
intervals
Results
280.0ms8286×body80nan
256.0ms1845×body640valid
213.0ms1176×body1280valid
151.0ms4100×body80valid
65.0ms598×body320valid
19.0ms281×body160valid