Details

Time bar (total: 5.3s)

sample34.0ms

Algorithm
intervals
Results
6.0ms250×body80nan
6.0ms48×body1280valid
4.0ms39×body640valid
4.0ms134×body80valid
2.0ms24×body320valid
1.0ms11×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune7.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.9b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
2.6b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity sqrt-prod
add-log-exp difference-of-squares
pow1 add-cube-cbrt distribute-lft-out--
add-exp-log sqrt-div add-cbrt-cube distribute-lft-out
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+
Counts
2 → 35
Calls
2 calls:
3.0ms
(sqrt (+ x 1.0))
8.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series13.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(sqrt (+ x 1.0))
10.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify32.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0282318
11037308
25001297

prune136.0ms

Filtered
41 candidates to 31 candidates (24.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh000
Picked011
Done000
Total38442

Merged error: 0.1b

Counts
42 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
17×add-sqr-sqrt
16×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/ associate-/l/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 80
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
11.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series18.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify65.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0514800
12206753
25001721

prune349.0ms

Filtered
89 candidates to 59 candidates (33.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New83689
Fresh202
Picked011
Done101
Total86793

Merged error: 0.0b

Counts
93 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
597×*-un-lft-identity
420×sqrt-prod
256×distribute-lft-out
247×times-frac
130×add-sqr-sqrt
99×add-cube-cbrt
71×swap-sqr
33×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 flip3-+ pow1/2 flip-+ unswap-sqr
associate-/l*
div-inv
sqrt-div pow-prod-up
associate-/l/ add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 316
Calls
4 calls:
12.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
43.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series54.0ms

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

simplify159.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 2 (118.0ms)

IterNodesCost
08273981
145313471
250013422

prune1.3s

Filtered
328 candidates to 152 candidates (53.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New3217328
Fresh325
Picked101
Done011
Total32510335

Merged error: 0b

Counts
335 → 10

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (pow (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) 4))
0.1b
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.5b
(pow (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) 4)

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
222×*-un-lft-identity
197×sqrt-prod
98×times-frac
93×distribute-lft-out
69×unpow-prod-down
61×add-sqr-sqrt
53×add-cube-cbrt
associate-/r/
pow1 add-exp-log rem-sqrt-square
associate-/r* add-cbrt-cube
flip3-+ flip-+
div-inv associate-/l* add-log-exp
pow-unpow pow-pow sqrt-pow1 pow1/2 sqr-pow
associate-/l/
cbrt-undiv pow-to-exp frac-2neg sqrt-div div-exp pow-exp clear-num sqrt-pow2
Counts
4 → 193
Calls
4 calls:
20.0ms
(sqrt (pow (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) 4))
11.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
14.0ms
(pow (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) 4)

series79.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (pow (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) 4))
19.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
13.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
34.0ms
(pow (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) 4)

simplify132.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (106.0ms)

IterNodesCost
010212939
145742581
250012479

prune1.6s

Filtered
205 candidates to 116 candidates (43.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New2050205
Fresh088
Picked011
Done011
Total20510215

Merged error: 0b

Counts
215 → 10

regimes67.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1166
2166

end0.0ms

sample962.0ms

Algorithm
intervals
Results
228.0ms1727×body1280valid
205.0ms7856×body80nan
131.0ms1251×body640valid
116.0ms4130×body80valid
45.0ms591×body320valid
15.0ms301×body160valid

Profiling

Loading profile data...