Details

Time bar (total: 4.9s)

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
15.0ms77×body1280valid
6.0ms51×body640valid
4.0ms23×body2560valid
3.0ms75×body80valid
2.0ms16×body320valid
1.0ms14×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: 43.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
12.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)
8.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 (15.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune62.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: 42.9b

Counts
36 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

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

series14.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0281361
11187349
25001338

prune71.0ms

Filtered
28 candidates to 43 candidates (-53.6%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh066
Picked011
Done000
Total401050

Merged error: 42.8b

Counts
50 → 10

localize7.0ms

Local error

Found 2 expressions with local error:

1.9b
(- (- (- (fma x y z) 1.0) (* x y)) z)
11.5b
(- (- (fma x y z) 1.0) (* x y))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
diff-log
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
2 → 37
Calls
2 calls:
8.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
6.0ms
(- (- (fma x y z) 1.0) (* x y))

series16.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0162275
1515264
22224259
35001259

prune95.0ms

Filtered
26 candidates to 43 candidates (-65.4%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New35843
Fresh178
Picked101
Done011
Total371653

Merged error: 42.7b

Counts
53 → 16

localize12.0ms

Local error

Found 4 expressions with local error:

1.9b
(- (- (- (fma x y z) 1.0) (* x y)) z)
11.5b
(- (- (fma x y z) 1.0) (* x y))
11.5b
(- (- (fma x y z) 1.0) (* x y))
11.5b
(- (- (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:
10.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
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))

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

simplify57.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0162487
1515476
22224469
35001469

prune113.0ms

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

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh01414
Picked011
Done011
Total811697

Merged error: 42.7b

Counts
97 → 16

regimes293.0ms

Accuracy

0% (0.7b remaining)

Error of 45.1b against oracle of 44.4b and baseline of 45.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01420
11420

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
422.0ms2680×body1280valid
191.0ms1558×body640valid
110.0ms594×body2560valid
73.0ms2082×body80valid
68.0ms725×body320valid
23.0ms361×body160valid

Profiling

Loading profile data...