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 (4.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

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

series28.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04266
110253
243353
3213253
4500153

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

rewrite21.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:
9.0ms
(+ (* (- x) (fma 0.12 x 0.253)) 1.0)
11.0ms
(* (- x) (fma 0.12 x 0.253))

series95.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (138.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
(+ (* (- x) (* 0.12 x)) (fma 0.253 (- x) 1.0))
0.2b
(* (- x) (* 0.12 x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l*
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 distribute-lft-neg-out neg-mul-1 associate-+r+ fma-def flip3-+ associate-*r* sum-log *-commutative flip-+ fma-udef
Counts
2 → 43
Calls
2 calls:
17.0ms
(+ (* (- x) (* 0.12 x)) (fma 0.253 (- x) 1.0))
19.0ms
(* (- x) (* 0.12 x))

series52.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0220266
1887240
24841230
35001227

prune111.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

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

series50.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0217279
1869240
25002237

prune130.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes20.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1196
2196

end0.0ms

sample353.0ms

Algorithm
intervals
Results
198.0ms10647×body80valid