Details

Time bar (total: 2.6s)

sample38.0ms

Algorithm
intervals
Results
9.0ms66×body1280valid
7.0ms249×body80nan
4.0ms37×body640valid
4.0ms123×body80valid
2.0ms25×body320valid
0.0msbody160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0107
1107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 32.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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))
9.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series15.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(sqrt (+ x 1.0))
11.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify26.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
05031521

prune85.0ms

Filtered
30 candidates to 41 candidates (-36.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh000
Picked101
Done000
Total38442

Merged error: 0.1b

Counts
42 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
24×sqrt-prod
21×distribute-lft-out
18×times-frac
16×add-sqr-sqrt
15×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 71
Calls
3 calls:
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
4.0ms
(sqrt (+ x 1.0))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series20.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
4.0ms
(sqrt (+ x 1.0))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify37.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
056211039

prune159.0ms

Filtered
59 candidates to 80 candidates (-35.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New73780
Fresh213
Picked011
Done000
Total75984

Merged error: 0.0b

Counts
84 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
62×add-sqr-sqrt
46×*-un-lft-identity
40×sqrt-pow1
32×sqrt-div
31×pow1
28×add-cube-cbrt
20×pow1/2
18×swap-sqr
10×associate-*r* associate-*l*
flip3-+ times-frac pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube distribute-lft-out
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-/r* associate-/l*
associate-*r/ associate-*l/ associate-/r/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod div-inv
Counts
4 → 161
Calls
4 calls:
5.0ms
(sqrt (sqrt (+ 1.0 x)))
5.0ms
(sqrt (sqrt (+ 1.0 x)))
20.0ms
(/ 1.0 (+ (* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x)))) (sqrt x)))
16.0ms
(* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x))))

series28.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049281732
149281732

prune255.0ms

Filtered
91 candidates to 173 candidates (-90.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1730173
Fresh077
Picked011
Done011
Total1739182

Merged error: 0.0b

Counts
182 → 9

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
74×*-un-lft-identity
32×distribute-lft-out
30×add-sqr-sqrt
28×sqrt-div
21×pow1
16×add-cube-cbrt
15×swap-sqr
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×sqrt-pow1 pow1/2
associate-*r* associate-*l*
frac-times associate-/r/
pow-prod-up
associate-*r/ associate-*l/ add-log-exp unswap-sqr
times-frac pow-prod-down pow-sqr associate-/l*
cbrt-undiv rem-sqrt-square div-exp prod-exp cbrt-unprod
pow2 frac-2neg pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative div-inv
Counts
4 → 135
Calls
4 calls:
8.0ms
(sqrt (+ (sqrt (+ 1.0 x)) (sqrt x)))
9.0ms
(sqrt (+ (sqrt (+ 1.0 x)) (sqrt x)))
22.0ms
(/ 1.0 (* (sqrt (+ (sqrt (+ 1.0 x)) (sqrt x))) (sqrt (+ (sqrt (+ 1.0 x)) (sqrt x)))))
25.0ms
(* (sqrt (+ (sqrt (+ 1.0 x)) (sqrt x))) (sqrt (+ (sqrt (+ 1.0 x)) (sqrt x))))

series44.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049562084
149562084

prune232.0ms

Filtered
84 candidates to 147 candidates (-75.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh066
Picked011
Done022
Total1479156

Merged error: 0.0b

Counts
156 → 9

regimes113.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
099
199

end0.0ms

sample1.3s

Algorithm
intervals
Results
246.0ms1738×body1280valid
231.0ms8058×body80nan
139.0ms1221×body640valid
123.0ms4125×body80valid
56.0ms625×body320valid
18.0ms291×body160valid

Profiling

Loading profile data...