Details

Time bar (total: 2.1s)

sample15.0ms

Algorithm
intervals
Results
7.0ms370×body80valid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0134
1354
2894
31574
41704
51864
62444
74424
813894
947614
1050014

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

rewrite9.0ms

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

series79.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0216252
1984214
25002203

prune61.0ms

Filtered
36 candidates to 20 candidates (55.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New30636
Fresh000
Picked101
Done000
Total31637

Merged error: 0b

Counts
37 → 6

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)

rewrite16.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
expm1-log1p-u sum-log log1p-expm1-u
+-commutative neg-sub0 associate-+r- fma-def flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 39
Calls
2 calls:
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
9.0ms
(* (* x x) 3.0)

series129.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0204229
11021204
25001195

prune105.0ms

Filtered
45 candidates to 33 candidates (73.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43245
Fresh235
Picked101
Done000
Total46551

Merged error: 0b

Counts
51 → 5

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
25×distribute-rgt-in distribute-lft-in
18×prod-diff
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- *-commutative flip-- log1p-expm1-u add-log-exp
unswap-sqr
Counts
2 → 74
Calls
2 calls:
6.0ms
(* x (- 3.0 (* x 2.0)))
8.0ms
(* x (* x (- 3.0 (* x 2.0))))

series157.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(* x (- 3.0 (* x 2.0)))
79.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0248535
11174460
25001440

prune103.0ms

Filtered
80 candidates to 38 candidates (47.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New80080
Fresh044
Picked011
Done000
Total80585

Merged error: 0b

Counts
85 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
33×add-exp-log
27×pow-prod-down
21×prod-exp cbrt-unprod
20×add-cbrt-cube
associate-*r* add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus pow-prod-up
cbrt-prod expm1-log1p-u log1p-expm1-u
pow2 associate-*l* sum-log pow-sqr *-commutative
+-commutative neg-sub0 associate-+r- fma-def flip3-+ unsub-neg neg-log flip-+ unswap-sqr
Counts
3 → 81
Calls
3 calls:
16.0ms
(+ (* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0)) (- (* 2.0 (pow x 3))))
12.0ms
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))
20.0ms
(* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

series366.0ms

Counts
3 → 9
Calls
3 calls:
179.0ms
(+ (* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0)) (- (* 2.0 (pow x 3))))
83.0ms
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))
103.0ms
(* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0324694
11814511
25001450

prune172.0ms

Filtered
90 candidates to 51 candidates (56.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New89190
Fresh123
Picked011
Done011
Total90595

Merged error: 0b

Counts
95 → 5

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

sample359.0ms

Algorithm
intervals
Results
233.0ms11834×body80valid