Details

Time bar (total: 2.7s)

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14

sample21.0ms

Algorithm
intervals
Results
6.0ms53×body1280valid
4.0ms136×body80valid
4.0ms37×body640valid
1.0ms20×body320valid
0.0ms10×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.5b

Counts
2 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

2.9b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity sqrt-prod
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 19
Calls
1 calls:
8.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series10.0ms

Counts
1 → 3
Calls
1 calls:
10.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify116.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0203216
1808206
24153197
35001197

prune44.0ms

Filtered
15 candidates to 22 candidates (-46.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New20222
Fresh000
Picked011
Done000
Total20323

Merged error: 0.1b

Counts
23 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
31×distribute-lft-out
24×times-frac sqrt-prod
14×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 associate-/r/ associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 64
Calls
2 calls:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
13.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series15.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0435698
11872651
25001615

prune129.0ms

Filtered
44 candidates to 70 candidates (-59.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New63770
Fresh101
Picked011
Done011
Total64973

Merged error: 0.0b

Counts
73 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(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)))))

rewrite113.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:
13.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
13.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
16.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
46.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series56.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
14.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify166.0ms

Algorithm
egg-herbie
Counts
328 → 328
Iterations

Useful iterations: 2 (124.0ms)

IterNodesCost
08273981
145313471
250013422

prune579.0ms

Filtered
150 candidates to 328 candidates (-118.7%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3244328
Fresh426
Picked011
Done112
Total3298337

Merged error: 0.0b

Counts
337 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
142×*-un-lft-identity
96×sqrt-prod
61×distribute-lft-out
58×times-frac
36×add-sqr-sqrt
32×add-cube-cbrt
15×associate-/r*
11×add-exp-log add-cbrt-cube
pow1 sqrt-div associate-/r/
flip3-+ flip-+ associate-/l*
add-log-exp
cbrt-undiv rem-sqrt-square div-exp div-inv associate-/l/
frac-2neg sqrt-pow1 pow1/2 clear-num
sqrt-undiv sqrt-unprod associate-*l/ prod-exp cbrt-unprod
Counts
4 → 147
Calls
4 calls:
13.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
8.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
13.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
27.0ms
(/ (* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt 1.0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series51.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
10.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(/ (* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt 1.0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify131.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
09522243
145492057
250021968

prune361.0ms

Filtered
97 candidates to 159 candidates (-63.9%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1572159
Fresh235
Picked011
Done022
Total1598167

Merged error: 0b

Counts
167 → 8

regimes59.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1166
2166

end0.0ms

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14

sample638.0ms

Algorithm
intervals
Results
229.0ms1729×body1280valid
132.0ms1306×body640valid
115.0ms4029×body80valid
46.0ms610×body320valid
17.0ms326×body160valid
0.0msbody80nan

Profiling

Loading profile data...