Details

Time bar (total: 5.3s)

sample31.0ms

Algorithm
intervals
Results
5.0ms264×body80nan
5.0ms46×body1280valid
5.0ms56×body640valid
3.0ms130×body80valid
1.0ms14×body320valid
0.0ms10×body160valid

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

localize11.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))
2.5b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
73×add-sqr-sqrt
69×times-frac
50×sqrt-prod
42×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
pow1
sqrt-div div-inv
cbrt-undiv frac-2neg flip3-+ div-exp clear-num associate-/r/ flip-+
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip--
Counts
4 → 133
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
12.0ms
(/ 1.0 (sqrt (+ x 1.0)))
6.0ms
(/ 1.0 (sqrt x))
61.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series299.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(sqrt (+ x 1.0))
80.0ms
(/ 1.0 (sqrt (+ x 1.0)))
41.0ms
(/ 1.0 (sqrt x))
146.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04431097
114341038
25001992

prune336.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 18.8b

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

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
23×sqrt-prod
20×*-un-lft-identity
18×add-exp-log add-cbrt-cube
pow1 add-cube-cbrt
associate-*r*
sqrt-div associate-*r/ associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv div-exp difference-of-squares unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out 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 div-inv associate-/l*
Counts
4 → 93
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
57.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
25.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
44.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series447.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (+ x 1.0))
277.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
64.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
75.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify64.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0511884
12548762
25002749

prune266.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 17.8b

localize12.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.5b
(+ x (- 1.0 x))

rewrite189.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:
84.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
58.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
25.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
15.0ms
(+ x (- 1.0 x))

series726.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
513.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
63.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify92.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07101587
138371359
250011323

prune319.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.3b

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

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
31×sqrt-prod
29×add-exp-log add-cbrt-cube
27×add-sqr-sqrt
21×distribute-lft-out
19×add-cube-cbrt times-frac
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-*r* associate-/r*
associate-*l* add-log-exp
associate-*r/
flip3-+ sqrt-div associate-/r/ flip-+ 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 → 116
Calls
4 calls:
30.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
43.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
45.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
24.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series793.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06711264
135141071
250011043

prune273.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

regimes50.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample840.0ms

Algorithm
intervals
Results
157.0ms7948×body80nan
157.0ms1795×body640valid
136.0ms1189×body1280valid
105.0ms4083×body80valid
39.0ms598×body320valid
15.0ms335×body160valid