Details

Time bar (total: 1.6s)

sample20.0ms

Algorithm
intervals
Results
7.0ms309×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune3.0ms

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 1 expressions with local error:

3.0b
(* x (- 1.0 (* y z)))

rewrite5.0ms

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

series9.0ms

Counts
1 → 3
Calls
1 calls:
9.0ms
(* x (- 1.0 (* y z)))

simplify53.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0122127
1493111
21989111
35001111

prune52.0ms

Filtered
17 candidates to 27 candidates (-58.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New20727
Fresh000
Picked101
Done000
Total21728

Merged error: 3.0b

Counts
28 → 7

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (neg (* y z))))
5.7b
(* x (neg (* y z)))

rewrite8.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:
3.0ms
(+ (* x 1.0) (* x (neg (* y z))))
4.0ms
(* x (neg (* y z)))

series15.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* x (neg (* y z))))
6.0ms
(* x (neg (* y z)))

simplify43.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0181204
11018178
25001174

prune60.0ms

Filtered
33 candidates to 42 candidates (-27.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New40242
Fresh336
Picked011
Done000
Total43649

Merged error: 0.0b

Counts
49 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

series16.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* x 1.0) (* (* x (neg y)) z))
6.0ms
(* (* x (neg y)) z)

simplify39.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0203197
1955172
25001160

prune52.0ms

Filtered
28 candidates to 38 candidates (-35.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New36238
Fresh134
Picked011
Done011
Total37744

Merged error: 0.0b

Counts
44 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
1.3b
(* (* (* x (neg y)) (* (cbrt z) (cbrt z))) (cbrt z))
5.1b
(* (* x (neg y)) (* (cbrt z) (cbrt z)))

rewrite27.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 (neg y)) (* (cbrt z) (cbrt z))) (cbrt z))
9.0ms
(* (* x (neg y)) (* (cbrt z) (cbrt z)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt z)
21.0ms
(cbrt z)
9.0ms
(* (* (* x (neg y)) (* (cbrt z) (cbrt z))) (cbrt z))
29.0ms
(* (* x (neg y)) (* (cbrt z) (cbrt z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0348641
11561509
25001442

prune68.0ms

Filtered
52 candidates to 88 candidates (-69.2%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New85388
Fresh044
Picked011
Done022
Total851095

Merged error: 0.0b

Counts
95 → 10

regimes419.0ms

Accuracy

92.6% (0.2b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 3.3b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03612
14912
25312
35312

end0.0ms

sample555.0ms

Algorithm
intervals
Results
239.0ms9570×body80valid

Profiling

Loading profile data...