Details

Time bar (total: 1.7s)

sample15.0ms

Algorithm
intervals
Results
6.0ms350×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1233
2383
3473
4473

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.1b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

0.1b
(* x (- 1.0 (* x y)))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- *-commutative flip--
Counts
1 → 7
Calls
1 calls:
3.0ms
(* x (- 1.0 (* x y)))

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(* x (- 1.0 (* x y)))

simplify100.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
05939
115639
258736
3230436
4500236

prune18.0ms

Filtered
10 candidates to 4 candidates (40.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New7310
Fresh000
Picked101
Done000
Total8311

Merged error: 0.1b

Counts
11 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* x (- (* x y))))
0.1b
(* x (- (* x y)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r*
distribute-lft-neg-in distribute-rgt-neg-out
distribute-rgt-out distribute-rgt-neg-in
+-commutative neg-mul-1 flip3-+ unsub-neg flip-+ distribute-lft-out
Counts
2 → 15
Calls
2 calls:
5.0ms
(+ (* x 1.0) (* x (- (* x y))))
4.0ms
(* x (- (* x y)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ (* x 1.0) (* x (- (* x y))))
21.0ms
(* x (- (* x y)))

simplify138.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
09471
141464
2283160
3500160

prune31.0ms

Filtered
21 candidates to 12 candidates (57.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New20121
Fresh022
Picked011
Done000
Total20424

Merged error: 0.0b

Counts
24 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 1.0) (* (* x y) (* x y)))
0.3b
(* x (- (* 1.0 1.0) (* (* x y) (* x y))))
0.3b
(* (* x y) (* x y))
6.4b
(/ (* x (- (* 1.0 1.0) (* (* x y) (* x y)))) (+ 1.0 (* x y)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
19×*-commutative
12×difference-of-squares
10×associate-*r*
associate-/l*
associate-*r/
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in swap-sqr associate-*l* associate-/r/ associate-/l/
pow2 frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
4 → 40
Calls
4 calls:
6.0ms
(- (* 1.0 1.0) (* (* x y) (* x y)))
8.0ms
(* x (- (* 1.0 1.0) (* (* x y) (* x y))))
4.0ms
(* (* x y) (* x y))
14.0ms
(/ (* x (- (* 1.0 1.0) (* (* x y) (* x y)))) (+ 1.0 (* x y)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* 1.0 1.0) (* (* x y) (* x y)))
70.0ms
(* x (- (* 1.0 1.0) (* (* x y) (* x y))))
31.0ms
(* (* x y) (* x y))
88.0ms
(/ (* x (- (* 1.0 1.0) (* (* x y) (* x y)))) (+ 1.0 (* x y)))

simplify197.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 3 (190.0ms)

IterNodesCost
0178264
1681255
23955231
35001228

prune86.0ms

Filtered
52 candidates to 31 candidates (59.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh112
Picked011
Done101
Total50656

Merged error: 0b

Counts
56 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ 1.0 (* x y)) (- 1.0 (* x y)))
0.0b
(/ (* x (+ 1.0 (* x y))) (/ (+ 1.0 (* x y)) (- 1.0 (* x y))))
0.1b
(* x (+ 1.0 (* x y)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-/r/
times-frac associate-/l/
*-commutative div-inv
flip3-- flip3-+ associate-*r/ flip-- flip-+
frac-2neg clear-num associate-/r*
+-commutative distribute-rgt-in distribute-lft-in associate-/l*
Counts
3 → 35
Calls
3 calls:
4.0ms
(/ (+ 1.0 (* x y)) (- 1.0 (* x y)))
8.0ms
(/ (* x (+ 1.0 (* x y))) (/ (+ 1.0 (* x y)) (- 1.0 (* x y))))
6.0ms
(* x (+ 1.0 (* x y)))

series133.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(/ (+ 1.0 (* x y)) (- 1.0 (* x y)))
43.0ms
(/ (* x (+ 1.0 (* x y))) (/ (+ 1.0 (* x y)) (- 1.0 (* x y))))
36.0ms
(* x (+ 1.0 (* x y)))

simplify34.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0220282
1839246
25001231

prune82.0ms

Filtered
44 candidates to 31 candidates (70.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New44044
Fresh044
Picked011
Done011
Total44650

Merged error: 0b

Counts
50 → 6

regimes39.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms

sample373.0ms

Algorithm
intervals
Results
198.0ms10680×body80valid