Details

Time bar (total: 1.8s)

sample22.0ms

Algorithm
intervals
Results
8.0ms309×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0577
1577

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 2.4b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.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)))

simplify49.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04975232
14975232

prune60.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New18927
Fresh000
Picked101
Done000
Total19928

Merged error: 2.2b

Counts
28 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series15.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05159291

prune48.0ms

Filtered
22 candidates to 39 candidates (-77.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh538
Picked011
Done000
Total42648

Merged error: 0.0b

Counts
48 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series16.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05342331

prune56.0ms

Filtered
29 candidates to 45 candidates (-55.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New43245
Fresh134
Picked011
Done011
Total44751

Merged error: 0.0b

Counts
51 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
1.0b
(* (* x (* y (* (cbrt z) (neg (cbrt z))))) (cbrt z))
3.2b
(* x (* y (* (cbrt z) (neg (cbrt z)))))

rewrite23.0ms

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

series83.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt z)
21.0ms
(cbrt z)
10.0ms
(* (* x (* y (* (cbrt z) (neg (cbrt z))))) (cbrt z))
31.0ms
(* x (* y (* (cbrt z) (neg (cbrt z)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
04948555
14948555

prune68.0ms

Filtered
51 candidates to 84 candidates (-64.7%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New82284
Fresh044
Picked011
Done022
Total82991

Merged error: 0.0b

Counts
91 → 9

regimes549.0ms

Accuracy

37.6% (1.9b remaining)

Error of 1.9b against oracle of 0.0b and baseline of 3.0b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04426
14426

end0.0ms

sample593.0ms

Algorithm
intervals
Results
247.0ms9624×body80valid

Profiling

Loading profile data...