Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
8.0ms374×body80valid

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

prune3.0ms

Filtered
1 candidates to 0 candidates (100.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)))

rewrite7.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:
6.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series87.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune54.0ms

Filtered
28 candidates to 16 candidates (42.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New22628
Fresh000
Picked101
Done000
Total23629

Merged error: 0b

Counts
29 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series190.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* 2.0 (pow x 3))
114.0ms
(+ (* (* x x) 3.0) (neg (* 2.0 (pow x 3))))
33.0ms
(* (* x x) 3.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0292325
11517282
25001277

prune178.0ms

Filtered
74 candidates to 45 candidates (39.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New72274
Fresh235
Picked011
Done000
Total74680

Merged error: 0b

Counts
80 → 6

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

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

series172.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(* x (- 3.0 (* x 2.0)))
89.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune84.0ms

Filtered
58 candidates to 30 candidates (48.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New57158
Fresh224
Picked011
Done011
Total59564

Merged error: 0b

Counts
64 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
0.1b
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
0.2b
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
3.4b
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

rewrite31.0ms

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

series495.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
109.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
117.0ms
(* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))))
201.0ms
(/ (* x (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))) (+ 3.0 (* x 2.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04031028
12289865
25001865

prune328.0ms

Filtered
105 candidates to 66 candidates (37.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1050105
Fresh022
Picked011
Done022
Total1055110

Merged error: 0b

Counts
110 → 5

regimes48.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1196
2196

end0.0ms

sample448.0ms

Algorithm
intervals
Results
257.0ms12042×body80valid

Profiling

Loading profile data...