Details

Time bar (total: 2.4s)

sample14.0ms

Algorithm
intervals
Results
7.0ms370×body80valid

simplify239.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1354
2894
31574
41704
51864
62444
74424
813894
947614
1050014

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 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
72×prod-diff
53×*-un-lft-identity
49×add-cube-cbrt
38×distribute-rgt-in distribute-lft-in
37×associate-*l*
28×associate-*r*
14×unswap-sqr
*-commutative
pow1 add-exp-log add-cbrt-cube
swap-sqr
pow-prod-down prod-exp cbrt-unprod
sub-neg associate-*r/ distribute-lft-out-- difference-of-squares
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
Counts
1 → 121
Calls
1 calls:
18.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series79.0ms

Counts
1 → 3
Calls
1 calls:
78.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify102.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
06961672
133491169
250011169

prune109.0ms

Filtered
124 candidates to 37 candidates (29.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1186124
Fresh000
Picked101
Done000
Total1196125

Merged error: 0b

Counts
125 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
48×associate-*l*
39×add-sqr-sqrt
33×*-un-lft-identity
28×fma-def
15×add-cube-cbrt
14×unswap-sqr
13×associate-*r*
distribute-lft-out
swap-sqr
pow1 add-exp-log *-commutative add-cbrt-cube
distribute-rgt-neg-in add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u sum-log log1p-expm1-u
+-commutative neg-sub0 distribute-lft-neg-in cube-mult associate-+r- distribute-rgt-out flip3-+ unsub-neg neg-log flip-+
Counts
2 → 94
Calls
2 calls:
67.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
9.0ms
(* (* x x) 3.0)

series127.0ms

Counts
2 → 6
Calls
2 calls:
100.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
27.0ms
(* (* x x) 3.0)

simplify63.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0250323
11177298
25001280

prune207.0ms

Filtered
100 candidates to 68 candidates (68.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New982100
Fresh235
Picked101
Done000
Total1015106

Merged error: 0b

Counts
106 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 3.0 (* x 2.0)) x)
0.2b
(* x (* (- 3.0 (* x 2.0)) x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
22×associate-*r*
19×associate-*l*
16×*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-cube-cbrt
unswap-sqr
pow-prod-down associate-*l/ prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares
*-commutative
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u add-log-exp
Counts
2 → 65
Calls
2 calls:
10.0ms
(* (- 3.0 (* x 2.0)) x)
18.0ms
(* x (* (- 3.0 (* x 2.0)) x))

series150.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(* (- 3.0 (* x 2.0)) x)
78.0ms
(* x (* (- 3.0 (* x 2.0)) x))

simplify53.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0240372
11179334
25002320

prune123.0ms

Filtered
71 candidates to 45 candidates (63.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New70171
Fresh134
Picked011
Done000
Total71576

Merged error: 0b

Counts
76 → 5

localize11.0ms

Local error

Found 2 expressions with local error:

0.2b
(fma (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
136×add-sqr-sqrt
79×unswap-sqr
46×cbrt-prod
36×associate-*r*
30×pow1
28×swap-sqr
27×add-cbrt-cube
24×associate-*l*
23×cbrt-unprod
17×*-commutative
16×add-cube-cbrt *-un-lft-identity
14×add-exp-log pow-prod-down
prod-exp
pow-plus pow-prod-up
pow2 expm1-log1p-u pow-sqr log1p-expm1-u add-log-exp
fma-udef
Counts
2 → 131
Calls
2 calls:
1.0ms
(fma (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0) (- (* 2.0 (pow x 3))))
24.0ms
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))

series271.0ms

Counts
2 → 6
Calls
2 calls:
194.0ms
(fma (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0) (- (* 2.0 (pow x 3))))
77.0ms
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0459955
12379857
25002815

prune233.0ms

Filtered
137 candidates to 64 candidates (46.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1370137
Fresh033
Picked011
Done011
Total1375142

Merged error: 0b

Counts
142 → 5

regimes20.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
0104
1104

end0.0ms

sample361.0ms

Algorithm
intervals
Results
232.0ms11834×body80valid