Details

Time bar (total: 2.3s)

sample47.0ms

Algorithm
intervals
Results
14.0ms87×body1280valid
7.0ms48×body640valid
5.0ms23×body2560valid
3.0ms68×body80valid
2.0ms24×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
024712
124712

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 45.3b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series17.0ms

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

simplify26.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
04954447
14954447

prune71.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: 44.8b

Counts
36 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series16.0ms

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

simplify16.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
05318722

prune80.0ms

Filtered
29 candidates to 43 candidates (-48.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh066
Picked011
Done000
Total401050

Merged error: 44.7b

Counts
50 → 10

localize8.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (- (fma x y z) (+ 1.0 (* x y))) z)
10.6b
(- (fma x y z) (+ 1.0 (* x y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
*-un-lft-identity
diff-log
add-sqr-sqrt
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 → 36
Calls
2 calls:
8.0ms
(- (- (fma x y z) (+ 1.0 (* x y))) z)
5.0ms
(- (fma x y z) (+ 1.0 (* x y)))

series20.0ms

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

simplify26.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
04945605
14945605

prune99.0ms

Filtered
26 candidates to 42 candidates (-61.5%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New36642
Fresh088
Picked101
Done011
Total371552

Merged error: 44.5b

Counts
52 → 15

localize13.0ms

Local error

Found 4 expressions with local error:

10.6b
(- (fma x y z) (+ 1.0 (* x y)))
10.6b
(- (fma x y z) (+ 1.0 (* x y)))
10.6b
(- (fma x y z) (+ 1.0 (* x y)))
17.6b
(- (* (* (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×add-sqr-sqrt *-un-lft-identity
diff-log
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- add-cbrt-cube flip--
sum-log associate--r+ distribute-lft-out-- difference-of-squares
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)

series34.0ms

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

simplify21.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
049721026
149721026

prune111.0ms

Filtered
47 candidates to 72 candidates (-53.2%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New69372
Fresh11213
Picked011
Done011
Total701787

Merged error: 44.5b

Counts
87 → 17

regimes335.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01112
11112

end0.0ms

sample1.3s

Algorithm
intervals
Results
447.0ms2639×body1280valid
215.0ms1595×body640valid
126.0ms638×body2560valid
80.0ms2104×body80valid
72.0ms696×body320valid
23.0ms328×body160valid

Profiling

Loading profile data...