Details

Time bar (total: 2.2s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms74×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (100.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
(+ 1.0 (sqrt (+ x 1.0)))
0.0b
(sqrt (+ x 1.0))
0.2b
(/ x (+ 1.0 (sqrt (+ x 1.0))))

rewrite20.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:
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
10.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series23.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0460585
11938554
25002551

prune121.0ms

Filtered
70 candidates to 55 candidates (21.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh000
Picked011
Done000
Total68371

Merged error: 0b

Counts
71 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
360×times-frac
287×*-un-lft-identity
190×sqrt-prod
186×add-sqr-sqrt
185×add-cube-cbrt
51×distribute-lft-out
34×associate-/r*
11×add-exp-log add-cbrt-cube
10×associate-/l*
div-inv
add-log-exp
pow1
cbrt-undiv div-exp
flip3-+ flip-+
frac-2neg sqrt-div clear-num associate-/l/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log associate-/r/
Counts
4 → 293
Calls
4 calls:
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
14.0ms
(/ (sqrt x) (/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x)))
8.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x))

series38.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
19.0ms
(/ (sqrt x) (/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x)))
11.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x))

simplify64.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011434181
150013783

prune296.0ms

Filtered
305 candidates to 146 candidates (52.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3050305
Fresh011
Picked011
Done011
Total3053308

Merged error: 0b

Counts
308 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.3b
(* (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
0.3b
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.3b
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
438×sqrt-prod
384×times-frac
364×add-sqr-sqrt
331×*-un-lft-identity
197×add-cube-cbrt
94×swap-sqr
59×distribute-lft-out
48×associate-*r* associate-*l*
25×unswap-sqr
20×add-exp-log add-cbrt-cube
14×sqrt-div associate-/r*
12×pow1 associate-/r/ associate-/l*
flip3-+ flip-+
cbrt-undiv sqrt-undiv div-exp div-inv
prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
pow2 frac-times rem-sqrt-square sqrt-pow1 pow-plus pow1/2 sqrt-unprod associate-*r/ pow-prod-down associate-*l/ rem-square-sqrt pow-sqr *-commutative pow-prod-up
Counts
4 → 397
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
52.0ms
(* (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
9.0ms
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
9.0ms
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series113.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
16.0ms
(* (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
40.0ms
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
46.0ms
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify93.0ms

Algorithm
egg-herbie
Counts
409 → 409
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
013707649
150026889

prune669.0ms

Filtered
409 candidates to 175 candidates (57.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New4090409
Fresh000
Picked011
Done022
Total4093412

Merged error: 0b

Counts
412 → 3

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

sample424.0ms

Algorithm
intervals
Results
207.0ms7997×body80valid
66.0ms2709×body80nan
0.0msbody1280valid

Profiling

Loading profile data...