Details

Time bar (total: 1.5s)

sample17.0ms

Algorithm
intervals
Results
9.0ms403×body80valid

simplify84.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
048989
148989

prune6.0ms

Filtered
1 candidates to 1 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 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.2b
(* 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))))

series12.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* x (- 3.0 (* x 2.0)))
6.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify32.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05000552

prune88.0ms

Filtered
29 candidates to 58 candidates (-100.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New54458
Fresh011
Picked101
Done000
Total55560

Merged error: 0.0b

Counts
60 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
29×associate-*r*
14×add-sqr-sqrt
12×distribute-lft-neg-in add-cube-cbrt distribute-rgt-neg-in *-un-lft-identity
10×pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod associate-*l*
add-log-exp
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-neg-out
cube-mult unpow3 *-commutative sqr-pow
+-commutative neg-mul-1 flip3-+ unsub-neg sum-log flip-+ unswap-sqr
Counts
3 → 75
Calls
3 calls:
8.0ms
(* 2.0 (neg (pow x 3)))
4.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
4.0ms
(* x (* x 3.0))

series14.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 2.0 (neg (pow x 3)))
8.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
3.0ms
(* x (* x 3.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
04957564
14957564

prune93.0ms

Filtered
54 candidates to 84 candidates (-55.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh044
Picked011
Done000
Total84589

Merged error: 0.0b

Counts
89 → 5

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

series6.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
04944294
14944294

prune31.0ms

Filtered
15 candidates to 28 candidates (-86.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New28028
Fresh033
Picked011
Done011
Total28533

Merged error: 0.0b

Counts
33 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (- 3.0 (* x 2.0)))
0.1b
(* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))
0.2b
(* x (* (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))) (cbrt (- 3.0 (* x 2.0)))))
0.4b
(* (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))) (cbrt (- 3.0 (* x 2.0))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
122×cbrt-div
92×associate-*r/
61×flip3-- flip--
60×frac-times
34×pow1
30×associate-*l/
29×add-exp-log
24×add-sqr-sqrt
22×cbrt-prod
18×pow-prod-down
17×prod-exp add-cbrt-cube cbrt-unprod
16×add-cube-cbrt *-un-lft-identity
13×associate-*r*
10×associate-*l*
pow1/3
swap-sqr
add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 161
Calls
4 calls:
2.0ms
(cbrt (- 3.0 (* x 2.0)))
8.0ms
(* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))
17.0ms
(* x (* (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))) (cbrt (- 3.0 (* x 2.0)))))
14.0ms
(* (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))) (cbrt (- 3.0 (* x 2.0))))

series27.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(cbrt (- 3.0 (* x 2.0)))
8.0ms
(* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))
6.0ms
(* x (* (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))) (cbrt (- 3.0 (* x 2.0)))))
6.0ms
(* (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))) (cbrt (- 3.0 (* x 2.0))))

simplify105.0ms

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
050863537

prune294.0ms

Filtered
104 candidates to 173 candidates (-66.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1721173
Fresh112
Picked011
Done022
Total1735178

Merged error: 0b

Counts
178 → 5

regimes67.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
02012
12012

end0.0ms

sample457.0ms

Algorithm
intervals
Results
279.0ms11992×body80valid

Profiling

Loading profile data...