Details

Time bar (total: 3.4s)

sample23.0ms

Algorithm
intervals
Results
12.0ms328×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

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

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
3.2b
(* (/ x y) z)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*l*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r* associate-*l/ associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
6.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series89.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (+ x 4.0) y)
40.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
23.0ms
(* (/ x y) z)

simplify116.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune172.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New82688
Fresh000
Picked101
Done000
Total83689

Merged error: 0.0b

Counts
89 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (/ x y)) (cbrt (/ x y)))
10.4b
(cbrt (/ x y))
10.4b
(cbrt (/ x y))
10.4b
(cbrt (/ x y))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
103×cbrt-prod
81×add-sqr-sqrt
69×times-frac
57×add-cube-cbrt *-un-lft-identity
16×swap-sqr associate-*r* associate-*l*
11×pow1
pow1/3 unswap-sqr
cbrt-div div-inv
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 144
Calls
4 calls:
13.0ms
(* (cbrt (/ x y)) (cbrt (/ x y)))
2.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))
3.0ms
(cbrt (/ x y))

series264.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(* (cbrt (/ x y)) (cbrt (/ x y)))
59.0ms
(cbrt (/ x y))
61.0ms
(cbrt (/ x y))
63.0ms
(cbrt (/ x y))

simplify77.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 3 (64.0ms)

IterNodesCost
02601109
19021061
235251016
35001992

prune568.0ms

Filtered
156 candidates to 119 candidates (76.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh055
Picked011
Done000
Total1557162

Merged error: 0.0b

Counts
162 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* (cbrt (+ x 4.0)) (cbrt (+ x 4.0))) (/ y (cbrt (+ x 4.0))))
0.4b
(/ y (cbrt (+ x 4.0)))
0.7b
(* (cbrt (+ x 4.0)) (cbrt (+ x 4.0)))
3.2b
(* (/ x y) z)

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
100×times-frac
98×*-un-lft-identity
77×add-sqr-sqrt
64×cbrt-prod add-cube-cbrt
34×associate-/r*
30×cbrt-div
25×add-exp-log
20×associate-*l*
16×add-cbrt-cube distribute-lft-out
15×flip3-+ flip-+
13×pow1
10×associate-*r*
swap-sqr
cbrt-undiv frac-times div-exp associate-/l/
associate-/r/
pow1/3 unswap-sqr
associate-*l/ prod-exp cbrt-unprod div-inv
associate-*r/ associate-/l* add-log-exp
pow-prod-down
frac-2neg clear-num pow-sqr *-commutative pow-prod-up
pow2 pow-plus
Counts
4 → 212
Calls
4 calls:
21.0ms
(/ (* (cbrt (+ x 4.0)) (cbrt (+ x 4.0))) (/ y (cbrt (+ x 4.0))))
6.0ms
(/ y (cbrt (+ x 4.0)))
11.0ms
(* (cbrt (+ x 4.0)) (cbrt (+ x 4.0)))
6.0ms
(* (/ x y) z)

series286.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (* (cbrt (+ x 4.0)) (cbrt (+ x 4.0))) (/ y (cbrt (+ x 4.0))))
141.0ms
(/ y (cbrt (+ x 4.0)))
99.0ms
(* (cbrt (+ x 4.0)) (cbrt (+ x 4.0)))
20.0ms
(* (/ x y) z)

simplify110.0ms

Algorithm
egg-herbie
Counts
224 → 224
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
08491951
139791819
250021702

prune474.0ms

Filtered
224 candidates to 154 candidates (68.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2240224
Fresh055
Picked011
Done011
Total2247231

Merged error: 0.0b

Counts
231 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* x (/ z y)))
7.1b
(* x (/ z y))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
25×add-sqr-sqrt
22×times-frac
20×add-cube-cbrt
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
distribute-lft-out associate-/l*
associate-*r/ associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 79
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
7.0ms
(* x (/ z y))

series85.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (+ x 4.0) y)
43.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
18.0ms
(* x (/ z y))

simplify40.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25001403

prune140.0ms

Filtered
88 candidates to 60 candidates (68.2%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New87188
Fresh134
Picked011
Done022
Total88795

Merged error: 0b

Counts
95 → 7

regimes95.0ms

Accuracy

96.1% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 2.0b

bsearch81.0ms

Steps
ItersRangePoint
9
4.817027770006264e-07
0.820229799340741
5.551511623206233e-06
8
-0.1152406257888697
-0.00010711273713490883
-0.019110886264579654

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample592.0ms

Algorithm
intervals
Results
369.0ms10123×body80valid

Profiling

Loading profile data...