Details

Time bar (total: 2.5s)

sample29.0ms

Algorithm
intervals
Results
8.0ms264×body80valid
7.0ms251×body80nan

simplify124.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0247
1657
21827
33387
44887
57577
611667
717297
827937
950017

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

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ 1.0 (* x 9.0)))
0.2b
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.3b
(/ 1.0 (* x 9.0))
0.3b
(* 3.0 (sqrt x))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in distribute-lft-in associate--l+ *-commutative
+-commutative
sub-neg associate-*r/ associate-*l* associate-/r*
flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv
Counts
4 → 22
Calls
4 calls:
3.0ms
(+ y (/ 1.0 (* x 9.0)))
6.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
3.0ms
(/ 1.0 (* x 9.0))
2.0ms
(* 3.0 (sqrt x))

series148.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
64.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
16.0ms
(/ 1.0 (* x 9.0))
42.0ms
(* 3.0 (sqrt x))

simplify91.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0250206
1745191
23056183
35001183

prune71.0ms

Filtered
34 candidates to 23 candidates (67.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New28634
Fresh000
Picked011
Done000
Total28735

Merged error: 0.1b

Counts
35 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ 1.0 (* x 9.0)))
0.3b
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
0.3b
(/ 1.0 (* x 9.0))
0.3b
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×distribute-rgt-in distribute-lft-in
12×associate--l+
+-commutative
sub-neg associate-*r/
*-commutative
flip3-- associate-*r* associate-/r* flip--
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
4 → 40
Calls
4 calls:
3.0ms
(+ y (/ 1.0 (* x 9.0)))
5.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
3.0ms
(/ 1.0 (* x 9.0))
7.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (/ 1.0 (* x 9.0)))
56.0ms
(* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
19.0ms
(/ 1.0 (* x 9.0))
63.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 1.0 (* x 9.0))) 1.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0244351
1639339
22310333
35001333

prune83.0ms

Filtered
52 candidates to 27 candidates (51.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New49352
Fresh235
Picked011
Done011
Total51859

Merged error: 0.1b

Counts
59 → 8

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ 0.1111111111111111 x))
0.3b
(* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0))
0.3b
(* 3.0 (* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
20×distribute-rgt-in distribute-lft-in
12×associate--l+
+-commutative
sub-neg associate-*r/
*-commutative
flip3-- associate-*r* flip--
flip3-+ flip-+
Counts
3 → 35
Calls
3 calls:
3.0ms
(+ y (/ 0.1111111111111111 x))
5.0ms
(* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0))
7.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0)))

series150.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ y (/ 0.1111111111111111 x))
60.0ms
(* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0))
62.0ms
(* 3.0 (* (sqrt x) (- (+ y (/ 0.1111111111111111 x)) 1.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0230302
1558287
22264281
35001275

prune72.0ms

Filtered
44 candidates to 21 candidates (47.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh055
Picked101
Done112
Total44852

Merged error: 0.1b

Counts
52 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (* 3.0 0.1111111111111111) (pow x 1/2)) (* 3.0 (* (- y 1.0) (sqrt x))))
0.1b
(* (- y 1.0) (sqrt x))
0.3b
(/ (* 3.0 0.1111111111111111) (pow x 1/2))
0.3b
(* 3.0 (* (- y 1.0) (sqrt x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l/
14×associate-*r/
12×frac-add
flip3-- flip--
*-commutative
associate-/l*
sqr-pow
frac-2neg clear-num associate-/r*
times-frac associate-*r*
+-commutative flip3-+ flip-+ div-inv
Counts
4 → 31
Calls
4 calls:
9.0ms
(+ (/ (* 3.0 0.1111111111111111) (pow x 1/2)) (* 3.0 (* (- y 1.0) (sqrt x))))
3.0ms
(* (- y 1.0) (sqrt x))
3.0ms
(/ (* 3.0 0.1111111111111111) (pow x 1/2))
4.0ms
(* 3.0 (* (- y 1.0) (sqrt x)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (/ (* 3.0 0.1111111111111111) (pow x 1/2)) (* 3.0 (* (- y 1.0) (sqrt x))))
47.0ms
(* (- y 1.0) (sqrt x))
39.0ms
(/ (* 3.0 0.1111111111111111) (pow x 1/2))
53.0ms
(* 3.0 (* (- y 1.0) (sqrt x)))

simplify74.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
0518455
12454422
25002422

prune144.0ms

Filtered
43 candidates to 39 candidates (90.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New38543
Fresh066
Picked101
Done101
Total401151

Merged error: 0.1b

Counts
51 → 11

regimes85.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0167
1167

end0.0ms

sample780.0ms

Algorithm
intervals
Results
259.0ms8553×body80valid
249.0ms8453×body80nan