Details

Time bar (total: 12.4s)

sample4.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 80.950928%

Results
17.0ms95×body1280valid
6.0ms53×body640valid
3.0ms17×body2560valid
2.0ms60×body80valid
2.0ms21×body320valid
1.0ms10×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: 46.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

series16.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune66.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New28735
Fresh000
Picked101
Done000
Total29736

Merged error: 45.9b

Counts
36 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

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

series19.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0291425
11198413
25002401

prune109.0ms

Filtered
39 candidates to 60 candidates (-53.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New52860
Fresh156
Picked101
Done000
Total541367

Merged error: 45.5b

Counts
67 → 13

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series20.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

prune133.0ms

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

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New51960
Fresh11112
Picked101
Done000
Total532073

Merged error: 45.5b

Counts
73 → 20

localize12.0ms

Local error

Found 4 expressions with local error:

9.8b
(- (- (fma x y z) 1.0) (* x y))
9.8b
(- (- (fma x y z) 1.0) (* x y))
9.8b
(- (- (fma x y z) 1.0) (* x y))
14.0b
(- (* (* (cbrt (- (- (fma x y z) 1.0) (* x y))) (cbrt (- (- (fma x y z) 1.0) (* x y)))) (cbrt (- (- (fma x y z) 1.0) (* x y)))) z)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
21×add-log-exp
10×diff-log
sub-neg
associate--l+
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt flip3-- *-un-lft-identity add-cbrt-cube flip--
associate--l-
Counts
4 → 60
Calls
4 calls:
6.0ms
(- (- (fma x y z) 1.0) (* x y))
6.0ms
(- (- (fma x y z) 1.0) (* x y))
6.0ms
(- (- (fma x y z) 1.0) (* x y))
24.0ms
(- (* (* (cbrt (- (- (fma x y z) 1.0) (* x y))) (cbrt (- (- (fma x y z) 1.0) (* x y)))) (cbrt (- (- (fma x y z) 1.0) (* x y)))) z)

series33.0ms

Counts
4 → 12
Calls
4 calls:
9.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))
10.0ms
(- (* (* (cbrt (- (- (fma x y z) 1.0) (* x y))) (cbrt (- (- (fma x y z) 1.0) (* x y)))) (cbrt (- (- (fma x y z) 1.0) (* x y)))) z)

simplify69.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0161701
1491575
22396501
35002501

prune112.0ms

Filtered
50 candidates to 72 candidates (-44.0%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh11819
Picked101
Done000
Total712192

Merged error: 45.5b

Counts
92 → 21

regimes391.0ms

Accuracy

0% (1.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01731
11731

end0.0ms

sample6.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 80.950928%

Results
421.0ms1582×body640valid
417.0ms2591×body1280valid
118.0ms593×body2560valid
76.0ms2121×body80valid
72.0ms757×body320valid
24.0ms356×body160valid

Profiling

Loading profile data...