Details

Time bar (total: 2.2s)

sample17.0ms

Algorithm
intervals
Results
8.0ms320×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 10 (65.0ms)

IterNodesCost
0114
1204
2364
3584
4784
51014
61384
72254
85104
916824
1050013

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (- 1 y) (/ x z) y)

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:
1.0ms
(fma (- 1 y) (/ x z) y)

series30.0ms

Counts
1 → 3
Calls
1 calls:
30.0ms
(fma (- 1 y) (/ x z) y)

simplify48.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
03866
18259
225653
3131353
4500153

prune35.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* y (- z x))
0.0b
(+ x (* y (- z x)))
9.2b
(/ (+ x (* y (- z x))) z)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
40×*-un-lft-identity
38×add-cube-cbrt
36×prod-diff
22×distribute-rgt-in associate-+r+ distribute-lft-in
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
sub-neg
expm1-log1p-u fma-def associate-*l* associate-/r* log1p-expm1-u associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 115
Calls
3 calls:
7.0ms
(* y (- z x))
6.0ms
(+ x (* y (- z x)))
5.0ms
(/ (+ x (* y (- z x))) z)

series119.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(* y (- z x))
31.0ms
(+ x (* y (- z x)))
51.0ms
(/ (+ x (* y (- z x))) z)

simplify57.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0379842
11526592
25002585

prune234.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma y (- z x) x)
0.3b
(/ 1 (/ z (fma y (- z x) x)))
9.3b
(/ z (fma y (- z x) x))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
16×add-exp-log associate-/r*
10×add-cbrt-cube
div-exp
div-inv associate-/l*
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num
pow-flip associate-/r/ fma-udef inv-pow
Counts
3 → 117
Calls
3 calls:
1.0ms
(fma y (- z x) x)
6.0ms
(/ 1 (/ z (fma y (- z x) x)))
3.0ms
(/ z (fma y (- z x) x))

series130.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(fma y (- z x) x)
38.0ms
(/ 1 (/ z (fma y (- z x) x)))
66.0ms
(/ z (fma y (- z x) x))

simplify48.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0342938
11475831
25001757

prune212.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (fma (- 1 y) (/ x z) y))
0.0b
(fma (- 1 y) (/ x z) y)
0.0b
(fma (- 1 y) (/ x z) y)
0.2b
(* (sqrt (fma (- 1 y) (/ x z) y)) (sqrt (fma (- 1 y) (/ x z) y)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
2.0ms
(sqrt (fma (- 1 y) (/ x z) y))
1.0ms
(fma (- 1 y) (/ x z) y)
1.0ms
(fma (- 1 y) (/ x z) y)
7.0ms
(* (sqrt (fma (- 1 y) (/ x z) y)) (sqrt (fma (- 1 y) (/ x z) y)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(sqrt (fma (- 1 y) (/ x z) y))
29.0ms
(fma (- 1 y) (/ x z) y)
30.0ms
(fma (- 1 y) (/ x z) y)
34.0ms
(* (sqrt (fma (- 1 y) (/ x z) y)) (sqrt (fma (- 1 y) (/ x z) y)))

simplify164.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (156.0ms)

IterNodesCost
0148552
1537485
23451445
35001428

prune187.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes51.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample450.0ms

Algorithm
intervals
Results
248.0ms10124×body80valid