Description: Two possibly-empty 1-based finite sets of sequential integers are equal iff their endpoints are equal. (Contributed by Paul Chapman, 22-Jun-2011) (Proof shortened by Mario Carneiro, 29-Mar-2014)
Ref | Expression | ||
---|---|---|---|
Assertion | fz1eqb |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | fveq2 | ||
2 | hashfz1 | ||
3 | hashfz1 | ||
4 | 2 3 | eqeqan12d | |
5 | 1 4 | syl5ib | |
6 | oveq2 | ||
7 | 5 6 | impbid1 |