Details

Time bar (total: 2.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms373×body80valid

simplify211.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.1b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

series78.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0216252
1984214
25002203

prune56.0ms

Filtered
36 candidates to 20 candidates (55.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh000
Picked101
Done000
Total33437

Merged error: 0.0b

Counts
37 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 72
Calls
3 calls:
6.0ms
(* 2.0 (pow x 3))
6.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
6.0ms
(* (* x x) 3.0)

series167.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(* 2.0 (pow x 3))
98.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
25.0ms
(* (* x x) 3.0)

simplify73.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0305350
11570308
25001301

prune163.0ms

Filtered
81 candidates to 55 candidates (67.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh123
Picked011
Done000
Total81485

Merged error: 0.0b

Counts
85 → 4

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

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

series149.0ms

Counts
2 → 6
Calls
2 calls:
74.0ms
(* x (- 3.0 (* x 2.0)))
75.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0248535
11174460
25001440

prune106.0ms

Filtered
80 candidates to 38 candidates (47.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh022
Picked011
Done011
Total80484

Merged error: 0.0b

Counts
84 → 4

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
192×prod-diff
98×distribute-rgt-in distribute-lft-in
89×add-sqr-sqrt
80×*-un-lft-identity
78×add-cube-cbrt
74×unpow-prod-down cube-prod
46×sqr-pow
40×cube-mult unpow3
17×add-exp-log add-cbrt-cube
13×associate-*r*
pow1 difference-of-squares
prod-exp cbrt-unprod
add-log-exp
associate-*r/
cbrt-undiv expm1-log1p-u times-frac div-exp pow-prod-down associate-/r* log1p-expm1-u
sub-neg flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
difference-cubes +-commutative distribute-rgt-out fma-def frac-2neg associate-*l* clear-num sum-log *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
3 → 273
Calls
3 calls:
7.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
22.0ms
(* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3)))
34.0ms
(/ (* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

series453.0ms

Counts
3 → 9
Calls
3 calls:
73.0ms
(+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))
148.0ms
(* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3)))
233.0ms
(/ (* (* x x) (- (pow 3.0 3) (pow (* x 2.0) 3))) (+ (* 3.0 3.0) (+ (* (* x 2.0) (* x 2.0)) (* 3.0 (* x 2.0)))))

simplify79.0ms

Algorithm
egg-herbie
Counts
282 → 282
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012014271
150013356

prune258.0ms

Filtered
282 candidates to 65 candidates (23.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New2802282
Fresh101
Picked011
Done022
Total2815286

Merged error: 0b

Counts
286 → 5

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

sample364.0ms

Algorithm
intervals
Results
236.0ms12052×body80valid