Details

Time bar (total: 1.5s)

sample14.0ms

Algorithm
intervals
Results
6.0ms328×body80valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0194
1454
2823
31273
41683
52243
63593
76663
87633
97633

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (- x) (fma 0.12 x 0.253) 1.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:
0.0ms
(fma (- x) (fma 0.12 x 0.253) 1.0)

series31.0ms

Counts
1 → 3
Calls
1 calls:
31.0ms
(fma (- x) (fma 0.12 x 0.253) 1.0)

simplify70.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04266
110253
243353
3213253
4500153

prune34.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (- x) (fma 0.12 x 0.253)) 1.0)
0.1b
(* (- x) (fma 0.12 x 0.253))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l*
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube fma-udef add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in associate-*r*
distribute-rgt-in expm1-log1p-u associate-+l+ distribute-lft-in log1p-expm1-u
+-commutative distribute-lft-neg-out neg-mul-1 fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
2 → 46
Calls
2 calls:
8.0ms
(+ (* (- x) (fma 0.12 x 0.253)) 1.0)
10.0ms
(* (- x) (fma 0.12 x 0.253))

series104.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(+ (* (- x) (fma 0.12 x 0.253)) 1.0)
75.0ms
(* (- x) (fma 0.12 x 0.253))

simplify143.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0205250
1826222
24576219
35001218

prune108.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 0.12 x) (- x)) (fma 0.253 (- x) 1.0))
0.2b
(* (* 0.12 x) (- x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*r*
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative neg-mul-1 associate-+r+ fma-def flip3-+ associate-*l* sum-log *-commutative distribute-rgt-neg-out flip-+ fma-udef
Counts
2 → 43
Calls
2 calls:
17.0ms
(+ (* (* 0.12 x) (- x)) (fma 0.253 (- x) 1.0))
22.0ms
(* (* 0.12 x) (- x))

series58.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (* (* 0.12 x) (- x)) (fma 0.253 (- x) 1.0))
25.0ms
(* (* 0.12 x) (- x))

simplify41.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0246268
11187239
25001226

prune102.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 0.12 (* x (- x))) (fma 0.253 (- x) 1.0))
0.2b
(* 0.12 (* x (- x)))

rewrite41.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-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u distribute-rgt-neg-out log1p-expm1-u
+-commutative associate-+r+ fma-def flip3-+ associate-*r* sum-log *-commutative flip-+ fma-udef
Counts
2 → 36
Calls
2 calls:
22.0ms
(+ (* 0.12 (* x (- x))) (fma 0.253 (- x) 1.0))
19.0ms
(* 0.12 (* x (- x)))

series54.0ms

Counts
2 → 6
Calls
2 calls:
28.0ms
(+ (* 0.12 (* x (- x))) (fma 0.253 (- x) 1.0))
26.0ms
(* 0.12 (* x (- x)))

simplify117.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0196244
1766217
24416203
35001203

prune81.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes15.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1186
2216
3216

end0.0ms

sample352.0ms

Algorithm
intervals
Results
203.0ms10647×body80valid