Details

Time bar (total: 2.0s)

sample17.0ms

Algorithm
intervals
Results
8.0ms336×body80valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (39.0ms)

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite343.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube add-log-exp
10×add-sqr-sqrt
add-cube-cbrt
associate-*r*
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
associate-+l+ fma-def
sub-neg flip3-+ diff-log associate-*r/ prod-diff sum-log *-commutative flip-+ distribute-lft-out
+-commutative distribute-rgt-in associate-+l- flip3-- distribute-lft-in fma-neg flip-- unswap-sqr
Counts
4 → 83
Calls
4 calls:
90.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
19.0ms
(- (* (* x 3.0) x) (* x 4.0))
216.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
16.0ms
(* (* x 3.0) x)

series139.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
65.0ms
(- (* (* x 3.0) x) (* x 4.0))
28.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
23.0ms
(* (* x 3.0) x)

simplify51.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0346559
11446492
25001452

prune173.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

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

series53.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune80.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite10.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:
9.0ms
(- (* 9.0 x) 12.0)
0.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series67.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0140157
1462122
22558119
35002115

prune58.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma x 3.0 (- 4.0))
0.2b
(* (* x 3.0) (fma x 3.0 (- 4.0)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod fma-udef
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
2 → 32
Calls
2 calls:
0.0ms
(fma x 3.0 (- 4.0))
19.0ms
(* (* x 3.0) (fma x 3.0 (- 4.0)))

series120.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(fma x 3.0 (- 4.0))
83.0ms
(* (* x 3.0) (fma x 3.0 (- 4.0)))

simplify125.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0133191
1651159
24174156
35001156

prune63.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes41.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
083
183

end0.0ms

sample421.0ms

Algorithm
intervals
Results
262.0ms10831×body80valid