Details

Time bar (total: 1.4s)

sample19.0ms

Algorithm
intervals
Results
10.0ms395×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
048989
148989

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

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

rewrite19.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:
9.0ms
(* x (- 3.0 (* x 2.0)))
7.0ms
(* x (* x (- 3.0 (* x 2.0))))

series14.0ms

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

simplify28.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05000552

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

rewrite23.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:
10.0ms
(* 2.0 (neg (pow x 3)))
5.0ms
(+ (* x (* x 3.0)) (* 2.0 (neg (pow x 3))))
5.0ms
(* x (* x 3.0))

series18.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04957564
14957564

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

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

series7.0ms

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

simplify31.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
04944294
14944294

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

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (* x (- 3.0 (* x 2.0))))
0.3b
(* (sqrt (* x (* x (- 3.0 (* x 2.0))))) (sqrt (* x (* x (- 3.0 (* x 2.0))))))
20.1b
(sqrt (* x (* x (- 3.0 (* x 2.0)))))
20.1b
(sqrt (* x (* x (- 3.0 (* x 2.0)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
148×pow1
80×pow-prod-down
66×sqrt-pow1
38×associate-*r/
17×pow-prod-up
16×sqrt-div
14×pow1/2
11×add-exp-log add-sqr-sqrt pow-sqr add-cbrt-cube
add-cube-cbrt flip3-- *-un-lft-identity flip--
distribute-rgt-in distribute-lft-in
associate-*l*
sqrt-prod
associate-*r*
frac-times sub-neg swap-sqr prod-exp cbrt-unprod add-log-exp
associate-*l/ *-commutative
pow2 pow-plus sqrt-unprod rem-square-sqrt unswap-sqr
Counts
4 → 130
Calls
4 calls:
7.0ms
(* x (* x (- 3.0 (* x 2.0))))
17.0ms
(* (sqrt (* x (* x (- 3.0 (* x 2.0))))) (sqrt (* x (* x (- 3.0 (* x 2.0))))))
6.0ms
(sqrt (* x (* x (- 3.0 (* x 2.0)))))
6.0ms
(sqrt (* x (* x (- 3.0 (* x 2.0)))))

series31.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
050371517

prune148.0ms

Filtered
66 candidates to 142 candidates (-115.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1411142
Fresh112
Picked011
Done022
Total1425147

Merged error: 0b

Counts
147 → 5

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

sample517.0ms

Algorithm
intervals
Results
311.0ms12015×body80valid

Profiling

Loading profile data...