Details

Time bar (total: 2.7s)

sample14.0ms

Algorithm
intervals
Results
8.0ms333×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0123
1173
2213
3233
4243
5243

prune1.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.1b

Counts
2 → 1

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) 3.0)
0.1b
(/ (- (* x x) 3.0) 6.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity times-frac
difference-of-squares
add-exp-log add-cbrt-cube associate-/l* add-log-exp
prod-diff associate-/r*
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u associate-/l/
cbrt-undiv sub-neg frac-2neg fma-neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 55
Calls
2 calls:
4.0ms
(- (* x x) 3.0)
7.0ms
(/ (- (* x x) 3.0) 6.0)

series107.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- (* x x) 3.0)
68.0ms
(/ (- (* x x) 3.0) 6.0)

simplify33.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0246323
1917287
25001279

prune104.0ms

Filtered
61 candidates to 47 candidates (77.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New58361
Fresh000
Picked101
Done000
Total59362

Merged error: 0b

Counts
62 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (fma x x (- 3.0)) 6.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log associate-/r* add-cbrt-cube associate-/l*
pow1 cbrt-undiv expm1-log1p-u frac-2neg div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 29
Calls
1 calls:
3.0ms
(/ (fma x x (- 3.0)) 6.0)

series79.0ms

Counts
1 → 3
Calls
1 calls:
79.0ms
(/ (fma x x (- 3.0)) 6.0)

simplify49.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (40.0ms)

IterNodesCost
0101190
1285176
21305176
35001175

prune59.0ms

Filtered
32 candidates to 25 candidates (78.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New32032
Fresh022
Picked011
Done000
Total32335

Merged error: 0b

Counts
35 → 3

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sqrt 3.0)) 6.0)
0.0b
(+ x (sqrt 3.0))
0.0b
(- x (sqrt 3.0))
0.7b
(* (+ x (sqrt 3.0)) (/ (- x (sqrt 3.0)) 6.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
60×*-un-lft-identity
40×add-cube-cbrt
37×times-frac
22×associate-*r*
18×prod-diff
17×sqrt-prod
16×difference-of-squares
11×add-exp-log add-cbrt-cube
distribute-lft-out-- add-log-exp
pow1 associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u
fma-def flip3-+ fma-neg associate-/r* flip-+
cbrt-undiv frac-times flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv associate-/l/ distribute-lft-out unswap-sqr
+-commutative sub-neg frac-2neg diff-log div-sub associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
4 → 147
Calls
4 calls:
8.0ms
(/ (- x (sqrt 3.0)) 6.0)
4.0ms
(+ x (sqrt 3.0))
5.0ms
(- x (sqrt 3.0))
14.0ms
(* (+ x (sqrt 3.0)) (/ (- x (sqrt 3.0)) 6.0))

series311.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(/ (- x (sqrt 3.0)) 6.0)
34.0ms
(+ x (sqrt 3.0))
46.0ms
(- x (sqrt 3.0))
161.0ms
(* (+ x (sqrt 3.0)) (/ (- x (sqrt 3.0)) 6.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04491171
12081954
25001928

prune257.0ms

Filtered
159 candidates to 103 candidates (64.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh011
Picked011
Done011
Total1593162

Merged error: 0b

Counts
162 → 3

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 6.0 (sqrt (- (* x x) 3.0)))
0.0b
(- (* x x) 3.0)
0.0b
(- (* x x) 3.0)
0.1b
(/ (sqrt (- (* x x) 3.0)) (/ 6.0 (sqrt (- (* x x) 3.0))))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
248×add-sqr-sqrt
224×sqrt-prod
190×add-cube-cbrt *-un-lft-identity
58×difference-of-squares
34×associate-/r*
20×sqrt-div
19×associate-/r/
12×flip3-- flip--
11×add-exp-log add-cbrt-cube
10×div-inv associate-/l*
add-log-exp
prod-diff
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
sub-neg frac-2neg fma-neg diff-log clear-num associate-/l/
Counts
4 → 327
Calls
4 calls:
7.0ms
(/ 6.0 (sqrt (- (* x x) 3.0)))
4.0ms
(- (* x x) 3.0)
4.0ms
(- (* x x) 3.0)
18.0ms
(/ (sqrt (- (* x x) 3.0)) (/ 6.0 (sqrt (- (* x x) 3.0))))

series403.0ms

Counts
4 → 12
Calls
4 calls:
252.0ms
(/ 6.0 (sqrt (- (* x x) 3.0)))
39.0ms
(- (* x x) 3.0)
46.0ms
(- (* x x) 3.0)
66.0ms
(/ (sqrt (- (* x x) 3.0)) (/ 6.0 (sqrt (- (* x x) 3.0))))

simplify136.0ms

Algorithm
egg-herbie
Counts
339 → 339
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
09494826
147124391
250014377

prune572.0ms

Filtered
339 candidates to 194 candidates (57.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3390339
Fresh000
Picked011
Done022
Total3393342

Merged error: 0b

Counts
342 → 3

regimes35.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063

end0.0ms

sample294.0ms

Algorithm
intervals
Results
182.0ms10581×body80valid