Details

Time bar (total: 6.3s)

sample30.0ms

Algorithm
intervals
Results
6.0ms284×body80nan
5.0ms55×body640valid
5.0ms41×body1280valid
3.0ms136×body80valid
1.0ms15×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite156.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)))
3.0ms
(/ 1.0 (sqrt x))
68.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series262.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(/ 1.0 (sqrt (+ x 1.0)))
44.0ms
(/ 1.0 (sqrt x))
138.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify252.0ms

Algorithm
egg-herbie
Counts
748 → 748
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
0151724924
1419718301
2500118266

prune1.2s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 17.7b

localize9.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.2b
(* (sqrt x) (sqrt (+ x 1.0)))
2.9b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite107.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:
56.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
14.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
31.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series410.0ms

Counts
3 → 9
Calls
3 calls:
275.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
57.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
77.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify89.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06141715
128831280
250021185

prune289.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 17.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ 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.2b
(* (sqrt x) (sqrt (+ x 1.0)))
2.4b
(+ x (- 1.0 x))

rewrite107.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:
45.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
33.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
14.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
9.0ms
(+ x (- 1.0 x))

series712.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
504.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
61.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify104.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
07991711
142361448
250011435

prune404.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

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

rewrite90.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:
19.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
25.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
14.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
26.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

series784.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
141.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
63.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
509.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

simplify85.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07041320
136471120
250011050

prune319.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

regimes63.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

sample825.0ms

Algorithm
intervals
Results
186.0ms1867×body640valid
163.0ms8040×body80nan
139.0ms1135×body1280valid
106.0ms4100×body80valid
41.0ms574×body320valid
15.0ms324×body160valid