Metamath Proof Explorer


Theorem hashunsnggt

Description: The size of a set is greater than a nonnegative integer N if and only if the size of the union of that set with a disjoint singleton is greater than N + 1. (Contributed by BTernaryTau, 10-Sep-2023)

Ref Expression
Assertion hashunsnggt AVBWN0¬BAN<AN+1<AB

Proof

Step Hyp Ref Expression
1 nn0re N0N
2 1 rexrd N0N*
3 hashxrcl AVA*
4 1re 1
5 xltadd1 N*A*1N<AN+𝑒1<A+𝑒1
6 4 5 mp3an3 N*A*N<AN+𝑒1<A+𝑒1
7 2 3 6 syl2an N0AVN<AN+𝑒1<A+𝑒1
8 7 ancoms AVN0N<AN+𝑒1<A+𝑒1
9 rexadd N1N+𝑒1=N+1
10 4 9 mpan2 NN+𝑒1=N+1
11 1 10 syl N0N+𝑒1=N+1
12 11 adantl AVN0N+𝑒1=N+1
13 12 breq1d AVN0N+𝑒1<A+𝑒1N+1<A+𝑒1
14 8 13 bitrd AVN0N<AN+1<A+𝑒1
15 14 3adant2 AVBWN0N<AN+1<A+𝑒1
16 15 adantr AVBWN0¬BAN<AN+1<A+𝑒1
17 hashunsngx AVBW¬BAAB=A+𝑒1
18 17 3impia AVBW¬BAAB=A+𝑒1
19 18 eqcomd AVBW¬BAA+𝑒1=AB
20 19 3expa AVBW¬BAA+𝑒1=AB
21 20 3adantl3 AVBWN0¬BAA+𝑒1=AB
22 21 breq2d AVBWN0¬BAN+1<A+𝑒1N+1<AB
23 16 22 bitrd AVBWN0¬BAN<AN+1<AB