Details

Time bar (total: 2.5s)

sample21.0ms

Algorithm
intervals
Results
11.0ms321×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: 3.1b

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

series100.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0341425
11212395
24964394
35001394

prune194.0ms

Filtered
88 candidates to 63 candidates (71.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New81788
Fresh000
Picked101
Done000
Total82789

Merged error: 0.0b

Counts
89 → 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)))
5.0b
(* 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)))
6.0ms
(* x (/ z y))

series93.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0349430
11432403
25002403

prune158.0ms

Filtered
88 candidates to 60 candidates (68.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh156
Picked011
Done000
Total88795

Merged error: 0b

Counts
95 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (+ x 4.0))
0.0b
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
0.1b
(/ 1 (/ y (+ x 4.0)))
4.1b
(* (/ x y) z)

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
124×times-frac
104×*-un-lft-identity
77×add-sqr-sqrt
72×add-cube-cbrt
22×add-exp-log associate-/r*
16×add-cbrt-cube distribute-lft-out
13×associate-*l*
11×associate-/r/
div-exp
pow1 div-inv
associate-/l* add-log-exp
cbrt-undiv flip3-+ flip-+
associate-*r*
rec-exp frac-2neg 1-exp associate-*l/ prod-exp clear-num cbrt-unprod unswap-sqr
sub-neg flip3-- pow-flip diff-log pow-prod-down *-commutative frac-sub flip-- inv-pow
Counts
4 → 174
Calls
4 calls:
5.0ms
(/ y (+ x 4.0))
19.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
8.0ms
(/ 1 (/ y (+ x 4.0)))
6.0ms
(* (/ x y) z)

series123.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ y (+ x 4.0))
46.0ms
(- (/ 1 (/ y (+ x 4.0))) (* (/ x y) z))
24.0ms
(/ 1 (/ y (+ x 4.0)))
21.0ms
(* (/ x y) z)

simplify75.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06411178
13132951
25002945

prune260.0ms

Filtered
186 candidates to 102 candidates (54.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1860186
Fresh055
Picked011
Done011
Total1867193

Merged error: 0b

Counts
193 → 7

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log *-un-lft-identity
21×times-frac
19×add-sqr-sqrt add-cube-cbrt
17×add-cbrt-cube
13×associate-*r*
12×prod-exp
pow1
cbrt-unprod
div-exp add-log-exp
distribute-lft-out associate-/l*
cbrt-undiv associate-*r/ pow-prod-down associate-/r* un-div-inv div-inv
rec-exp 1-exp frac-sub associate-/l/ sub-div
sub-neg flip3-- distribute-rgt-out-- frac-2neg flip3-+ diff-log associate-*l* clear-num *-commutative flip-- flip-+
Counts
3 → 88
Calls
3 calls:
5.0ms
(/ (+ x 4.0) y)
8.0ms
(- (/ (+ x 4.0) y) (* (* x z) (/ 1 y)))
7.0ms
(* (* x z) (/ 1 y))

series91.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ (+ x 4.0) y)
46.0ms
(- (/ (+ x 4.0) y) (* (* x z) (/ 1 y)))
19.0ms
(* (* x z) (/ 1 y))

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0437507
11944451
25002436

prune219.0ms

Filtered
97 candidates to 59 candidates (60.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done022
Total977104

Merged error: 0b

Counts
104 → 7

regimes120.0ms

Accuracy

82.1% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 3.2b

bsearch83.0ms

Steps
ItersRangePoint
7
2.694557876108422e-82
5.524894959350777e-81
3.2817262128457574e-81
9
-1.600485552366975e+128
-1.1777052919027953e+122
-1.3589800915338266e+122

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03113
13113

end0.0ms

sample550.0ms

Algorithm
intervals
Results
348.0ms10033×body80valid

Profiling

Loading profile data...