Details

Time bar (total: 2.7s)

analyze1.0ms

Algorithm
search

sample217.0ms

Algorithm
intervals
Results
197.0ms49×body640valid
7.0ms36×body1280valid
5.0ms141×body80valid
2.0ms18×body320valid
1.0ms12×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1146
2146

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

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

rewrite45.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:
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))
30.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))
15.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05411048
120151014
25002983

prune235.0ms

Filtered
85 candidates to 126 candidates (-48.2%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New11115126
Fresh000
Picked101
Done000
Total11215127

Merged error: 18.0b

Counts
127 → 15

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

series46.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0785930
14068833
25002827

prune192.0ms

Filtered
61 candidates to 86 candidates (-41.0%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh31114
Picked101
Done000
Total8615101

Merged error: 17.4b

Counts
101 → 15

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

rewrite57.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:
14.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
22.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
9.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
6.0ms
(+ x (- 1.0 x))

series51.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09381674
150021471

prune253.0ms

Filtered
91 candidates to 148 candidates (-62.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1453148
Fresh8614
Picked101
Done000
Total1549163

Merged error: 0.2b

Counts
163 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
9.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
18.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

series55.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09351360
150011197

prune236.0ms

Filtered
89 candidates to 128 candidates (-43.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New11612128
Fresh448
Picked101
Done000
Total12116137

Merged error: 0.0b

Counts
137 → 16

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

analyze1.0ms

Algorithm
search

sample831.0ms

Algorithm
intervals
Results
271.0ms1829×body640valid
213.0ms1143×body1280valid
162.0ms4098×body80valid
68.0ms632×body320valid
21.0ms298×body160valid

Profiling

Loading profile data...