Details

Time bar (total: 1.5s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms91×body80nan

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

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

series26.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
18.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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New68270
Fresh000
Picked011
Done000
Total68371

Merged error: 0b

Counts
71 → 3

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
31×add-sqr-sqrt
26×times-frac
23×add-cube-cbrt
18×associate-*r*
17×add-exp-log
11×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
flip3-+ div-exp prod-exp associate-/r* sqrt-prod associate-/r/ flip-+
associate-*l* associate-/l* unswap-sqr
cbrt-undiv rec-exp sqrt-div 1-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
4 → 106
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
12.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))

series34.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06811007
13263915
25002876

prune177.0ms

Filtered
76 candidates to 118 candidates (-55.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh011
Picked011
Done011
Total1183121

Merged error: 0b

Counts
121 → 3

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

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

series34.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011434181
150013783

prune314.0ms

Filtered
147 candidates to 305 candidates (-107.5%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3050305
Fresh000
Picked011
Done022
Total3053308

Merged error: 0b

Counts
308 → 3

regimes60.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
0135
1135

end0.0ms

sample430.0ms

Algorithm
intervals
Results
208.0ms7995×body80valid
65.0ms2638×body80nan
1.0msbody1280valid

Profiling

Loading profile data...