Details

Time bar (total: 1.7s)

sample31.0ms

Algorithm
intervals
Results
14.0ms315×body80valid

simplify12.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.1b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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))
5.0ms
(* x (- 1.0 (* y z)))

series72.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0175291
1678254
22734247
35001229

prune91.0ms

Filtered
58 candidates to 36 candidates (62.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New51758
Fresh000
Picked101
Done000
Total52759

Merged error: 3.0b

Counts
59 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* y z))
2.9b
(* x (- 1.0 (* y z)))
51.3b
(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))
5.0ms
(* x (- 1.0 (* y z)))
1.0ms
(fma (- z) y (* z y))

series97.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(- 1.0 (* y z))
49.0ms
(* x (- 1.0 (* y z)))
26.0ms
(fma (- z) y (* z y))

simplify81.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0185341
1721297
22920290
35001267

prune127.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh066
Picked011
Done000
Total71778

Merged error: 3.0b

Counts
78 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* y z))))
6.4b
(* 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))))
5.0ms
(* x (- (* y z)))

series84.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0191224
11076197
25002193

prune86.0ms

Filtered
47 candidates to 38 candidates (80.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New46147
Fresh235
Picked101
Done011
Total49554

Merged error: 0.0b

Counts
54 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

series84.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0213216
11002190
25002180

prune74.0ms

Filtered
43 candidates to 33 candidates (76.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New41243
Fresh033
Picked011
Done011
Total41748

Merged error: 0b

Counts
48 → 7

regimes231.0ms

Accuracy

94.7% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 3.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
14315
24615
34615

end0.0ms

sample429.0ms

Algorithm
intervals
Results
239.0ms9658×body80valid

Profiling

Loading profile data...