Details

Time bar (total: 5.0s)

sample30.0ms

Algorithm
intervals
Results
5.0ms237×body80nan
5.0ms51×body640valid
4.0ms35×body1280valid
3.0ms130×body80valid
2.0ms25×body320valid
1.0ms15×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.7b

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))
3.9b
(- (/ 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))
11.0ms
(/ 1.0 (sqrt (+ x 1.0)))
6.0ms
(/ 1.0 (sqrt x))
60.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series250.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(sqrt (+ x 1.0))
69.0ms
(/ 1.0 (sqrt (+ x 1.0)))
33.0ms
(/ 1.0 (sqrt x))
117.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04431097
114341038
25001992

prune317.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 19.0b

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)))
3.8b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite132.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:
8.0ms
(sqrt (+ x 1.0))
55.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
24.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
42.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series377.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(sqrt (+ x 1.0))
237.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
54.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
59.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify63.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0511883
12553762
25001749

prune269.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 18.6b

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)))
3.4b
(+ x (- 1.0 x))

rewrite182.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:
81.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
54.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)))
14.0ms
(+ x (- 1.0 x))

series642.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
458.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
53.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify97.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07101587
138371359
250011323

prune331.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

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

rewrite120.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
31×sqrt-prod
29×add-exp-log add-sqr-sqrt 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/
flip3-+ associate-/r/ flip-+ 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 associate-/l/
Counts
4 → 118
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
41.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
43.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)))

series697.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(sqrt (+ x 1.0))
139.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
480.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
52.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06641231
134751048
250021018

prune292.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

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
01410
11410

end0.0ms

sample867.0ms

Algorithm
intervals
Results
180.0ms1910×body640valid
164.0ms8191×body80nan
129.0ms1106×body1280valid
101.0ms4035×body80valid
44.0ms653×body320valid
13.0ms296×body160valid