Details

Time bar (total: 2.2s)

sample20.0ms

Algorithm
intervals
Results
10.0ms338×body80valid

simplify120.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (63.0ms)

IterNodesCost
0276
1636
21545
33235
44265
55285
66045
78325
814644
920354
1020644
1120644

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x 3.0) 4.0)
0.0b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* associate-*l* prod-diff log1p-expm1-u
sub-neg flip3-- fma-neg diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
3 → 48
Calls
3 calls:
5.0ms
(- (* x 3.0) 4.0)
1.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
4.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

series142.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (* x 3.0) 4.0)
36.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
54.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

simplify139.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0206296
1706240
24518237
35001237

prune131.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New51657
Fresh101
Picked101
Done000
Total53659

Merged error: 0.0b

Counts
59 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x 3.0 4.0)
0.1b
(* (fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0) 3.0)
0.2b
(* (fma x 3.0 4.0) (- (* x 3.0) 4.0))
0.2b
(/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l* prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv sub-neg flip3-- div-exp pow-prod-down *-commutative flip-- associate-/l/ unswap-sqr
frac-2neg clear-num fma-udef div-inv associate-/l*
Counts
4 → 87
Calls
4 calls:
1.0ms
(fma x 3.0 4.0)
4.0ms
(* (fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0) 3.0)
7.0ms
(* (fma x 3.0 4.0) (- (* x 3.0) 4.0))
9.0ms
(/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0))

series288.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma x 3.0 4.0)
45.0ms
(* (fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0) 3.0)
147.0ms
(* (fma x 3.0 4.0) (- (* x 3.0) 4.0))
50.0ms
(/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0361737
11917604
25002579

prune218.0ms

Filtered
99 candidates to 67 candidates (67.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New99099
Fresh055
Picked011
Done000
Total996105

Merged error: 0.0b

Counts
105 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 3.0 (* 12.0 x))
0.1b
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef
Counts
2 → 30
Calls
2 calls:
4.0ms
(- 3.0 (* 12.0 x))
5.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series71.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(- 3.0 (* 12.0 x))
28.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

simplify70.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune94.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34236
Fresh224
Picked101
Done011
Total37542

Merged error: 0.0b

Counts
42 → 5

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 9.0 x) 12.0)
0.1b
(fma x (- (* 9.0 x) 12.0) 3.0)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- fma-neg diff-log flip-- fma-udef
Counts
2 → 28
Calls
2 calls:
5.0ms
(- (* 9.0 x) 12.0)
1.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series83.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(- (* 9.0 x) 12.0)
37.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify100.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0140157
1462122
22558119
35002115

prune68.0ms

Filtered
34 candidates to 24 candidates (70.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New32234
Fresh123
Picked101
Done011
Total34539

Merged error: 0b

Counts
39 → 5

regimes26.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
073

end0.0ms

sample455.0ms

Algorithm
intervals
Results
335.0ms10649×body80valid

Profiling

Loading profile data...