Details

Time bar (total: 1.8s)

sample21.0ms

Algorithm
intervals
Results
10.0ms311×body80valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0113
1223
2443
3703
41003
51173
64203
729763
850013

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- y z))
9.3b
(/ (* x (- y z)) y)

rewrite9.0ms

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

series98.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(* x (- y z))
54.0ms
(/ (* x (- y z)) y)

simplify105.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 4 (44.0ms)

IterNodesCost
08852
119352
244452
3122652
4380451
5500151

prune37.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New16420
Fresh000
Picked101
Done000
Total17421

Merged error: 0.0b

Counts
21 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- y z))
2.0b
(/ x (/ y (- y z)))

rewrite7.0ms

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

series105.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(/ y (- y z))
53.0ms
(/ x (/ y (- y z)))

simplify102.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
06548
117748
254147
3305445
4500145

prune40.0ms

Filtered
20 candidates to 14 candidates (70.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New18220
Fresh123
Picked011
Done000
Total19524

Merged error: 0b

Counts
24 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (- y z))
0.2b
(/ 1 (/ (/ y (- y z)) x))
2.0b
(/ (/ y (- y z)) x)

rewrite14.0ms

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

series169.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ y (- y z))
52.0ms
(/ 1 (/ (/ y (- y z)) x))
71.0ms
(/ (/ y (- y z)) x)

simplify43.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 3 (39.0ms)

IterNodesCost
010187
126085
293379
3500177

prune85.0ms

Filtered
39 candidates to 26 candidates (66.7%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New38139
Fresh123
Picked011
Done011
Total39544

Merged error: 0b

Counts
44 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) y)
2.2b
(* (/ (- y z) y) x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
associate-*l/
associate-/l/
flip3-- frac-2neg clear-num flip-- div-inv
div-sub associate-*l* *-commutative
Counts
2 → 13
Calls
2 calls:
4.0ms
(/ (- y z) y)
5.0ms
(* (/ (- y z) y) x)

series86.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (- y z) y)
46.0ms
(* (/ (- y z) y) x)

simplify112.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
08542
125742
297842
3485741
4500141

prune32.0ms

Filtered
19 candidates to 12 candidates (63.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New19019
Fresh022
Picked011
Done022
Total19524

Merged error: 0b

Counts
24 → 5

regimes84.0ms

Accuracy

36.1% (1.9b remaining)

Error of 2.0b against oracle of 0.0b and baseline of 3.0b

bsearch73.0ms

Steps
ItersRangePoint
10
5.595930565227217e-159
9.171469164165722e-149
1.0773769838071787e-151
9
-1.006330366555798e-157
-4.298861498226091e-165
-9.889742029970665e-158

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1196

end0.0ms

sample416.0ms

Algorithm
intervals
Results
218.0ms9575×body80valid