Details

Time bar (total: 1.9s)

sample14.0ms

Algorithm
intervals
Results
6.0ms355×body80valid

simplify28.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

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

series34.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04266
110253
243353
3213253
4500153

prune30.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 0.253 (* x 0.12))
0.1b
(* x (+ 0.253 (* x 0.12)))

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
fma-def associate-*r* associate-*l*
expm1-log1p-u flip3-+ associate-*r/ flip-+ log1p-expm1-u
+-commutative distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 40
Calls
2 calls:
2.0ms
(+ 0.253 (* x 0.12))
7.0ms
(* x (+ 0.253 (* x 0.12)))

series104.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ 0.253 (* x 0.12))
66.0ms
(* x (+ 0.253 (* x 0.12)))

simplify112.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0175184
1809150
24290148
35001148

prune97.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 0.253 (* x 0.12))
0.1b
(* x (/ (* (fma 0.12 x 0.253) (- 0.253 (* x 0.12))) (- 0.253 (* x 0.12))))
0.2b
(* (fma 0.12 x 0.253) (- 0.253 (* x 0.12)))
0.2b
(/ (* (fma 0.12 x 0.253) (- 0.253 (* x 0.12))) (- 0.253 (* x 0.12)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
12×associate-*r*
prod-diff
pow1
times-frac associate-*l* prod-exp cbrt-unprod add-log-exp
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip--
cbrt-undiv expm1-log1p-u div-exp associate-/r/ log1p-expm1-u
sub-neg fma-neg associate-/r*
pow-prod-down *-commutative div-inv associate-/l/ unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 110
Calls
4 calls:
2.0ms
(- 0.253 (* x 0.12))
15.0ms
(* x (/ (* (fma 0.12 x 0.253) (- 0.253 (* x 0.12))) (- 0.253 (* x 0.12))))
8.0ms
(* (fma 0.12 x 0.253) (- 0.253 (* x 0.12)))
9.0ms
(/ (* (fma 0.12 x 0.253) (- 0.253 (* x 0.12))) (- 0.253 (* x 0.12)))

series248.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- 0.253 (* x 0.12))
67.0ms
(* x (/ (* (fma 0.12 x 0.253) (- 0.253 (* x 0.12))) (- 0.253 (* x 0.12))))
107.0ms
(* (fma 0.12 x 0.253) (- 0.253 (* x 0.12)))
34.0ms
(/ (* (fma 0.12 x 0.253) (- 0.253 (* x 0.12))) (- 0.253 (* x 0.12)))

simplify82.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0379867
12372588
25002588

prune268.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 0.253)
1.0b
(cbrt 0.253)
1.0b
(cbrt 0.253)
59.4b
(fma (- 0.12) x (* 0.12 x))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(cbrt 0.253)
0.0ms
(cbrt 0.253)
1.0ms
(cbrt 0.253)
0.0ms
(fma (- 0.12) x (* 0.12 x))

series53.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 0.253)
0.0ms
(cbrt 0.253)
0.0ms
(cbrt 0.253)
52.0ms
(fma (- 0.12) x (* 0.12 x))

simplify76.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 4 (73.0ms)

IterNodesCost
049200
1101184
2381175
31864155
45002130

prune219.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes28.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
02720
12920
22920

end0.0ms

sample310.0ms

Algorithm
intervals
Results
195.0ms10710×body80valid