Details

Time bar (total: 5.3s)

sample1.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 72.143555%

Results
13.0ms85×body1280valid
6.0ms48×body640valid
3.0ms17×body2560valid
2.0ms72×body80valid
2.0ms25×body320valid
1.0msbody160valid

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: 43.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

series15.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0169241
1611230
22945230
35002230

prune63.0ms

Filtered
26 candidates to 38 candidates (-46.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New32638
Fresh000
Picked101
Done000
Total33639

Merged error: 43.2b

Counts
39 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series12.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282373
11153361
25001349

prune280.0ms

Filtered
29 candidates to 46 candidates (-58.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New38846
Fresh055
Picked101
Done000
Total391352

Merged error: 42.9b

Counts
52 → 13

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (fma x y z) 1.0)
1.2b
(- (- (- (fma x y z) 1.0) (* x y)) z)
10.1b
(- (- (fma x y z) 1.0) (* x y))

rewrite19.0ms

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

series19.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- (fma x y z) 1.0)
9.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
7.0ms
(- (- (fma x y z) 1.0) (* x y))

simplify58.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0203339
1593328
22349322
35001322

prune114.0ms

Filtered
38 candidates to 60 candidates (-57.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New55560
Fresh11112
Picked101
Done000
Total571673

Merged error: 42.9b

Counts
73 → 16

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- (- (fma x y z) 1.0) (* x y)) z)
10.1b
(- (- (fma x y z) 1.0) (* x y))
10.1b
(- (- (fma x y z) 1.0) (* x y))
10.1b
(- (- (fma x y z) 1.0) (* x y))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
28×add-log-exp
15×diff-log
12×associate--l+
sub-neg
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log associate--l- add-cube-cbrt flip3-- add-cbrt-cube flip--
distribute-lft-out-- difference-of-squares
Counts
4 → 69
Calls
4 calls:
8.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
7.0ms
(- (- (fma x y z) 1.0) (* x y))
6.0ms
(- (- (fma x y z) 1.0) (* x y))
8.0ms
(- (- (fma x y z) 1.0) (* x y))

series30.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
7.0ms
(- (- (fma x y z) 1.0) (* x y))
7.0ms
(- (- (fma x y z) 1.0) (* x y))
7.0ms
(- (- (fma x y z) 1.0) (* x y))

simplify60.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0162487
1515476
22224469
35001469

prune122.0ms

Filtered
53 candidates to 81 candidates (-52.8%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh01515
Picked011
Done000
Total801797

Merged error: 42.9b

Counts
97 → 17

regimes320.0ms

Accuracy

0% (0.8b remaining)

Error of 44.8b against oracle of 44.0b and baseline of 44.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01735
11735

end0.0ms

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 72.143555%

Results
398.0ms2628×body1280valid
209.0ms1593×body640valid
109.0ms582×body2560valid
73.0ms2115×body80valid
73.0ms738×body320valid
24.0ms344×body160valid

Profiling

Loading profile data...