Details

Time bar (total: 5.2s)

sample29.0ms

Algorithm
intervals
Results
15.0ms256×body80valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03210
17110
218410
338110
468210
5110210
6212210
7433710
8500110

prune3.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: 26.5b

Counts
2 → 1

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) z)
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.8b
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l/
flip3-+ flip-+
frac-add
+-commutative flip3-- associate--l+ associate-/r/ flip-- associate-/l/
sub-neg frac-2neg div-sub clear-num *-commutative div-inv
Counts
4 → 24
Calls
4 calls:
3.0ms
(* (+ x y) z)
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
12.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

series806.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (+ x y) z)
103.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
54.0ms
(+ (* (+ x y) z) (* (+ t y) a))
628.0ms
(/ (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)) (+ (+ x t) y))

simplify48.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0334318
11383316
25003315

prune153.0ms

Filtered
36 candidates to 30 candidates (83.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New27936
Fresh000
Picked011
Done000
Total271037

Merged error: 9.1b

Counts
37 → 10

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.8b
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
associate-*l/
flip3-+ flip-+
frac-add clear-num associate-/l/
flip3-- frac-2neg associate-/r* flip-- div-inv
+-commutative associate--l+
sub-neg remove-double-div inv-pow
Counts
4 → 33
Calls
4 calls:
12.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
12.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

series865.0ms

Counts
4 → 12
Calls
4 calls:
606.0ms
(/ 1 (/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))
103.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
53.0ms
(+ (* (+ x y) z) (* (+ t y) a))
102.0ms
(/ (+ (+ x t) y) (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))

simplify47.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0354381
11478380
25002380

prune159.0ms

Filtered
45 candidates to 35 candidates (77.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New41445
Fresh268
Picked101
Done011
Total441155

Merged error: 4.2b

Counts
55 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.1b
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l/
flip3-+ flip-+
frac-times
clear-num
frac-2neg frac-add associate-/r/
flip3-- associate-*r/ associate-*r* flip--
+-commutative associate--l+ un-div-inv div-inv
sub-neg *-commutative inv-pow
Counts
4 → 36
Calls
4 calls:
9.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
12.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series306.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
97.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
50.0ms
(+ (* (+ x y) z) (* (+ t y) a))
96.0ms
(* (+ (+ x t) y) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify52.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0361429
11634429
25002429

prune161.0ms

Filtered
48 candidates to 35 candidates (72.9%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New46248
Fresh279
Picked011
Done011
Total481159

Merged error: 4.2b

Counts
59 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
1.7b
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
2.5b
(+ (* (+ x y) z) (* (+ t y) a))
24.2b
(/ (/ 1 (+ (+ x t) y)) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
21×associate-/r/
10×div-inv
flip3-+ times-frac flip-+
associate-*l/
flip3-- flip--
frac-2neg frac-add clear-num
associate-/r* associate-/l/ associate-/l*
+-commutative associate--l+
sub-neg inv-pow
Counts
4 → 43
Calls
4 calls:
9.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
9.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
7.0ms
(+ (* (+ x y) z) (* (+ t y) a))
13.0ms
(/ (/ 1 (+ (+ x t) y)) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

series802.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b)))
100.0ms
(- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))
52.0ms
(+ (* (+ x y) z) (* (+ t y) a))
593.0ms
(/ (/ 1 (+ (+ x t) y)) (/ 1 (- (+ (* (+ x y) z) (* (+ t y) a)) (* y b))))

simplify61.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0436683
12041663
25002662

prune170.0ms

Filtered
55 candidates to 41 candidates (74.5%)
Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New54155
Fresh088
Picked011
Done022
Total541266

Merged error: 4.2b

Counts
66 → 12

regimes587.0ms

Accuracy

86.3% (3.0b remaining)

Error of 7.7b against oracle of 4.7b and baseline of 26.5b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03632
13632

end0.0ms

sample630.0ms

Algorithm
intervals
Results
367.0ms7999×body80valid
0.0msbody320valid