Details

Time bar (total: 4.5s)

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms94×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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))))

rewrite19.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))
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series219.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(sqrt (+ x 1.0))
47.0ms
(+ 1.0 (sqrt (+ x 1.0)))
141.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify38.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0317483
11159435
25002427

prune133.0ms

Filtered
70 candidates to 52 candidates (74.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66470
Fresh000
Picked011
Done000
Total66571

Merged error: 0b

Counts
71 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.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))))
9.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
36.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
9.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series914.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
432.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
149.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
207.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify98.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07942673
139582343
250032180

prune330.0ms

Filtered
217 candidates to 117 candidates (53.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2170217
Fresh033
Picked011
Done011
Total2175222

Merged error: 0b

Counts
222 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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:
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(pow (+ 1.0 (sqrt (+ x 1.0))) 3)
11.0ms
(/ x (cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3)))
7.0ms
(cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3))

series360.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(+ 1.0 (sqrt (+ x 1.0)))
116.0ms
(pow (+ 1.0 (sqrt (+ x 1.0))) 3)
147.0ms
(/ x (cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3)))
48.0ms
(cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3))

simplify67.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04981438
121741302
250011278

prune213.0ms

Filtered
161 candidates to 80 candidates (49.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1610161
Fresh022
Picked011
Done022
Total1615166

Merged error: 0b

Counts
166 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sqrt (+ x 1.0)) 3)
0.2b
(/ x (/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (+ x (- 1.0 (* 1.0 (- (sqrt (+ x 1.0)) 1.0))))))
4.0b
(- (sqrt (+ x 1.0)) 1.0)
9.5b
(/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (+ x (- 1.0 (* 1.0 (- (sqrt (+ x 1.0)) 1.0)))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
431×*-un-lft-identity
306×times-frac
153×distribute-lft-out
127×add-sqr-sqrt
123×add-cube-cbrt
91×unpow-prod-down cube-prod
46×associate-/r*
21×sum-cubes
12×add-exp-log add-cbrt-cube associate-/l*
11×associate-/r/
sqrt-prod
flip3-+ flip-+
pow1 div-inv add-log-exp
cbrt-undiv div-exp
pow-unpow pow-pow
cube-div frac-2neg sqrt-div clear-num associate-/l/ difference-of-squares
cube-mult pow-to-exp sub-neg flip3-- sqrt-pow1 pow1/2 diff-log unpow3 pow-exp sqrt-pow2 flip-- distribute-lft-out-- rem-cube-cbrt sqr-pow
Counts
4 → 302
Calls
4 calls:
6.0ms
(pow (sqrt (+ x 1.0)) 3)
32.0ms
(/ x (/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (+ x (- 1.0 (* 1.0 (- (sqrt (+ x 1.0)) 1.0))))))
7.0ms
(- (sqrt (+ x 1.0)) 1.0)
24.0ms
(/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (+ x (- 1.0 (* 1.0 (- (sqrt (+ x 1.0)) 1.0)))))

series855.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(pow (sqrt (+ x 1.0)) 3)
398.0ms
(/ x (/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (+ x (- 1.0 (* 1.0 (- (sqrt (+ x 1.0)) 1.0))))))
49.0ms
(- (sqrt (+ x 1.0)) 1.0)
346.0ms
(/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (+ x (- 1.0 (* 1.0 (- (sqrt (+ x 1.0)) 1.0)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
314 → 314
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011675700
150015500

prune494.0ms

Filtered
314 candidates to 146 candidates (46.5%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New3140314
Fresh011
Picked011
Done033
Total3145319

Merged error: 0b

Counts
319 → 5

regimes44.0ms

Accuracy

0% (0.2b 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
084
184

end0.0ms

sample407.0ms

Algorithm
intervals
Results
217.0ms7995×body80valid
66.0ms2751×body80nan
1.0msbody1280valid

Profiling

Loading profile data...