Details

Time bar (total: 2.0s)

sample17.0ms

Algorithm
intervals
Results
9.0ms343×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (44.0ms)

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

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
associate-*r/ *-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ fma-neg diff-log prod-diff flip-- flip-+ distribute-lft-out unswap-sqr
Counts
3 → 61
Calls
3 calls:
5.0ms
(- (* (* x 3.0) x) (* x 4.0))
10.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
6.0ms
(* (* x 3.0) x)

series142.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(- (* (* x 3.0) x) (* x 4.0))
33.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
28.0ms
(* (* x 3.0) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0306404
11349358
25001342

prune154.0ms

Filtered
70 candidates to 48 candidates (68.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New66470
Fresh000
Picked011
Done000
Total66571

Merged error: 0.0b

Counts
71 → 5

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

rewrite5.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:
3.0ms
(- 3.0 (* 12.0 x))
1.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series70.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune98.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New35136
Fresh123
Picked011
Done011
Total36541

Merged error: 0b

Counts
41 → 5

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series34.0ms

Counts
1 → 3
Calls
1 calls:
33.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify82.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
04266
19553
239053
3202953
4500253

prune37.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done022
Total13518

Merged error: 0b

Counts
18 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (* x 3.0) x) (* x 4.0))
0.1b
(* (sqrt 3.0) (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
0.2b
(* (* x 3.0) x)
0.8b
(* (sqrt 3.0) (* (sqrt 3.0) (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1 add-exp-log add-cbrt-cube
14×add-sqr-sqrt
13×associate-*l*
12×*-un-lft-identity
10×add-cube-cbrt
associate-*r*
pow-prod-down prod-exp sqrt-prod cbrt-unprod
associate-*r/ add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u
*-commutative
flip3-+ flip-+ unswap-sqr
sub-neg flip3-- fma-neg diff-log prod-diff flip-- distribute-lft-out
Counts
4 → 94
Calls
4 calls:
5.0ms
(- (* (* x 3.0) x) (* x 4.0))
11.0ms
(* (sqrt 3.0) (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
5.0ms
(* (* x 3.0) x)
14.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)))

series260.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (* (* x 3.0) x) (* x 4.0))
57.0ms
(* (sqrt 3.0) (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
34.0ms
(* (* x 3.0) x)
88.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
0416810
12038683
25001665

prune238.0ms

Filtered
106 candidates to 69 candidates (65.1%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1051106
Fresh101
Picked011
Done033
Total1065111

Merged error: 0b

Counts
111 → 5

regimes103.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
0104
1104

end0.0ms

sample388.0ms

Algorithm
intervals
Results
272.0ms10731×body80valid