Details

Time bar (total: 2.2s)

sample22.0ms

Algorithm
intervals
Results
11.0ms332×body80valid
1.0msbody1280valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1263
2623
31643
43203
54383
66003
78313
814513
923573
1025453
1125453

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ x y) (- 1.0 z))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt *-un-lft-identity
18×prod-diff
15×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
associate-*r*
frac-times associate-*l*
pow1 add-exp-log flip3-- flip3-+ add-cbrt-cube flip-- flip-+
sub-neg associate-*r/ associate-*l/
expm1-log1p-u pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares unswap-sqr
Counts
1 → 53
Calls
1 calls:
19.0ms
(* (+ x y) (- 1.0 z))

series33.0ms

Counts
1 → 3
Calls
1 calls:
32.0ms
(* (+ x y) (- 1.0 z))

simplify46.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0397499
11589357
25001356

prune90.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (fma 1.0 x (* 1.0 y)) (* (- z) (+ x y)))
0.0b
(* (- z) (+ x y))

rewrite16.0ms

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

series86.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(+ (fma 1.0 x (* 1.0 y)) (* (- z) (+ x y)))
40.0ms
(* (- z) (+ x y))

simplify39.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0289302
11292273
25002261

prune140.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* (- z) y))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
fma-def add-log-exp
distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ unsub-neg sum-log add-cbrt-cube flip-+ fma-udef log1p-expm1-u
Counts
1 → 19
Calls
1 calls:
2.0ms
(+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* (- z) y))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* (- z) y))

simplify74.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0119173
1450151
22796145
35001139

prune65.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma y z (fma x 1.0 (- (* 1.0 y) (* x z))))
0.0b
(+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y))
0.1b
(* (+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y)) (fma (- z) y (fma x (- z) (fma 1.0 x (* 1.0 y)))))
33.3b
(/ (* (+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y)) (fma (- z) y (fma x (- z) (fma 1.0 x (* 1.0 y))))) (fma y z (fma x 1.0 (- (* 1.0 y) (* x z)))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
expm1-log1p-u associate-*l/ fma-udef log1p-expm1-u
fma-def flip3-+ times-frac associate-*r* associate-*l* associate-/r* flip-+
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/
+-commutative distribute-rgt-in associate-+l+ frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 76
Calls
4 calls:
0.0ms
(fma y z (fma x 1.0 (- (* 1.0 y) (* x z))))
3.0ms
(+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y))
7.0ms
(* (+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y)) (fma (- z) y (fma x (- z) (fma 1.0 x (* 1.0 y)))))
5.0ms
(/ (* (+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y)) (fma (- z) y (fma x (- z) (fma 1.0 x (* 1.0 y))))) (fma y z (fma x 1.0 (- (* 1.0 y) (* x z)))))

series404.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(fma y z (fma x 1.0 (- (* 1.0 y) (* x z))))
43.0ms
(+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y))
131.0ms
(* (+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y)) (fma (- z) y (fma x (- z) (fma 1.0 x (* 1.0 y)))))
181.0ms
(/ (* (+ (fma x (- z) (fma 1.0 x (* 1.0 y))) (* z y)) (fma (- z) y (fma x (- z) (fma 1.0 x (* 1.0 y))))) (fma y z (fma x 1.0 (- (* 1.0 y) (* x z)))))

simplify60.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03621331
116651098
25002916

prune349.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0.0b

regimes49.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1197
2207
3207

end0.0ms

sample545.0ms

Algorithm
intervals
Results
334.0ms10130×body80valid
0.0msbody1280valid