Details

Time bar (total: 2.4s)

sample20.0ms

Algorithm
intervals
Results
9.0ms323×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.5b

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)

series90.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0341425
11212395
24978394
35002394

prune176.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

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*l*
11×associate-*r/
10×add-cube-cbrt times-frac frac-add
add-exp-log add-cbrt-cube
frac-times flip3-- associate-*r* flip--
un-div-inv
pow1 distribute-rgt-in sub-neg associate-+l+ distribute-lft-in add-log-exp
associate-*l/
prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down sum-log *-commutative flip-+ div-inv distribute-lft-out--
Counts
2 → 68
Calls
2 calls:
9.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
9.0ms
(* (/ x y) (- 1 z))

series83.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(+ (* (/ x y) (- 1 z)) (* 4.0 (/ 1 y)))
42.0ms
(* (/ x y) (- 1 z))

simplify48.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0416496
11863440
25001435

prune142.0ms

Filtered
74 candidates to 50 candidates (67.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh055
Picked011
Done000
Total73780

Merged error: 0.0b

Counts
80 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)
4.1b
(* (/ x y) z)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
39×associate-*l*
30×times-frac
29×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
10×pow1
associate-*r*
prod-exp cbrt-unprod unswap-sqr
associate-*l/
cbrt-div add-log-exp
cbrt-undiv cbrt-prod div-exp pow-prod-down *-commutative div-inv
flip3-- pow1/3 frac-sub flip-- sub-div
Counts
4 → 111
Calls
4 calls:
8.0ms
(cbrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
6.0ms
(* (/ x y) z)
6.0ms
(* (/ x y) z)
6.0ms
(* (/ x y) z)

series211.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(cbrt (- (/ (+ x 4.0) y) (* (/ x y) z)))
24.0ms
(* (/ x y) z)
20.0ms
(* (/ x y) z)
20.0ms
(* (/ x y) z)

simplify44.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0359640
11216593
25002583

prune320.0ms

Filtered
123 candidates to 91 candidates (74.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh055
Picked011
Done011
Total1237130

Merged error: 0.0b

Counts
130 → 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.5b
(* x (/ z y))

rewrite23.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))

series89.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(/ (+ x 4.0) y)
45.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

prune172.0ms

Filtered
88 candidates to 61 candidates (69.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh134
Picked011
Done112
Total89695

Merged error: 0.0b

Counts
95 → 6

regimes147.0ms

Accuracy

88.2% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 2.7b

bsearch52.0ms

Steps
ItersRangePoint
3
5.094789947490101e-76
6.385300322813217e-76
6.062262515983192e-76
9
-9.104669698408525e+86
-1.782244725936423e+81
-7.344677228311482e+84

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample548.0ms

Algorithm
intervals
Results
323.0ms10155×body80valid