Details

Time bar (total: 2.4s)

sample16.0ms

Algorithm
intervals
Results
9.0ms387×body80valid

simplify188.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
946624
1050014

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.2b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in add-cube-cbrt sub-neg *-un-lft-identity distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 25
Calls
1 calls:
7.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series73.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune43.0ms

Filtered
28 candidates to 16 candidates (57.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New23528
Fresh000
Picked101
Done000
Total24529

Merged error: 0.0b

Counts
29 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
sub-neg associate-*r/ associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 52
Calls
2 calls:
5.0ms
(* x (- 3.0 (* x 2.0)))
6.0ms
(* x (* x (- 3.0 (* x 2.0))))

series144.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(* x (- 3.0 (* x 2.0)))
73.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune59.0ms

Filtered
58 candidates to 30 candidates (51.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh224
Picked011
Done000
Total59463

Merged error: 0b

Counts
63 → 4

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)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
sum-log
+-commutative neg-sub0 associate-+r- flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 34
Calls
2 calls:
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
5.0ms
(* (* x x) 3.0)

series124.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0193210
1975184
25002177

prune59.0ms

Filtered
40 candidates to 25 candidates (62.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh022
Picked011
Done011
Total40444

Merged error: 0b

Counts
44 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
0.0b
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
0.1b
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
5.5b
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
14×associate-*r*
11×pow1 *-un-lft-identity
10×distribute-rgt-in distribute-lft-in associate-*r/
add-cube-cbrt
difference-of-squares
prod-exp cbrt-unprod
sub-neg associate-*l* add-log-exp sqr-pow
pow-prod-down
cbrt-undiv flip3-- times-frac div-exp associate-/r* flip--
unpow-prod-down flip3-+ cube-prod associate-/r/ *-commutative flip-+ associate-/l/
difference-cubes +-commutative distribute-rgt-out frac-2neg clear-num sum-log div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
4 → 101
Calls
4 calls:
7.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
16.0ms
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
12.0ms
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
20.0ms
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

series584.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
125.0ms
(* x (- (pow 3.0 3) (pow (* x 2.0) 3)))
131.0ms
(* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3))))
259.0ms
(/ (* x (* x (- (pow 3.0 3) (pow (* x 2.0) 3)))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

simplify104.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
05471208
131451003
25003990

prune212.0ms

Filtered
113 candidates to 72 candidates (63.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done022
Total1134117

Merged error: 0b

Counts
117 → 4

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

sample420.0ms

Algorithm
intervals
Results
288.0ms12004×body80valid

Profiling

Loading profile data...