Details

Time bar (total: 6.0s)

sample31.0ms

Algorithm
intervals
Results
6.0ms46×body1280valid
6.0ms252×body80nan
5.0ms58×body640valid
3.0ms132×body80valid
1.0ms14×body320valid
0.0msbody160valid

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

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
1.5b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite136.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))
51.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series289.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
78.0ms
(/ 1.0 (sqrt (+ x 1.0)))
38.0ms
(/ 1.0 (sqrt x))
142.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify270.0ms

Algorithm
egg-herbie
Counts
770 → 770
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
0153825021
1427818390
2500118355

prune1.1s

Filtered
770 candidates to 303 candidates (39.4%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New75416770
Fresh000
Picked101
Done000
Total75516771

Merged error: 18.4b

Counts
771 → 16

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.2b
(* (sqrt x) (sqrt (+ x 1.0)))
1.5b
(- (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))
25.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))

series433.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
274.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
56.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
74.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify89.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06361812
129451369
250021271

prune296.0ms

Filtered
163 candidates to 93 candidates (57.1%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New1594163
Fresh31215
Picked101
Done000
Total16316179

Merged error: 17.7b

Counts
179 → 16

localize11.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.2b
(* (sqrt x) (sqrt (+ x 1.0)))
0.7b
(+ x (- 1.0 x))

rewrite63.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)))
23.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
9.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
7.0ms
(+ x (- 1.0 x))

series704.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
505.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
56.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify111.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
07991711
142361448
250011435

prune331.0ms

Filtered
168 candidates to 106 candidates (63.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1653168
Fresh10515
Picked101
Done000
Total1768184

Merged error: 0.2b

Counts
184 → 8

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
31×add-sqr-sqrt sqrt-prod
29×add-exp-log add-cbrt-cube
20×add-cube-cbrt
19×times-frac
18×distribute-lft-out
pow1 cbrt-undiv div-exp
prod-exp cbrt-unprod
associate-*r* associate-/r*
sqrt-div associate-*l*
associate-*r/
expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u associate-/l* add-log-exp unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down
frac-2neg clear-num div-inv
rem-sqrt-square sqrt-unprod *-commutative hypot-def associate-/l/
Counts
4 → 127
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
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))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series739.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(sqrt (+ x 1.0))
149.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
500.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
60.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify86.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06951281
135921095
250011022

prune256.0ms

Filtered
139 candidates to 91 candidates (65.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1318139
Fresh257
Picked101
Done000
Total13413147

Merged error: 0.0b

Counts
147 → 13

regimes54.0ms

Accuracy

0% (0.3b 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

sample856.0ms

Algorithm
intervals
Results
184.0ms7896×body80nan
178.0ms1858×body640valid
141.0ms1136×body1280valid
104.0ms4072×body80valid
45.0ms634×body320valid
14.0ms300×body160valid