Details

Time bar (total: 1.8s)

sample18.0ms

Algorithm
intervals
Results
9.0ms403×body80valid

simplify101.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (99.0ms)

IterNodesCost
049759
149759

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

series7.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04915294
14915294

prune46.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New23528
Fresh101
Picked011
Done000
Total24630

Merged error: 0b

Counts
30 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

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

series16.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
05144597

prune100.0ms

Filtered
50 candidates to 86 candidates (-72.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh044
Picked011
Done011
Total86692

Merged error: 0b

Counts
92 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
58×associate-*r/
35×flip3-- flip--
32×frac-times
25×pow1 cbrt-prod
24×add-sqr-sqrt
20×add-exp-log
16×add-cube-cbrt *-un-lft-identity associate-*l/
12×associate-*r* pow-prod-down add-cbrt-cube
11×prod-exp cbrt-unprod
pow1/3
associate-*l*
swap-sqr
add-log-exp unswap-sqr
pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 127
Calls
4 calls:
2.0ms
(cbrt (- 3.0 (* x 2.0)))
2.0ms
(cbrt (- 3.0 (* x 2.0)))
9.0ms
(* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0))))
19.0ms
(* (* x (* x (* (cbrt (- 3.0 (* x 2.0))) (cbrt (- 3.0 (* x 2.0)))))) (cbrt (- 3.0 (* x 2.0))))

series33.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049662924
149662924

prune305.0ms

Filtered
93 candidates to 139 candidates (-49.5%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh033
Picked011
Done022
Total1396145

Merged error: 0b

Counts
145 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow x 4) (* 2.0 2.0))
0.0b
(- (* (* x x) (* 3.0 3.0)) (* (pow x 4) (* 2.0 2.0)))
0.2b
(* (* x x) (* 3.0 3.0))
3.9b
(/ (- (* (* x x) (* 3.0 3.0)) (* (pow x 4) (* 2.0 2.0))) (+ 3.0 (* x 2.0)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1
31×add-exp-log
23×add-cbrt-cube
17×prod-exp
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity pow-prod-down
11×cbrt-unprod
times-frac
associate-*l*
add-log-exp
unpow-prod-down pow-plus pow-prod-up unswap-sqr
associate-/r* associate-/l*
pow2 pow-to-exp flip3-- associate-*r* pow-exp associate-/r/ pow-sqr *-commutative flip-- associate-/l/ sqr-pow
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 100
Calls
4 calls:
7.0ms
(* (pow x 4) (* 2.0 2.0))
9.0ms
(- (* (* x x) (* 3.0 3.0)) (* (pow x 4) (* 2.0 2.0)))
8.0ms
(* (* x x) (* 3.0 3.0))
12.0ms
(/ (- (* (* x x) (* 3.0 3.0)) (* (pow x 4) (* 2.0 2.0))) (+ 3.0 (* x 2.0)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (pow x 4) (* 2.0 2.0))
10.0ms
(- (* (* x x) (* 3.0 3.0)) (* (pow x 4) (* 2.0 2.0)))
3.0ms
(* (* x x) (* 3.0 3.0))
16.0ms
(/ (- (* (* x x) (* 3.0 3.0)) (* (pow x 4) (* 2.0 2.0))) (+ 3.0 (* x 2.0)))

simplify32.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
049721640
149721640

prune172.0ms

Filtered
73 candidates to 112 candidates (-53.4%)
Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New1111112
Fresh112
Picked011
Done033
Total1126118

Merged error: 0b

Counts
118 → 6

regimes75.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 (1.0ms)

IterNodesCost
02112
12112

end0.0ms

sample478.0ms

Algorithm
intervals
Results
289.0ms11936×body80valid

Profiling

Loading profile data...