Details

Time bar (total: 1.9s)

sample16.0ms

Algorithm
intervals
Results
6.0ms310×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1243
2463
3713
4793
5793

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

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

1.5b
(* x (- 1.0 (* y z)))

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 (* y z)))

series49.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
10 → 10
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
05936
115834
244134
3129634
4384134
5500234

prune16.0ms

Filtered
10 candidates to 5 candidates (50.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310
Fresh000
Picked011
Done000
Total7411

Merged error: 1.5b

Counts
11 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.3b
(* (* y z) (* y z))
5.1b
(* x (- (* 1.0 1.0) (* (* y z) (* y z))))
6.9b
(/ (* x (- (* 1.0 1.0) (* (* y z) (* y z)))) (+ 1.0 (* y z)))

rewrite23.0ms

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

series236.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* (* y z) (* y z))
98.0ms
(* x (- (* 1.0 1.0) (* (* y z) (* y z))))
109.0ms
(/ (* x (- (* 1.0 1.0) (* (* y z) (* y z)))) (+ 1.0 (* y z)))

simplify167.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (163.0ms)

IterNodesCost
0170199
1650195
23810171
35002168

prune81.0ms

Filtered
41 candidates to 24 candidates (58.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New35641
Fresh112
Picked101
Done011
Total37845

Merged error: 1.5b

Counts
45 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 1 (- 1.0 (* y z)))
1.5b
(/ x (/ 1 (- 1.0 (* y z))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg clear-num associate-/r* div-inv
flip3-- flip--
inv-pow
Counts
2 → 15
Calls
2 calls:
3.0ms
(/ 1 (- 1.0 (* y z)))
3.0ms
(/ x (/ 1 (- 1.0 (* y z))))

series90.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(/ 1 (- 1.0 (* y z)))
49.0ms
(/ x (/ 1 (- 1.0 (* y z))))

simplify166.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
013191
158286
2399283
3500183

prune45.0ms

Filtered
21 candidates to 14 candidates (66.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New19221
Fresh336
Picked011
Done011
Total22729

Merged error: 1.5b

Counts
29 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1 (- 1.0 (* y z)))
0.2b
(/ 1 (/ (/ 1 (- 1.0 (* y z))) x))
1.5b
(/ (/ 1 (- 1.0 (* y z))) x)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-/r/
clear-num associate-/l/
div-inv associate-/l*
frac-2neg
remove-double-div
flip3-- flip--
inv-pow
associate-/r*
Counts
3 → 33
Calls
3 calls:
3.0ms
(/ 1 (- 1.0 (* y z)))
5.0ms
(/ 1 (/ (/ 1 (- 1.0 (* y z))) x))
4.0ms
(/ (/ 1 (- 1.0 (* y z))) x)

series119.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(/ 1 (- 1.0 (* y z)))
33.0ms
(/ 1 (/ (/ 1 (- 1.0 (* y z))) x))
43.0ms
(/ (/ 1 (- 1.0 (* y z))) x)

simplify35.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0192163
1804154
25001150

prune75.0ms

Filtered
42 candidates to 29 candidates (69.0%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New40242
Fresh134
Picked011
Done022
Total41849

Merged error: 1.5b

Counts
49 → 8

regimes147.0ms

Accuracy

0% (0.1b remaining)

Error of 3.3b against oracle of 3.2b and baseline of 3.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample410.0ms

Algorithm
intervals
Results
196.0ms9572×body80valid