Details

Time bar (total: 2.6s)

sample31.0ms

Algorithm
intervals
Results
10.0ms264×body80valid
9.0ms251×body80nan

simplify106.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0247
1657
21907
34127
46447
510837
616287
722737
837237
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

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

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

series139.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ 1.0 (* x 9.0)))
62.0ms
(* (* 3.0 (sqrt x)) (- (+ y (/ 1.0 (* x 9.0))) 1.0))
15.0ms
(/ 1.0 (* x 9.0))
36.0ms
(* 3.0 (sqrt x))

simplify85.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0262206
1785187
23401179
35001179

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

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

series161.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0252351
1665335
22538329
35001329

prune103.0ms

Filtered
52 candidates to 27 candidates (51.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New48452
Fresh325
Picked011
Done011
Total51859

Merged error: 0.1b

Counts
59 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series162.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0262355
1649338
22651332
35002332

prune88.0ms

Filtered
54 candidates to 27 candidates (50.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New53154
Fresh055
Picked101
Done022
Total54862

Merged error: 0.1b

Counts
62 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
16×associate-*l/
associate-*r/ associate-/l/
frac-2neg clear-num div-inv
associate-*r* *-commutative
associate-/l*
associate-*l*
flip3-- flip--
Counts
4 → 32
Calls
4 calls:
5.0ms
(* 3.0 (* (/ (/ 1.0 9.0) x) (sqrt x)))
4.0ms
(* 3.0 (* (- y 1.0) (sqrt x)))
3.0ms
(/ (/ 1.0 9.0) x)
5.0ms
(* (/ (/ 1.0 9.0) x) (sqrt x))

series169.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* 3.0 (* (/ (/ 1.0 9.0) x) (sqrt x)))
51.0ms
(* 3.0 (* (- y 1.0) (sqrt x)))
16.0ms
(/ (/ 1.0 9.0) x)
52.0ms
(* (/ (/ 1.0 9.0) x) (sqrt x))

simplify96.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0224174
1692146
23662133
35001133

prune117.0ms

Filtered
44 candidates to 37 candidates (84.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New41344
Fresh145
Picked101
Done022
Total43952

Merged error: 0.1b

Counts
52 → 9

regimes98.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
01910
11910

end0.0ms

sample950.0ms

Algorithm
intervals
Results
340.0ms8553×body80valid
317.0ms8453×body80nan