Details

Time bar (total: 2.0s)

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
62.5%12.5%25%4
68.7%6.2%25%5
71.8%3.1%25%6
73.4%1.6%25%7
74.2%0.8%25%8
74.6%0.4%25%9
74.8%0.2%25%10
74.9%0.1%25%11
74.9%0%25%12
74.9%0%25%13
74.9%0%25%14

sample12.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
14×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
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 → 61
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series24.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0460585
11938554
25002551

prune127.0ms

Filtered
55 candidates to 70 candidates (-27.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New66470
Fresh000
Picked101
Done000
Total67471

Merged error: 0b

Counts
71 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
99×*-un-lft-identity
64×add-sqr-sqrt
63×add-cube-cbrt
19×associate-/r*
18×distribute-lft-out
17×add-exp-log
11×add-cbrt-cube
div-exp
associate-/l*
pow1 div-inv add-log-exp
cbrt-undiv sqrt-prod
flip3-+ flip-+
rec-exp frac-2neg sqrt-div 1-exp clear-num associate-/l/
+-commutative rem-sqrt-square pow-flip sqrt-pow1 pow1/2 sum-log associate-/r/ inv-pow
Counts
4 → 149
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
9.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

series32.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
4.0ms
(+ 1.0 (sqrt (+ x 1.0)))
9.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
15.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

simplify87.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07681530
135981400
250011316

prune186.0ms

Filtered
90 candidates to 161 candidates (-78.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1610161
Fresh033
Picked011
Done000
Total1614165

Merged error: 0b

Counts
165 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.4b
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.4b
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
0.8b
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
112×add-sqr-sqrt
106×times-frac
101×*-un-lft-identity
71×sqrt-prod
65×add-cube-cbrt
32×add-exp-log
27×associate-*r* associate-*l*
20×add-cbrt-cube
15×distribute-lft-out unswap-sqr
14×associate-/r*
11×div-exp
10×sqrt-div
pow1
prod-exp associate-/r/
cbrt-undiv associate-/l*
flip3-+ flip-+
cbrt-unprod div-inv add-log-exp
rec-exp pow-flip 1-exp
frac-2neg sqrt-pow1 pow1/2 clear-num
frac-times rem-sqrt-square associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 205
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
31.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
8.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series75.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011243013
150022717

prune461.0ms

Filtered
126 candidates to 217 candidates (-72.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2170217
Fresh022
Picked011
Done011
Total2174221

Merged error: 0b

Counts
221 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ x (cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3)))
0.2b
(pow (+ 1.0 (sqrt (+ x 1.0))) 3)
7.8b
(cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-prod *-un-lft-identity
51×times-frac
44×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down cube-prod
17×associate-/r*
13×distribute-lft-out
add-exp-log
cube-div cube-mult unpow3 add-cbrt-cube add-log-exp sqr-pow
pow1
cbrt-div flip3-+ flip-+
pow-unpow associate-/l*
associate-/r/
cbrt-undiv +-commutative pow-to-exp pow-pow frac-2neg pow1/3 div-exp pow-exp clear-num sum-log rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 149
Calls
4 calls:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
10.0ms
(/ x (cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3)))
6.0ms
(pow (+ 1.0 (sqrt (+ x 1.0))) 3)
7.0ms
(cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3))

series43.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ 1.0 (sqrt (+ x 1.0)))
16.0ms
(/ x (cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3)))
15.0ms
(pow (+ 1.0 (sqrt (+ x 1.0))) 3)
8.0ms
(cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3))

simplify89.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07751626
135921511
250011487

prune202.0ms

Filtered
84 candidates to 161 candidates (-91.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1610161
Fresh011
Picked011
Done022
Total1614165

Merged error: 0b

Counts
165 → 4

regimes30.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
62.5%12.5%25%4
68.7%6.2%25%5
71.8%3.1%25%6
73.4%1.6%25%7
74.2%0.8%25%8
74.6%0.4%25%9
74.8%0.2%25%10
74.9%0.1%25%11
74.9%0%25%12
74.9%0%25%13
74.9%0%25%14

sample296.0ms

Algorithm
intervals
Results
212.0ms7997×body80valid
0.0msbody1280valid

Profiling

Loading profile data...