Details

Time bar (total: 2.2s)

sample38.0ms

Algorithm
intervals
Results
11.0ms75×body1280valid
5.0ms46×body640valid
3.0ms20×body2560valid
3.0ms81×body80valid
2.0ms25×body320valid
1.0msbody160valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune4.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: 42.6b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series20.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0223293
1768282
23261281
35002281

prune83.0ms

Filtered
52 candidates to 36 candidates (30.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New45752
Fresh000
Picked101
Done000
Total46753

Merged error: 42.0b

Counts
53 → 7

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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) 1.0)
10.0ms
(- (fma x y z) (+ z (+ (* x y) 1.0)))

series13.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0169220
1538204
22318203
35003203

prune68.0ms

Filtered
35 candidates to 22 candidates (37.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New34135
Fresh156
Picked011
Done000
Total35742

Merged error: 29.4b

Counts
42 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3)
1.6b
(- (fma x y z) z)
2.4b
(cbrt (pow (- (- (fma x y z) z) (+ (* x y) 1.0)) 3))
9.5b
(- (- (fma x y z) z) (+ (* x y) 1.0))

rewrite36.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))

series75.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05851297
127031240
250011229

prune166.0ms

Filtered
120 candidates to 67 candidates (44.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1164120
Fresh235
Picked101
Done011
Total1198127

Merged error: 14.2b

Counts
127 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3)
1.6b
(- (fma x y z) z)
2.4b
(cbrt (pow (- (- (- (fma x y z) z) (* x y)) 1.0) 3))
8.8b
(- (- (fma x y z) z) (* x y))

rewrite29.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))

series73.0ms

Counts
4 → 12
Calls
4 calls:
51.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))

simplify55.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0430820
11762777
25001771

prune108.0ms

Filtered
98 candidates to 54 candidates (44.9%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh606
Picked101
Done101
Total1051106

Merged error: 7.8b

Counts
106 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample1.1s

Algorithm
intervals
Results
380.0ms2579×body1280valid
188.0ms1572×body640valid
120.0ms670×body2560valid
69.0ms2072×body80valid
68.0ms742×body320valid
22.0ms365×body160valid

Profiling

Loading profile data...