Details

Time bar (total: 2.2s)

sample18.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms98×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
(+ 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:
9.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series24.0ms

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

prune125.0ms

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

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66470
Fresh000
Picked011
Done000
Total66571

Merged error: 0b

Counts
71 → 5

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

rewrite33.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)))
9.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
10.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.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))

simplify91.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07681530
135981400
250011316

prune187.0ms

Filtered
91 candidates to 161 candidates (-76.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1601161
Fresh123
Picked011
Done011
Total1615166

Merged error: 0b

Counts
166 → 5

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
585×times-frac
355×*-un-lft-identity
260×add-sqr-sqrt
259×add-cube-cbrt
48×add-exp-log distribute-lft-out
35×div-inv
34×div-exp
31×associate-/r/
21×associate-/l*
18×add-cbrt-cube
17×flip3-+ associate-/r* flip-+
cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
sqrt-prod
frac-2neg sqrt-div clear-num
+-commutative rem-sqrt-square pow-flip sqrt-pow1 pow1/2 sum-log associate-/l/ inv-pow
Counts
4 → 362
Calls
4 calls:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
7.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
16.0ms
(/ (/ 1 (+ 1.0 (sqrt (+ x 1.0)))) (/ 1 x))

series34.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
374 → 374
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
018095007
150014484

prune464.0ms

Filtered
166 candidates to 374 candidates (-125.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New3740374
Fresh022
Picked011
Done022
Total3745379

Merged error: 0b

Counts
379 → 5

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.0b
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
0.2b
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
56×add-sqr-sqrt
52×times-frac
39×add-cube-cbrt sqrt-prod
30×associate-*r*
15×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/l* add-log-exp unswap-sqr
flip3-+ associate-/r* associate-/r/ flip-+
cbrt-undiv sqrt-div div-exp prod-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
4 → 132
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
11.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
17.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series49.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
08561494
141691377
250021353

prune201.0ms

Filtered
94 candidates to 144 candidates (-53.2%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1440144
Fresh011
Picked011
Done033
Total1445149

Merged error: 0b

Counts
149 → 5

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

sample452.0ms

Algorithm
intervals
Results
222.0ms7997×body80valid
65.0ms2614×body80nan
0.0msbody1280valid

Profiling

Loading profile data...