Details

Time bar (total: 3.0s)

sample299.0ms

Algorithm
intervals
Results
21.0ms849×body80nan
5.0ms256×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
094
1104
2104

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 1 expressions with local error:

0.5b
(* (sqrt (- x 1.0)) (sqrt x))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*l*
*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*l/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 34
Calls
1 calls:
16.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series89.0ms

Counts
1 → 3
Calls
1 calls:
89.0ms
(* (sqrt (- x 1.0)) (sqrt x))

simplify76.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0181216
1610206
22471201
35002201

prune72.0ms

Filtered
37 candidates to 25 candidates (67.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (+ 0.5 (* 0.125 (/ 1 x))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity
diff-log
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- sum-log add-cbrt-cube flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
1 → 16
Calls
1 calls:
6.0ms
(- x (+ 0.5 (* 0.125 (/ 1 x))))

series21.0ms

Counts
1 → 3
Calls
1 calls:
21.0ms
(- x (+ 0.5 (* 0.125 (/ 1 x))))

simplify36.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
096126
1283117
21070115
35001110

prune37.0ms

Filtered
19 candidates to 14 candidates (73.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (- x 1.0)))
0.1b
(sqrt (sqrt (- x 1.0)))
0.2b
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
0.4b
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
66×sqrt-prod
40×add-sqr-sqrt
36×sqrt-div
24×*-un-lft-identity
22×associate-*l*
20×pow1
16×add-cube-cbrt
13×sqrt-pow1
11×add-exp-log add-cbrt-cube
10×pow-prod-down associate-*l/
flip3-- pow1/2 flip--
associate-*r*
unswap-sqr
frac-times rem-sqrt-square prod-exp cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
sqrt-unprod
associate-*r/ *-commutative
Counts
4 → 122
Calls
4 calls:
7.0ms
(sqrt (sqrt (- x 1.0)))
5.0ms
(sqrt (sqrt (- x 1.0)))
37.0ms
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
18.0ms
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

series551.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(sqrt (sqrt (- x 1.0)))
106.0ms
(sqrt (sqrt (- x 1.0)))
70.0ms
(* (sqrt (sqrt (- x 1.0))) (* (sqrt (sqrt (- x 1.0))) (sqrt x)))
271.0ms
(* (sqrt (sqrt (- x 1.0))) (sqrt x))

simplify59.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05611080
12009976
25002947

prune306.0ms

Filtered
134 candidates to 91 candidates (67.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize4.0ms

Local error

Found 1 expressions with local error:

31.1b
(sqrt (* x (- x 1.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- add-log-exp
Counts
1 → 13
Calls
1 calls:
7.0ms
(sqrt (* x (- x 1.0)))

series42.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(sqrt (* x (- x 1.0)))

simplify155.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
011174
128169
298368
3376366
4500166

prune33.0ms

Filtered
16 candidates to 13 candidates (81.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0124
1124

end0.0ms

sample1.1s

Algorithm
intervals
Results
569.0ms23831×body80nan
151.0ms7997×body80valid
0.0msbody160valid