Details

Time bar (total: 2.1s)

sample43.0ms

Algorithm
intervals
Results
17.0ms89×body1280valid
7.0ms59×body640valid
3.0ms19×body2560valid
2.0ms63×body80valid
1.0ms15×body320valid
1.0ms11×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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 45.9b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
9.1b
(- (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:
3.0ms
(+ (* x y) z)
7.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series15.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune59.0ms

Filtered
24 candidates to 35 candidates (-45.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New29635
Fresh000
Picked101
Done000
Total30636

Merged error: 45.5b

Counts
36 → 6

localize10.0ms

Local error

Found 1 expressions with local error:

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

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) (+ z (+ (* x y) 1.0)))

series9.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0106163
1340152
21784152
35001152

prune41.0ms

Filtered
12 candidates to 21 candidates (-75.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New20121
Fresh145
Picked011
Done000
Total21627

Merged error: 32.2b

Counts
27 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
1.1b
(- (fma x y z) z)
2.7b
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
8.8b
(- (- (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)
12.0ms
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
9.0ms
(- (- (fma x y z) z) (+ (* x y) 1.0))

series73.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
5.0ms
(- (fma x y z) z)
9.0ms
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
9.0ms
(- (- (fma x y z) z) (+ (* x y) 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05851293
127031238
250021229

prune155.0ms

Filtered
67 candidates to 120 candidates (-79.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1164120
Fresh134
Picked101
Done011
Total1188126

Merged error: 12.7b

Counts
126 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
1.1b
(- (fma x y z) z)
2.7b
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
7.8b
(- (- (fma x y z) z) (* x y))

rewrite32.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)
10.0ms
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
8.0ms
(- (- (fma x y z) z) (* x y))

series76.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
5.0ms
(- (fma x y z) z)
9.0ms
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
8.0ms
(- (- (fma x y z) z) (* x y))

simplify54.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0430820
11762777
25001771

prune103.0ms

Filtered
54 candidates to 98 candidates (-81.5%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh606
Picked101
Done101
Total1051106

Merged error: 7.0b

Counts
106 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample1.1s

Algorithm
intervals
Results
390.0ms2587×body1280valid
195.0ms1637×body640valid
108.0ms608×body2560valid
70.0ms2072×body80valid
68.0ms742×body320valid
22.0ms354×body160valid

Profiling

Loading profile data...