Details

Time bar (total: 1.7s)

sample15.0ms

Algorithm
intervals
Results
6.0ms301×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2523
3883
41023
51023

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

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 1.0 (* y z))
3.4b
(* x (- 1.0 (* y z)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
prod-diff
add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube add-log-exp
sub-neg fma-neg associate-*r* associate-*l*
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 52
Calls
2 calls:
3.0ms
(- 1.0 (* y z))
6.0ms
(* x (- 1.0 (* y z)))

series68.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(- 1.0 (* y z))
46.0ms
(* x (- 1.0 (* y z)))

simplify78.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune88.0ms

Filtered
58 candidates to 36 candidates (62.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New50858
Fresh000
Picked101
Done000
Total51859

Merged error: 3.5b

Counts
59 → 8

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
3.4b
(* x (- 1.0 (* y z)))
49.9b
(fma (- z) y (* z y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube add-log-exp
expm1-log1p-u sub-neg fma-neg associate-*r* associate-*l* log1p-expm1-u
flip3-- associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 62
Calls
3 calls:
3.0ms
(- 1.0 (* y z))
6.0ms
(* x (- 1.0 (* y z)))
1.0ms
(fma (- z) y (* z y))

series98.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(- 1.0 (* y z))
45.0ms
(* x (- 1.0 (* y z)))
29.0ms
(fma (- z) y (* z y))

simplify79.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune132.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh077
Picked011
Done000
Total71879

Merged error: 3.5b

Counts
79 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
6.7b
(* x (- (* y z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt associate-*r*
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
associate-*l* distribute-rgt-neg-out
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def distribute-rgt-neg-in flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
2 → 41
Calls
2 calls:
3.0ms
(+ (* x 1.0) (* x (- (* y z))))
4.0ms
(* x (- (* y z)))

series84.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0191224
11076197
25002193

prune84.0ms

Filtered
47 candidates to 37 candidates (78.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New46147
Fresh336
Picked101
Done011
Total50555

Merged error: 0.0b

Counts
55 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x (- y)) z))
4.5b
(* (* x (- y)) z)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
distribute-lft-neg-out add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp distribute-rgt-neg-out cbrt-unprod
expm1-log1p-u log1p-expm1-u
+-commutative fma-def flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 37
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x (- y)) z))
5.0ms
(* (* x (- y)) z)

series87.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0213216
11002190
25002180

prune70.0ms

Filtered
43 candidates to 33 candidates (76.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New42143
Fresh033
Picked011
Done011
Total42648

Merged error: 0.0b

Counts
48 → 6

regimes224.0ms

Accuracy

98.2% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 4.6b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
14315
24615
34615

end0.0ms

sample367.0ms

Algorithm
intervals
Results
183.0ms9522×body80valid