Details

Time bar (total: 2.5s)

sample41.0ms

Algorithm
intervals
Results
12.0ms76×body1280valid
6.0ms26×body320valid
5.0ms41×body640valid
5.0ms24×body2560valid
3.0ms75×body80valid
1.0ms14×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: 43.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

series61.0ms

Counts
2 → 6
Calls
2 calls:
21.0ms
(+ (* x y) z)
40.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

prune81.0ms

Filtered
35 candidates to 24 candidates (68.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New27835
Fresh000
Picked101
Done000
Total28836

Merged error: 42.7b

Counts
36 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

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

series60.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0281361
11187349
25001338

prune98.0ms

Filtered
43 candidates to 28 candidates (65.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh167
Picked011
Done000
Total411051

Merged error: 42.5b

Counts
51 → 10

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series72.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0162275
1515264
22224259
35001259

prune118.0ms

Filtered
43 candidates to 26 candidates (60.5%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New321143
Fresh088
Picked011
Done101
Total332053

Merged error: 42.4b

Counts
53 → 20

localize12.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (- (- (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))

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

series141.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (- (- (fma x y z) 1.0) (* x y)) z)
32.0ms
(- (- (fma x y z) 1.0) (* x y))
32.0ms
(- (- (fma x y z) 1.0) (* x y))
36.0ms
(- (- (fma x y z) 1.0) (* x y))

simplify61.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0162487
1515476
22224469
35001469

prune173.0ms

Filtered
81 candidates to 53 candidates (65.4%)
Pruning

20 alts after pruning (19 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh01818
Picked101
Done011
Total8120101

Merged error: 42.4b

Counts
101 → 20

regimes220.0ms

Accuracy

0% (0.7b remaining)

Error of 45.3b against oracle of 44.5b and baseline of 45.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01735
11735

end0.0ms

sample1.1s

Algorithm
intervals
Results
441.0ms2657×body1280valid
201.0ms1536×body640valid
123.0ms625×body2560valid
82.0ms2079×body80valid
76.0ms749×body320valid
24.0ms354×body160valid