Details

Time bar (total: 2.3s)

sample42.0ms

Algorithm
intervals
Results
13.0ms85×body1280valid
6.0ms49×body640valid
5.0ms24×body2560valid
2.0ms68×body80valid
2.0ms20×body320valid
1.0ms10×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
052212
152212

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: 44.6b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

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

simplify32.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
04788447
14788447

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: 44.1b

Counts
36 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series17.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04946497
14946497

prune78.0ms

Filtered
24 candidates to 38 candidates (-58.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New35338
Fresh066
Picked101
Done000
Total36945

Merged error: 32.9b

Counts
45 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (- (fma x y z) z) (+ 1.0 (* x y))) 3)
2.7b
(cbrt (pow (- (- (fma x y z) z) (+ 1.0 (* x y))) 3))
3.5b
(- (fma x y z) z)
12.5b
(- (- (fma x y z) z) (+ 1.0 (* x y)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
22×add-sqr-sqrt
18×cbrt-prod add-log-exp
16×distribute-lft-out--
12×cube-div unpow-prod-down cube-prod frac-sub
10×add-cube-cbrt flip3-- flip--
diff-log
cbrt-div flip3-+ flip-+ difference-of-squares
pow1 add-exp-log add-cbrt-cube
sub-neg pow-unpow
cube-mult unpow3 associate--l+ sum-log sqr-pow
associate--l- pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube associate--r+ rem-cube-cbrt
Counts
4 → 108
Calls
4 calls:
9.0ms
(pow (- (- (fma x y z) z) (+ 1.0 (* x y))) 3)
9.0ms
(cbrt (pow (- (- (fma x y z) z) (+ 1.0 (* x y))) 3))
3.0ms
(- (fma x y z) z)
8.0ms
(- (- (fma x y z) z) (+ 1.0 (* x y)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(pow (- (- (fma x y z) z) (+ 1.0 (* x y))) 3)
9.0ms
(cbrt (pow (- (- (fma x y z) z) (+ 1.0 (* x y))) 3))
5.0ms
(- (fma x y z) z)
11.0ms
(- (- (fma x y z) z) (+ 1.0 (* x y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
050582547

prune196.0ms

Filtered
72 candidates to 120 candidates (-66.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1119120
Fresh358
Picked101
Done000
Total11514129

Merged error: 32.8b

Counts
129 → 14

localize8.0ms

Local error

Found 2 expressions with local error:

3.5b
(- (fma x y z) z)
12.5b
(- (- (fma x y z) z) (+ 1.0 (* x y)))

rewrite12.0ms

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

series14.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05041764

prune44.0ms

Filtered
29 candidates to 46 candidates (-58.6%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New40646
Fresh31013
Picked101
Done000
Total441660

Merged error: 32.8b

Counts
60 → 16

regimes294.0ms

Accuracy

0% (0.7b remaining)

Error of 30.8b against oracle of 30.0b and baseline of 30.8b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06529
16529

end0.0ms

sample1.2s

Algorithm
intervals
Results
433.0ms2626×body1280valid
199.0ms1549×body640valid
119.0ms614×body2560valid
80.0ms2149×body80valid
72.0ms728×body320valid
22.0ms334×body160valid

Profiling

Loading profile data...