Details

Time bar (total: 4.9s)

sample43.0ms

Algorithm
intervals
Results
9.0ms247×body80nan
8.0ms51×body640valid
7.0ms38×body1280valid
5.0ms131×body80valid
3.0ms28×body320valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0116
1146
2146

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.0b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite49.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))
34.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series249.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(/ 1.0 (sqrt (+ x 1.0)))
42.0ms
(/ 1.0 (sqrt x))
131.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04101006
11310954
25001912

prune245.0ms

Filtered
126 candidates to 84 candidates (66.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New11214126
Fresh000
Picked101
Done000
Total11314127

Merged error: 19.4b

Counts
127 → 14

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

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

series383.0ms

Counts
3 → 9
Calls
3 calls:
258.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
55.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
70.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify72.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0492793
12495678
25002667

prune191.0ms

Filtered
86 candidates to 59 candidates (68.6%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New82486
Fresh01313
Picked101
Done000
Total8317100

Merged error: 19.0b

Counts
100 → 17

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.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))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
5.0ms
(+ x (- 1.0 x))

series709.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))
501.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
59.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify98.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07101587
138371359
250021323

prune275.0ms

Filtered
148 candidates to 84 candidates (56.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1462148
Fresh8816
Picked101
Done000
Total15510165

Merged error: 0.3b

Counts
165 → 10

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

rewrite51.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)))
22.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

series775.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
139.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
503.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
61.0ms
(* (sqrt x) (sqrt (+ x 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06711264
135141071
250011043

prune241.0ms

Filtered
128 candidates to 81 candidates (63.3%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1208128
Fresh369
Picked101
Done000
Total12414138

Merged error: 0.0b

Counts
138 → 14

regimes51.0ms

Accuracy

0% (0.4b 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
01618
11618

end0.0ms

sample1.2s

Algorithm
intervals
Results
282.0ms1863×body640valid
277.0ms8042×body80nan
210.0ms1131×body1280valid
156.0ms4093×body80valid
73.0ms629×body320valid
20.0ms284×body160valid

Profiling

Loading profile data...