Details

Time bar (total: 5.6s)

sample16.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))))

rewrite17.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))))

series452.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(sqrt (+ x 1.0))
65.0ms
(+ 1.0 (sqrt (+ x 1.0)))
335.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify48.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0460585
11938554
25002551

prune140.0ms

Filtered
70 candidates to 55 candidates (78.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66470
Fresh000
Picked011
Done000
Total66571

Merged error: 0b

Counts
71 → 5

localize11.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))

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

series767.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ 1.0 (sqrt (+ x 1.0)))
296.0ms
(pow (+ 1.0 (sqrt (+ x 1.0))) 3)
330.0ms
(/ x (cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3)))
71.0ms
(cbrt (pow (+ 1.0 (sqrt (+ x 1.0))) 3))

simplify91.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07751626
135921511
250011487

prune234.0ms

Filtered
161 candidates to 83 candidates (51.6%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1610161
Fresh033
Picked011
Done011
Total1615166

Merged error: 0b

Counts
166 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
62×sqrt-div
43×add-sqr-sqrt
34×sqrt-prod
32×flip3-+ flip-+
31×add-cube-cbrt
28×associate-*r/ distribute-lft-out
27×times-frac
23×unpow-prod-down cube-prod
21×pow1
16×frac-sub
12×frac-times
11×swap-sqr
add-exp-log sqrt-pow1 pow1/2 associate-/r* add-cbrt-cube
associate-*l/
associate-*r* associate-*l*
add-log-exp
pow-prod-up
sum-cubes sub-div unswap-sqr
pow-unpow pow-pow pow-prod-down pow-sqr associate-/l*
cube-div associate-/r/
cbrt-undiv pow2 cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- frac-2neg pow-plus sqrt-unprod diff-log unpow3 div-exp pow-exp prod-exp clear-num rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod div-inv rem-cube-cbrt sqr-pow
Counts
4 → 184
Calls
4 calls:
5.0ms
(pow (sqrt (+ x 1.0)) 3)
10.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
12.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
17.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series620.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(pow (sqrt (+ x 1.0)) 3)
16.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
85.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
352.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify53.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
09651793
150001577

prune375.0ms

Filtered
196 candidates to 102 candidates (52.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1960196
Fresh022
Picked011
Done022
Total1965201

Merged error: 0b

Counts
201 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
287×*-un-lft-identity
246×times-frac
113×add-sqr-sqrt add-cube-cbrt
87×distribute-lft-out
75×unpow-prod-down cube-prod
40×associate-/r*
31×associate-/r/
23×flip3-+ flip-+
22×sqrt-div
20×associate-*r/ frac-sub
17×sum-cubes
12×add-exp-log add-cbrt-cube associate-/l*
sqrt-prod
pow1 div-inv add-log-exp
flip3-- flip--
cbrt-undiv div-exp
pow-unpow pow-pow
cube-div frac-2neg clear-num associate-/l/
+-commutative cube-mult pow-to-exp sqrt-pow1 pow1/2 unpow3 pow-exp sum-log sqrt-pow2 rem-cube-cbrt sqr-pow
Counts
4 → 278
Calls
4 calls:
15.0ms
(+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3))
5.0ms
(pow (sqrt (+ x 1.0)) 3)
30.0ms
(/ x (/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0))))))
30.0ms
(/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))))

series1.3s

Counts
4 → 12
Calls
4 calls:
104.0ms
(+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3))
171.0ms
(pow (sqrt (+ x 1.0)) 3)
624.0ms
(/ x (/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0))))))
443.0ms
(/ (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)) (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))))

simplify98.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
017016393
150026203

prune617.0ms

Filtered
290 candidates to 171 candidates (59.0%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New2900290
Fresh011
Picked011
Done033
Total2905295

Merged error: 0b

Counts
295 → 5

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

sample406.0ms

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

Profiling

Loading profile data...