Details

Time bar (total: 1.8s)

sample18.0ms

Algorithm
intervals
Results
8.0ms274×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

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

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.9b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
4.3b
(* y (+ 1.0 (* z z)))

rewrite9.0ms

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

series113.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
57.0ms
(* y (+ 1.0 (* z z)))

simplify60.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0147110
1457109
21950108
35001108

prune61.0ms

Filtered
26 candidates to 19 candidates (73.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New21526
Fresh000
Picked011
Done000
Total21627

Merged error: 4.8b

Counts
27 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (/ 1.0 y) x)
5.6b
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-/l/
frac-2neg clear-num div-inv
associate-/l*
associate-/r/
flip3-+ flip-+
Counts
2 → 20
Calls
2 calls:
3.0ms
(/ (/ 1.0 y) x)
6.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

series77.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(/ (/ 1.0 y) x)
55.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

simplify61.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
013098
143395
2212394
3500194

prune49.0ms

Filtered
26 candidates to 16 candidates (61.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New24226
Fresh134
Picked101
Done011
Total26632

Merged error: 4.8b

Counts
32 → 6

localize9.0ms

Local error

Found 3 expressions with local error:

0.4b
(/ 1 (* x y))
0.6b
(/ 1.0 (+ 1.0 (* z z)))
5.5b
(* (/ 1.0 (+ 1.0 (* z z))) (/ 1 (* x y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
15×frac-times
13×clear-num
12×frac-2neg
10×associate-/r*
*-commutative
associate-*r/
associate-/r/ div-inv
associate-*l* associate-*l/
flip3-+ un-div-inv flip-+
associate-*r* inv-pow
Counts
3 → 41
Calls
3 calls:
3.0ms
(/ 1 (* x y))
3.0ms
(/ 1.0 (+ 1.0 (* z z)))
7.0ms
(* (/ 1.0 (+ 1.0 (* z z))) (/ 1 (* x y)))

series115.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(/ 1 (* x y))
41.0ms
(/ 1.0 (+ 1.0 (* z z)))
62.0ms
(* (/ 1.0 (+ 1.0 (* z z))) (/ 1 (* x y)))

simplify53.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0273216
11369206
25001206

prune105.0ms

Filtered
50 candidates to 36 candidates (72.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New48250
Fresh224
Picked011
Done011
Total50656

Merged error: 4.8b

Counts
56 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.6b
(/ 1.0 (+ 1.0 (* z z)))
3.0b
(/ (/ (/ 1.0 (+ 1.0 (* z z))) x) y)
3.7b
(/ (/ 1.0 (+ 1.0 (* z z))) x)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-/l/
associate-/l*
frac-2neg clear-num associate-/r/ div-inv
flip3-+ flip-+
Counts
3 → 27
Calls
3 calls:
6.0ms
(/ 1.0 (+ 1.0 (* z z)))
14.0ms
(/ (/ (/ 1.0 (+ 1.0 (* z z))) x) y)
4.0ms
(/ (/ 1.0 (+ 1.0 (* z z))) x)

series163.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(/ 1.0 (+ 1.0 (* z z)))
63.0ms
(/ (/ (/ 1.0 (+ 1.0 (* z z))) x) y)
59.0ms
(/ (/ 1.0 (+ 1.0 (* z z))) x)

simplify170.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0248194
1830183
24728175
35001175

prune82.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New36036
Fresh033
Picked011
Done022
Total36642

Merged error: 4.8b

Counts
42 → 6

regimes177.0ms

Accuracy

0% (1.8b remaining)

Error of 6.6b against oracle of 4.8b and baseline of 6.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0166
1166

end0.0ms

sample435.0ms

Algorithm
intervals
Results
246.0ms8629×body80valid