Details

Time bar (total: 2.7s)

sample36.0ms

Algorithm
intervals
Results
14.0ms95×body1280valid
5.0ms46×body640valid
3.0ms18×body2560valid
2.0ms65×body80valid
2.0ms22×body320valid
1.0ms10×body160valid

simplify28.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: 45.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series61.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune80.0ms

Filtered
35 candidates to 24 candidates (68.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New30535
Fresh000
Picked101
Done000
Total31536

Merged error: 45.2b

Counts
36 → 5

localize14.0ms

Local error

Found 1 expressions with local error:

10.8b
(- (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)))

simplify42.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0106163
1340152
21784152
35001152

prune54.0ms

Filtered
21 candidates to 12 candidates (57.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New20121
Fresh044
Picked011
Done000
Total20626

Merged error: 31.0b

Counts
26 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
1.9b
(- (fma x y z) z)
2.2b
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
10.2b
(- (- (fma x y z) z) (+ (* x y) 1.0))

rewrite37.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)
3.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))

series271.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05851293
127031240
250021231

prune269.0ms

Filtered
120 candidates to 67 candidates (55.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1146120
Fresh224
Picked101
Done011
Total1179126

Merged error: 14.6b

Counts
126 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
1.9b
(- (fma x y z) z)
2.2b
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
9.5b
(- (- (fma x y z) z) (* x y))

rewrite30.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:
9.0ms
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
3.0ms
(- (fma x y z) z)
9.0ms
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
6.0ms
(- (- (fma x y z) z) (* x y))

series260.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
18.0ms
(- (fma x y z) z)
37.0ms
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
34.0ms
(- (- (fma x y z) z) (* x y))

simplify55.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0430824
11762781
25001773

prune183.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: 8.5b

Counts
107 → 1

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample1.0s

Algorithm
intervals
Results
387.0ms2584×body1280valid
189.0ms1566×body640valid
114.0ms632×body2560valid
71.0ms2130×body80valid
70.0ms721×body320valid
22.0ms367×body160valid