Details

Time bar (total: 2.4s)

sample35.0ms

Algorithm
intervals
Results
11.0ms79×body1280valid
6.0ms58×body640valid
3.0ms16×body2560valid
2.0ms29×body320valid
2.0ms58×body80valid
1.0ms16×body160valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.7b

Counts
2 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

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

series60.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune91.0ms

Filtered
35 candidates to 24 candidates (68.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New28735
Fresh000
Picked101
Done000
Total29736

Merged error: 46.0b

Counts
36 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series62.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0281361
11187349
25001338

prune115.0ms

Filtered
43 candidates to 28 candidates (65.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New34943
Fresh606
Picked011
Done000
Total401050

Merged error: 45.9b

Counts
50 → 10

localize8.0ms

Local error

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

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

series73.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0162275
1515264
22224259
35001259

prune121.0ms

Filtered
43 candidates to 26 candidates (60.5%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New34943
Fresh178
Picked101
Done011
Total361753

Merged error: 45.8b

Counts
53 → 17

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

rewrite33.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:
9.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
10.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))

series140.0ms

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

prune216.0ms

Filtered
81 candidates to 53 candidates (65.4%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh01515
Picked011
Done011
Total811798

Merged error: 45.8b

Counts
98 → 17

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

sample969.0ms

Algorithm
intervals
Results
370.0ms2630×body1280valid
178.0ms1629×body640valid
111.0ms624×body2560valid
60.0ms2078×body80valid
57.0ms700×body320valid
19.0ms339×body160valid