Details

Time bar (total: 3.4s)

sample24.0ms

Algorithm
intervals
Results
13.0ms336×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1296
2386
3456
4516
5546
6546

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.5b

localize8.0ms

Local error

Found 3 expressions with local error:

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

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

series97.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
27.0ms
(/ (+ x 4.0) y)
26.0ms
(* (/ x y) z)

simplify124.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune190.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-sqr-sqrt
16×times-frac
14×add-cube-cbrt
10×add-exp-log add-cbrt-cube
associate-/r*
associate-/l* add-log-exp
div-inv distribute-lft-out
pow1 cbrt-undiv div-exp
frac-2neg clear-num associate-/l/ difference-of-squares
sub-neg flip3-- distribute-rgt-out-- flip3-+ diff-log prod-exp frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out-- sub-div
Counts
3 → 72
Calls
3 calls:
29.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
11.0ms
(/ (+ x 4.0) y)
3.0ms
(/ (* x z) y)

series91.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (/ (+ x 4.0) y) (/ (* x z) y))
30.0ms
(/ (+ x 4.0) y)
19.0ms
(/ (* x z) y)

simplify34.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0300420
11150393
25001393

prune179.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (/ x y)) (cbrt (/ x y)))
10.0b
(cbrt (/ x y))
10.0b
(cbrt (/ x y))
10.0b
(cbrt (/ x y))

rewrite28.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:
17.0ms
(* (cbrt (/ x y)) (cbrt (/ x y)))
1.0ms
(cbrt (/ x y))
1.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))

series280.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(* (cbrt (/ x y)) (cbrt (/ x y)))
65.0ms
(cbrt (/ x y))
59.0ms
(cbrt (/ x y))
68.0ms
(cbrt (/ x y))

simplify72.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
02601109
19021061
235251016
35001992

prune497.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

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

series694.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(cbrt y)
305.0ms
(cbrt y)
182.0ms
(cbrt y)
27.0ms
(* (/ x y) z)

simplify53.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0186245
1643221
22420214
35001211

prune211.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes82.0ms

Accuracy

36.1% (2.3b remaining)

Error of 2.4b against oracle of 0.0b and baseline of 3.7b

bsearch33.0ms

Steps
ItersRangePoint
7
5.8390711275170506e+144
4.673469084827294e+146
8.04631218254802e+144

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02012
12012

end0.0ms

sample498.0ms

Algorithm
intervals
Results
299.0ms10051×body80valid