Details

Time bar (total: 5.6s)

sample42.0ms

Algorithm
intervals
Results
19.0ms412×body80valid

simplify139.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 6 (137.0ms)

IterNodesCost
0389
11039
23279
39219
419969
548419
650018

prune14.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 13.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (- 4.0) (/ (* t a) c) (/ (fma x (* 9.0 y) b) (* z c)))
0.3b
(fma x (* 9.0 y) b)
6.4b
(/ (* t a) c)
12.3b
(/ (fma x (* 9.0 y) b) (* z c))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
14×add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
pow1 cbrt-undiv expm1-log1p-u div-exp associate-/r* log1p-expm1-u associate-/l* add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv
Counts
4 → 66
Calls
4 calls:
0.0ms
(fma (- 4.0) (/ (* t a) c) (/ (fma x (* 9.0 y) b) (* z c)))
0.0ms
(fma x (* 9.0 y) b)
3.0ms
(/ (* t a) c)
3.0ms
(/ (fma x (* 9.0 y) b) (* z c))

series312.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(fma (- 4.0) (/ (* t a) c) (/ (fma x (* 9.0 y) b) (* z c)))
31.0ms
(fma x (* 9.0 y) b)
22.0ms
(/ (* t a) c)
53.0ms
(/ (fma x (* 9.0 y) b) (* z c))

simplify36.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0284424
11137356
25001355

prune316.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (* 9.0 x) y b)
3.9b
(/ (fma (* 9.0 x) y b) c)
4.4b
(* (/ 1 z) (/ (fma (* 9.0 x) y b) c))
6.4b
(/ (* t a) c)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
37×times-frac
33×add-exp-log
30×*-un-lft-identity
28×add-cube-cbrt
23×add-cbrt-cube
13×associate-*r* associate-*l*
11×div-exp
prod-exp
cbrt-undiv
pow1 associate-/r* unswap-sqr
cbrt-unprod
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
rec-exp frac-2neg 1-exp clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 120
Calls
4 calls:
0.0ms
(fma (* 9.0 x) y b)
2.0ms
(/ (fma (* 9.0 x) y b) c)
13.0ms
(* (/ 1 z) (/ (fma (* 9.0 x) y b) c))
3.0ms
(/ (* t a) c)

series192.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(fma (* 9.0 x) y b)
63.0ms
(/ (fma (* 9.0 x) y b) c)
72.0ms
(* (/ 1 z) (/ (fma (* 9.0 x) y b) c))
24.0ms
(/ (* t a) c)

simplify63.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0491790
12242685
25001679

prune508.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.4b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (* 9.0 x) y b)
3.9b
(/ (fma (* 9.0 x) y b) c)
4.4b
(* (/ 1 z) (/ (fma (* 9.0 x) y b) c))
6.2b
(* t (/ a c))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
44×times-frac
36×*-un-lft-identity
34×add-cube-cbrt
33×add-exp-log
26×associate-*r*
23×add-cbrt-cube
16×associate-*l*
10×div-exp prod-exp
pow1 unswap-sqr
cbrt-undiv cbrt-unprod
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
associate-/r* associate-/l*
rec-exp 1-exp associate-*r/ pow-prod-down *-commutative
frac-times frac-2neg associate-*l/ clear-num fma-udef
Counts
4 → 131
Calls
4 calls:
0.0ms
(fma (* 9.0 x) y b)
2.0ms
(/ (fma (* 9.0 x) y b) c)
13.0ms
(* (/ 1 z) (/ (fma (* 9.0 x) y b) c))
7.0ms
(* t (/ a c))

series443.0ms

Counts
4 → 12
Calls
4 calls:
278.0ms
(fma (* 9.0 x) y b)
64.0ms
(/ (fma (* 9.0 x) y b) c)
77.0ms
(* (/ 1 z) (/ (fma (* 9.0 x) y b) c))
24.0ms
(* t (/ a c))

simplify68.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0542838
12416733
25002727

prune532.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (* 9.0 x) y b)
3.9b
(/ (fma (* 9.0 x) y b) c)
4.4b
(/ (/ (fma (* 9.0 x) y b) c) z)
6.2b
(* t (/ a c))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
94×times-frac
67×add-sqr-sqrt
62×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube associate-/l*
13×associate-*r*
div-inv
pow1 associate-/r*
cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
frac-2neg prod-exp clear-num cbrt-unprod unswap-sqr
associate-*r/ pow-prod-down *-commutative fma-udef associate-/l/
Counts
4 → 145
Calls
4 calls:
0.0ms
(fma (* 9.0 x) y b)
2.0ms
(/ (fma (* 9.0 x) y b) c)
6.0ms
(/ (/ (fma (* 9.0 x) y b) c) z)
7.0ms
(* t (/ a c))

series171.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(fma (* 9.0 x) y b)
61.0ms
(/ (fma (* 9.0 x) y b) c)
53.0ms
(/ (/ (fma (* 9.0 x) y b) c) z)
23.0ms
(* t (/ a c))

simplify59.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05351058
11977993
25001993

prune680.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 4.3b

regimes762.0ms

Accuracy

58.8% (3.2b remaining)

Error of 7.4b against oracle of 4.2b and baseline of 12.0b

bsearch3.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
05381
15681
26254
36554
47154
58254
68954
79054
89054

end0.0ms

sample1.1s

Algorithm
intervals
Results
624.0ms12888×body80valid