Details

Time bar (total: 3.8s)

sample16.0ms

Algorithm
intervals
Results
6.0ms311×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

prune2.0ms

Filtered
1 candidates to 0 candidates (100.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))
3.0b
(* x (- 1.0 (* y z)))

rewrite17.0ms

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

series79.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0168220
1632199
22182199
35003199

prune82.0ms

Filtered
50 candidates to 33 candidates (34.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New391150
Fresh000
Picked101
Done000
Total401151

Merged error: 2.0b

Counts
51 → 11

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.0ms

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

series90.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0284307
11424275
25001271

prune108.0ms

Filtered
74 candidates to 52 candidates (29.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New71374
Fresh9110
Picked011
Done000
Total80585

Merged error: 0.0b

Counts
85 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
176×add-sqr-sqrt
114×cbrt-prod
98×associate-*r*
83×unswap-sqr
72×*-un-lft-identity
70×associate-*l*
60×cbrt-div
34×associate-*r/
31×add-cbrt-cube
30×flip3-- flip--
29×cbrt-unprod
28×frac-times
24×swap-sqr distribute-lft-out--
20×add-cube-cbrt
16×difference-of-squares
14×associate-*l/
13×pow1 add-exp-log
*-commutative
pow-prod-down prod-exp
add-log-exp
pow1/3
Counts
4 → 202
Calls
4 calls:
61.0ms
(* x (* (* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z)))) (cbrt (- 1.0 (* y z)))))
6.0ms
(cbrt (- 1.0 (* y z)))
6.0ms
(cbrt (- 1.0 (* y z)))
6.0ms
(cbrt (- 1.0 (* y z)))

series958.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* x (* (* (cbrt (- 1.0 (* y z))) (cbrt (- 1.0 (* y z)))) (cbrt (- 1.0 (* y z)))))
235.0ms
(cbrt (- 1.0 (* y z)))
435.0ms
(cbrt (- 1.0 (* y z)))
236.0ms
(cbrt (- 1.0 (* y z)))

simplify92.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07992766
130422433
250022257

prune369.0ms

Filtered
214 candidates to 126 candidates (41.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2131214
Fresh033
Picked011
Done011
Total2136219

Merged error: 0b

Counts
219 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
2.6b
(* (cbrt x) (- (* y z)))
3.1b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
142×add-sqr-sqrt
115×associate-*r*
69×unswap-sqr
57×cbrt-prod associate-*l*
42×add-cbrt-cube
39×cbrt-unprod
34×add-cube-cbrt *-un-lft-identity
24×distribute-lft-neg-in distribute-rgt-neg-in
18×pow1 add-exp-log
12×swap-sqr
11×*-commutative
pow-prod-down prod-exp
add-log-exp
distribute-rgt-neg-out
neg-mul-1 pow1/3
Counts
4 → 198
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
11.0ms
(* (cbrt x) (- (* y z)))
40.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

series529.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(cbrt x)
175.0ms
(cbrt x)
120.0ms
(* (cbrt x) (- (* y z)))
50.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (- (* y z))))

simplify141.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (125.0ms)

IterNodesCost
07271829
143341445
250011357

prune352.0ms

Filtered
210 candidates to 143 candidates (31.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2082210
Fresh213
Picked011
Done022
Total2106216

Merged error: 0b

Counts
216 → 6

regimes196.0ms

Accuracy

88.9% (0.4b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04317
16117
26917
36917

end0.0ms

sample384.0ms

Algorithm
intervals
Results
192.0ms9621×body80valid