Details

Time bar (total: 2.6s)

sample38.0ms

Algorithm
intervals
Results
15.0ms102×body1280valid
5.0ms44×body640valid
4.0ms20×body2560valid
2.0ms27×body320valid
2.0ms60×body80valid
0.0msbody160valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 47.7b

Counts
2 → 1

localize11.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

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

series38.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0115163
1404152
22160152
35001152

prune42.0ms

Filtered
21 candidates to 14 candidates (66.7%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New20121
Fresh000
Picked101
Done000
Total21122

Merged error: 47.6b

Counts
22 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

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

series36.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0106163
1340152
21784152
35001152

prune38.0ms

Filtered
21 candidates to 12 candidates (57.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New20121
Fresh000
Picked011
Done000
Total20222

Merged error: 32.5b

Counts
22 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
1.7b
(- (fma x y z) z)
4.8b
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
9.5b
(- (- (fma x y z) z) (+ (* x y) 1.0))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
22×add-sqr-sqrt
18×cbrt-prod add-log-exp
16×distribute-lft-out--
12×cube-div unpow-prod-down cube-prod frac-sub
10×add-cube-cbrt flip3-- flip--
diff-log
cbrt-div flip3-+ flip-+ difference-of-squares
pow1 add-exp-log add-cbrt-cube
sub-neg pow-unpow
cube-mult unpow3 associate--l+ sum-log sqr-pow
associate--l- pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube associate--r+ rem-cube-cbrt
Counts
4 → 108
Calls
4 calls:
10.0ms
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
6.0ms
(- (fma x y z) z)
10.0ms
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
9.0ms
(- (- (fma x y z) z) (+ (* x y) 1.0))

series269.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
18.0ms
(- (fma x y z) z)
41.0ms
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
36.0ms
(- (- (fma x y z) z) (+ (* x y) 1.0))

simplify80.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05851293
127031238
250021229

prune270.0ms

Filtered
120 candidates to 67 candidates (55.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1128120
Fresh000
Picked101
Done011
Total1139122

Merged error: 17.3b

Counts
122 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
1.7b
(- (fma x y z) z)
4.8b
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
9.0b
(- (- (fma x y z) z) (* x y))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt *-un-lft-identity
16×cbrt-prod
11×add-log-exp
10×add-cube-cbrt unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube distribute-lft-out-- difference-of-squares
cube-div flip3-- diff-log flip--
sub-neg pow-unpow
cube-mult cbrt-div unpow3 associate--l+ sqr-pow
associate--l- pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 86
Calls
4 calls:
13.0ms
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
3.0ms
(- (fma x y z) z)
10.0ms
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
6.0ms
(- (- (fma x y z) z) (* x y))

series263.0ms

Counts
4 → 12
Calls
4 calls:
175.0ms
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
23.0ms
(- (fma x y z) z)
36.0ms
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
30.0ms
(- (- (fma x y z) z) (* x y))

simplify59.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0430820
11762777
25001771

prune179.0ms

Filtered
98 candidates to 54 candidates (55.1%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh707
Picked101
Done101
Total1061107

Merged error: 7.5b

Counts
107 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample1.0s

Algorithm
intervals
Results
387.0ms2597×body1280valid
197.0ms1614×body640valid
100.0ms557×body2560valid
75.0ms2129×body80valid
68.0ms759×body320valid
22.0ms344×body160valid

Profiling

Loading profile data...