Details

Time bar (total: 2.5s)

analyze1.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2

sample32.0ms

Algorithm
intervals
Results
8.0ms55×body640valid
7.0ms38×body1280valid
5.0ms134×body80valid
2.0ms20×body320valid
1.0msbody160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0911
1911

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 18.6b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.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 → 116
Calls
3 calls:
5.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
29.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series28.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))
14.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049751654
149751654

prune218.0ms

Filtered
87 candidates to 125 candidates (-43.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New11411125
Fresh000
Picked101
Done000
Total11511126

Merged error: 18.0b

Counts
126 → 11

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
0.3b
(* (sqrt x) (sqrt (+ 1.0 x)))
2.2b
(- (sqrt (+ 1.0 x)) (sqrt x))

rewrite36.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 → 76
Calls
3 calls:
16.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
10.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))

series44.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
9.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))

simplify36.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
053021342

prune151.0ms

Filtered
61 candidates to 85 candidates (-39.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New83285
Fresh5510
Picked101
Done000
Total89796

Merged error: 0.3b

Counts
96 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (+ 1.0 x)) (sqrt x))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
0.2b
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
0.3b
(* (sqrt x) (sqrt (+ 1.0 x)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
35×sqrt-prod
32×distribute-lft-out
29×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
25×times-frac
20×add-cube-cbrt
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-*r* associate-/r*
associate-*l* add-log-exp
flip3-+ associate-*r/ flip-+ associate-/l*
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative
Counts
4 → 125
Calls
4 calls:
7.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
19.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
34.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049622089
149622089

prune257.0ms

Filtered
91 candidates to 137 candidates (-50.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1298137
Fresh246
Picked101
Done000
Total13212144

Merged error: 0.0b

Counts
144 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0)))))
0.1b
(* (/ 1.0 (sqrt x)) (/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0))))))
0.3b
(* (sqrt x) (sqrt (+ x 1.0)))
0.3b
(/ 1.0 (sqrt x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
87×add-sqr-sqrt
67×times-frac
55×*-un-lft-identity
53×add-cube-cbrt
34×sqrt-prod
29×associate-*r*
28×associate-*l*
22×add-exp-log add-cbrt-cube
12×associate-/r/
11×flip3-+ associate-*r/ flip-+
10×pow1 sqrt-div associate-/r* unswap-sqr
frac-add
distribute-rgt-out
cbrt-undiv div-exp associate-/l*
prod-exp cbrt-unprod
pow-prod-down div-inv add-log-exp
frac-2neg sqrt-pow1 pow1/2 clear-num *-commutative
frac-times sqrt-unprod associate-*l/ distribute-lft-out
Counts
4 → 179
Calls
4 calls:
7.0ms
(/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0)))))
19.0ms
(* (/ 1.0 (sqrt x)) (/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0))))))
10.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))

series41.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0)))))
17.0ms
(* (/ 1.0 (sqrt x)) (/ 1.0 (+ (+ x 1.0) (* (sqrt x) (sqrt (+ x 1.0))))))
6.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
7.0ms
(/ 1.0 (sqrt x))

simplify62.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
054923143

prune333.0ms

Filtered
149 candidates to 191 candidates (-28.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1865191
Fresh6511
Picked011
Done000
Total19211203

Merged error: 0.0b

Counts
203 → 11

regimes59.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01418
11418

end0.0ms

analyze1.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2

sample838.0ms

Algorithm
intervals
Results
280.0ms1896×body640valid
220.0ms1151×body1280valid
156.0ms4002×body80valid
69.0ms642×body320valid
22.0ms309×body160valid

Profiling

Loading profile data...