Details

Time bar (total: 2.2s)

sample42.0ms

Algorithm
intervals
Results
13.0ms88×body1280valid
6.0ms53×body640valid
3.0ms19×body2560valid
2.0ms65×body80valid
2.0ms19×body320valid
1.0ms12×body160valid

simplify26.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune7.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 44.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
*-un-lft-identity
sum-log
add-sqr-sqrt
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- flip3-+ flip-- flip-+ associate--r+ difference-of-squares
Counts
2 → 32
Calls
2 calls:
5.0ms
(+ 1.0 (+ (* x y) z))
7.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series16.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0169241
1611230
22945230
35002230

prune100.0ms

Filtered
38 candidates to 26 candidates (31.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New31738
Fresh000
Picked011
Done000
Total31839

Merged error: 44.5b

Counts
39 → 8

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (+ (* x y) z) (+ (* x y) z))
10.8b
(- (fma x y z) (/ (- (* 1.0 1.0) (* (+ (* x y) z) (+ (* x y) z))) (- 1.0 (+ (* x y) z))))
28.6b
(/ (- (* 1.0 1.0) (* (+ (* x y) z) (+ (* x y) z))) (- 1.0 (+ (* x y) z)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
30×*-un-lft-identity
21×times-frac
18×add-cube-cbrt
13×difference-of-squares
10×pow1
add-exp-log add-cbrt-cube
flip3-+ flip-+ distribute-lft-out--
associate-/r* add-log-exp
frac-times associate-/l*
flip3-- swap-sqr associate-*r* associate-*l* flip--
div-sub associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-plus diff-log div-exp pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv associate--r- unswap-sqr
Counts
3 → 97
Calls
3 calls:
9.0ms
(* (+ (* x y) z) (+ (* x y) z))
13.0ms
(- (fma x y z) (/ (- (* 1.0 1.0) (* (+ (* x y) z) (+ (* x y) z))) (- 1.0 (+ (* x y) z))))
10.0ms
(/ (- (* 1.0 1.0) (* (+ (* x y) z) (+ (* x y) z))) (- 1.0 (+ (* x y) z)))

series98.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(* (+ (* x y) z) (+ (* x y) z))
62.0ms
(- (fma x y z) (/ (- (* 1.0 1.0) (* (+ (* x y) z) (+ (* x y) z))) (- 1.0 (+ (* x y) z))))
28.0ms
(/ (- (* 1.0 1.0) (* (+ (* x y) z) (+ (* x y) z))) (- 1.0 (+ (* x y) z)))

simplify79.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05231402
124541259
250011211

prune518.0ms

Filtered
106 candidates to 75 candidates (29.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New1051106
Fresh606
Picked101
Done101
Total1131114

Merged error: 8.0b

Counts
114 → 1

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
associate--r+
pow1 add-exp-log distribute-rgt-in add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity distribute-lft-in diff-log add-cbrt-cube flip--
Counts
1 → 14
Calls
1 calls:
3.0ms
(- (fma x y z) (* 1.0 (+ (* x y) z)))

series10.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
099133
1340122
21973122
35001122

prune32.0ms

Filtered
17 candidates to 12 candidates (29.4%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New17017
Fresh000
Picked011
Done000
Total17118

Merged error: 8.0b

Counts
18 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0136
1136

end0.0ms

sample1.1s

Algorithm
intervals
Results
391.0ms2645×body1280valid
192.0ms1631×body640valid
116.0ms621×body2560valid
68.0ms2067×body80valid
58.0ms652×body320valid
23.0ms384×body160valid

Profiling

Loading profile data...