Details

Time bar (total: 2.4s)

sample17.0ms

Algorithm
intervals
Results
6.0ms301×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series82.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0143187
1560166
22091166
35003166

prune93.0ms

Filtered
42 candidates to 28 candidates (66.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New33942
Fresh000
Picked101
Done000
Total34943

Merged error: 4.7b

Counts
43 → 9

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.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
+-commutative distribute-lft-neg-in neg-mul-1 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 → 36
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* x (- (* y z))))
5.0ms
(* x (- (* y z)))

series93.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0181204
11018178
25001174

prune100.0ms

Filtered
42 candidates to 33 candidates (78.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh448
Picked011
Done000
Total44751

Merged error: 0.0b

Counts
51 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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
+-commutative flip3-+ associate-*l* unsub-neg sum-log *-commutative flip-+
Counts
2 → 32
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x (- y)) z))
6.0ms
(* (* x (- y)) z)

series92.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0203197
1955172
25001160

prune84.0ms

Filtered
38 candidates to 28 candidates (73.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New36238
Fresh055
Picked011
Done011
Total36945

Merged error: 0.0b

Counts
45 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.9b
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
4.2b
(* (* x (- y)) (* (cbrt z) (cbrt z)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
34×pow1 add-exp-log
21×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r*
add-log-exp
distribute-lft-neg-out
pow1/3 associate-*l* *-commutative distribute-rgt-neg-out
Counts
4 → 76
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
14.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
10.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

series590.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt z)
204.0ms
(cbrt z)
53.0ms
(* (* (* x (- y)) (* (cbrt z) (cbrt z))) (cbrt z))
139.0ms
(* (* x (- y)) (* (cbrt z) (cbrt z)))

simplify62.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0295603
11551448
25001398

prune185.0ms

Filtered
88 candidates to 56 candidates (63.6%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New85388
Fresh156
Picked011
Done022
Total861197

Merged error: 0.0b

Counts
97 → 11

regimes364.0ms

Accuracy

71% (1.3b remaining)

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

bsearch2.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample405.0ms

Algorithm
intervals
Results
207.0ms9601×body80valid

Profiling

Loading profile data...