Details

Time bar (total: 2.1s)

sample28.0ms

Algorithm
intervals
Results
12.0ms326×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune3.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: 1.4b

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))
2.1b
(* (/ x y) z)

rewrite22.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:
5.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
6.0ms
(* (/ x y) z)

series22.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (+ x 4.0) y)
13.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
5.0ms
(* (/ x y) z)

simplify110.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24964394
35001394

prune121.0ms

Filtered
88 candidates to 63 candidates (28.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New83588
Fresh000
Picked011
Done000
Total83689

Merged error: 0.0b

Counts
89 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
1.8b
(* (/ x y) (* (cbrt z) (cbrt z)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log
21×add-cbrt-cube
18×pow1 add-sqr-sqrt
17×prod-exp cbrt-unprod
15×add-cube-cbrt *-un-lft-identity
14×associate-*l*
10×times-frac
cbrt-prod pow-prod-down
associate-*r*
cbrt-undiv div-exp add-log-exp
associate-*l/
pow1/3 *-commutative unswap-sqr
div-inv
Counts
4 → 86
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
14.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
9.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt z)
22.0ms
(cbrt z)
9.0ms
(* (* (/ x y) (* (cbrt z) (cbrt z))) (cbrt z))
27.0ms
(* (/ x y) (* (cbrt z) (cbrt z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0387654
11443528
25002467

prune108.0ms

Filtered
98 candidates to 64 candidates (34.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh044
Picked101
Done011
Total986104

Merged error: 0b

Counts
104 → 6

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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)
8.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
7.0ms
(* x (/ z y))

series18.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (+ x 4.0) y)
9.0ms
(- (/ (+ x 4.0) y) (* x (/ z y)))
5.0ms
(* x (/ z y))

simplify41.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25002403

prune99.0ms

Filtered
88 candidates to 61 candidates (30.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh044
Picked011
Done011
Total88694

Merged error: 0b

Counts
94 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(* (/ (* x (* (cbrt z) (cbrt z))) y) (cbrt z))
4.2b
(/ (* x (* (cbrt z) (cbrt z))) y)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log
19×add-cbrt-cube
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
10×cbrt-prod prod-exp cbrt-unprod
associate-*l*
pow1 cbrt-undiv times-frac div-exp associate-*r*
add-log-exp
associate-/r*
pow1/3 div-inv unswap-sqr
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative associate-/l*
Counts
4 → 78
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
11.0ms
(* (/ (* x (* (cbrt z) (cbrt z))) y) (cbrt z))
9.0ms
(/ (* x (* (cbrt z) (cbrt z))) y)

series81.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt z)
22.0ms
(cbrt z)
8.0ms
(* (/ (* x (* (cbrt z) (cbrt z))) y) (cbrt z))
30.0ms
(/ (* x (* (cbrt z) (cbrt z))) y)

simplify43.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0361628
11619527
25001463

prune88.0ms

Filtered
90 candidates to 64 candidates (28.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh033
Picked011
Done022
Total90696

Merged error: 0b

Counts
96 → 6

regimes309.0ms

Accuracy

92.5% (0.1b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02622
12622

end0.0ms

sample714.0ms

Algorithm
intervals
Results
391.0ms10170×body80valid

Profiling

Loading profile data...