Details

Time bar (total: 2.5s)

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

sample34.0ms

Algorithm
intervals
Results
12.0ms55×body1280valid
6.0ms35×body640valid
6.0ms136×body80valid
2.0ms16×body320valid
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

simplify63.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
04975520
14975520

prune71.0ms

Filtered
30 candidates to 40 candidates (-33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441

Merged error: 0.1b

Counts
41 → 4

localize6.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 (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite21.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:
3.0ms
(sqrt (+ x 1.0))
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
9.0ms
(/ 1.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 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify25.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
050381051

prune137.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New74680
Fresh213
Picked011
Done000
Total76884

Merged error: 0.0b

Counts
84 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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:
4.0ms
(sqrt (sqrt (+ 1.0 x)))
4.0ms
(sqrt (sqrt (+ 1.0 x)))
17.0ms
(/ 1.0 (+ (* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x)))) (sqrt x)))
14.0ms
(* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x))))

series25.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (sqrt (+ 1.0 x)))
6.0ms
(sqrt (sqrt (+ 1.0 x)))
9.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))))

simplify62.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049411700
149411700

prune221.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1712173
Fresh156
Picked011
Done011
Total1729181

Merged error: 0.0b

Counts
181 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
437×sqrt-prod
414×times-frac
404×*-un-lft-identity
246×add-sqr-sqrt
215×add-cube-cbrt
106×distribute-lft-out
44×sqrt-div
36×associate-/l*
33×sqrt-pow1
28×pow1
18×swap-sqr associate-/r/
17×pow1/2
16×flip3-+ flip-+
15×associate-/r*
13×add-exp-log add-cbrt-cube
10×associate-*r* associate-*l*
pow-prod-up div-inv unswap-sqr
pow-prod-down pow-sqr
cbrt-undiv frac-times div-exp add-log-exp
frac-2neg associate-*r/ associate-*l/ clear-num
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod associate-/l/
Counts
4 → 410
Calls
4 calls:
14.0ms
(sqrt (+ (* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x)))) (sqrt x)))
12.0ms
(/ 1.0 (sqrt (+ (sqrt (+ 1.0 x)) (sqrt x))))
33.0ms
(/ (/ 1.0 (sqrt (+ (sqrt (+ 1.0 x)) (sqrt x)))) (sqrt (+ (* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x)))) (sqrt x))))
16.0ms
(* (sqrt (sqrt (+ 1.0 x))) (sqrt (sqrt (+ 1.0 x))))

series42.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
422 → 422
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
049519344
149519344

prune629.0ms

Filtered
170 candidates to 422 candidates (-148.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New4184422
Fresh156
Picked011
Done112
Total42011431

Merged error: 0b

Counts
431 → 11

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

sample633.0ms

Algorithm
intervals
Results
236.0ms1751×body1280valid
127.0ms1203×body640valid
116.0ms4141×body80valid
49.0ms590×body320valid
16.0ms315×body160valid
0.0msbody80nan

Profiling

Loading profile data...