Details

Time bar (total: 5.0s)

sample30.0ms

Algorithm
intervals
Results
6.0ms61×body640valid
5.0ms233×body80nan
4.0ms37×body1280valid
3.0ms131×body80valid
1.0ms20×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: 20.3b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
70×add-sqr-sqrt
69×times-frac
46×sqrt-prod
40×add-cube-cbrt
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube distribute-lft-out
associate-/l*
add-log-exp
div-inv
pow1
cbrt-undiv frac-2neg sqrt-div div-exp clear-num associate-/r/
sub-neg flip3-- flip3-+ diff-log frac-sub flip-- flip-+
Counts
3 → 117
Calls
3 calls:
13.0ms
(/ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))
64.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series226.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(/ 1.0 (sqrt (+ x 1.0)))
39.0ms
(/ 1.0 (sqrt x))
121.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
04101006
11310954
25001912

prune288.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 19.9b

localize8.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)))
2.2b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×sqrt-prod
17×add-exp-log add-cbrt-cube
16×*-un-lft-identity
pow1 add-cube-cbrt associate-*r*
associate-*r/ associate-*l*
prod-exp cbrt-unprod add-log-exp
cbrt-undiv sqrt-div div-exp difference-of-squares unswap-sqr
pow-prod-down distribute-lft-out--
flip3-- sqrt-pow1 flip3-+ pow1/2 associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out
sub-neg frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
3 → 77
Calls
3 calls:
59.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
27.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
47.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series358.0ms

Counts
3 → 9
Calls
3 calls:
241.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
59.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
59.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify61.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0492793
12495678
25002667

prune216.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 19.4b

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.3b
(* (sqrt x) (sqrt (+ x 1.0)))
1.7b
(+ x (- 1.0 x))

rewrite199.0ms

Algorithm
rewrite-expression-head
Rules
105×*-un-lft-identity
41×distribute-lft-out
35×sqrt-prod
31×times-frac
29×add-exp-log add-sqr-sqrt add-cbrt-cube
21×add-cube-cbrt
cbrt-undiv div-exp add-log-exp
pow1 prod-exp cbrt-unprod distribute-lft-out--
associate-*r* associate-/r*
associate-*l* associate-/l*
flip3-+ associate-*r/ flip-+
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
associate-+r- 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 → 136
Calls
4 calls:
89.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
61.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
26.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
16.0ms
(+ x (- 1.0 x))

series862.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
669.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))

simplify94.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07101587
138371359
250011323

prune329.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 3 expressions with local error:

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)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
28×add-exp-log add-cbrt-cube
27×sqrt-prod
26×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt
17×distribute-lft-out
cbrt-undiv div-exp
prod-exp cbrt-unprod
pow1 associate-*r* associate-/r*
associate-*l*
associate-*r/
sqrt-div associate-/r/ associate-/l* unswap-sqr
flip3-+ pow-prod-down flip-+ add-log-exp
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
sqrt-unprod *-commutative associate-/l/
Counts
3 → 102
Calls
3 calls:
45.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
47.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
27.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series654.0ms

Counts
3 → 9
Calls
3 calls:
134.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
468.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
51.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06321141
13368964
25003936

prune238.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

regimes53.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01410
11410

end0.0ms

sample896.0ms

Algorithm
intervals
Results
178.0ms1850×body640valid
166.0ms8007×body80nan
147.0ms1150×body1280valid
106.0ms4053×body80valid
48.0ms643×body320valid
15.0ms304×body160valid