MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  hashtpg Structured version   Unicode version

Theorem hashtpg 11683
Description: The size of an unordered triple of three different elements. (Contributed by Alexander van der Vekens, 10-Nov-2017.)
Assertion
Ref Expression
hashtpg  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  (
( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  <->  ( # `  { A ,  B ,  C } )  =  3 ) )

Proof of Theorem hashtpg
StepHypRef Expression
1 simpl3 962 . . . . . 6  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  C  e.  _V )
2 prfi 7373 . . . . . . 7  |-  { A ,  B }  e.  Fin
32a1i 11 . . . . . 6  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  { A ,  B }  e.  Fin )
4 elprg 3823 . . . . . . . . . . . . . . . 16  |-  ( C  e.  _V  ->  ( C  e.  { A ,  B }  <->  ( C  =  A  \/  C  =  B ) ) )
5 orcom 377 . . . . . . . . . . . . . . . . 17  |-  ( ( C  =  A  \/  C  =  B )  <->  ( C  =  B  \/  C  =  A )
)
6 nne 2602 . . . . . . . . . . . . . . . . . . . 20  |-  ( -.  B  =/=  C  <->  B  =  C )
7 eqcom 2437 . . . . . . . . . . . . . . . . . . . 20  |-  ( B  =  C  <->  C  =  B )
86, 7bitri 241 . . . . . . . . . . . . . . . . . . 19  |-  ( -.  B  =/=  C  <->  C  =  B )
98bicomi 194 . . . . . . . . . . . . . . . . . 18  |-  ( C  =  B  <->  -.  B  =/=  C )
10 nne 2602 . . . . . . . . . . . . . . . . . . 19  |-  ( -.  C  =/=  A  <->  C  =  A )
1110bicomi 194 . . . . . . . . . . . . . . . . . 18  |-  ( C  =  A  <->  -.  C  =/=  A )
129, 11orbi12i 508 . . . . . . . . . . . . . . . . 17  |-  ( ( C  =  B  \/  C  =  A )  <->  ( -.  B  =/=  C  \/  -.  C  =/=  A
) )
135, 12bitri 241 . . . . . . . . . . . . . . . 16  |-  ( ( C  =  A  \/  C  =  B )  <->  ( -.  B  =/=  C  \/  -.  C  =/=  A
) )
144, 13syl6bb 253 . . . . . . . . . . . . . . 15  |-  ( C  e.  _V  ->  ( C  e.  { A ,  B }  <->  ( -.  B  =/=  C  \/  -.  C  =/=  A ) ) )
1514biimpd 199 . . . . . . . . . . . . . 14  |-  ( C  e.  _V  ->  ( C  e.  { A ,  B }  ->  ( -.  B  =/=  C  \/  -.  C  =/=  A
) ) )
16153ad2ant3 980 . . . . . . . . . . . . 13  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( C  e.  { A ,  B }  ->  ( -.  B  =/=  C  \/  -.  C  =/=  A
) ) )
1716imp 419 . . . . . . . . . . . 12  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  C  e.  { A ,  B } )  -> 
( -.  B  =/= 
C  \/  -.  C  =/=  A ) )
1817olcd 383 . . . . . . . . . . 11  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  C  e.  { A ,  B } )  -> 
( -.  A  =/= 
B  \/  ( -.  B  =/=  C  \/  -.  C  =/=  A
) ) )
1918ex 424 . . . . . . . . . 10  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( C  e.  { A ,  B }  ->  ( -.  A  =/=  B  \/  ( -.  B  =/= 
C  \/  -.  C  =/=  A ) ) ) )
20 3orass 939 . . . . . . . . . 10  |-  ( ( -.  A  =/=  B  \/  -.  B  =/=  C  \/  -.  C  =/=  A
)  <->  ( -.  A  =/=  B  \/  ( -.  B  =/=  C  \/  -.  C  =/=  A
) ) )
2119, 20syl6ibr 219 . . . . . . . . 9  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( C  e.  { A ,  B }  ->  ( -.  A  =/=  B  \/  -.  B  =/=  C  \/  -.  C  =/=  A
) ) )
22 3ianor 951 . . . . . . . . 9  |-  ( -.  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  <->  ( -.  A  =/=  B  \/  -.  B  =/=  C  \/  -.  C  =/=  A ) )
2321, 22syl6ibr 219 . . . . . . . 8  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( C  e.  { A ,  B }  ->  -.  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) ) )
2423con2d 109 . . . . . . 7  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  (
( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  ->  -.  C  e.  { A ,  B } ) )
2524imp 419 . . . . . 6  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  -.  C  e.  { A ,  B } )
26 hashunsng 11657 . . . . . . 7  |-  ( C  e.  _V  ->  (
( { A ,  B }  e.  Fin  /\ 
-.  C  e.  { A ,  B }
)  ->  ( # `  ( { A ,  B }  u.  { C } ) )  =  ( (
# `  { A ,  B } )  +  1 ) ) )
2726imp 419 . . . . . 6  |-  ( ( C  e.  _V  /\  ( { A ,  B }  e.  Fin  /\  -.  C  e.  { A ,  B } ) )  ->  ( # `  ( { A ,  B }  u.  { C } ) )  =  ( (
# `  { A ,  B } )  +  1 ) )
281, 3, 25, 27syl12anc 1182 . . . . 5  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  ( # `
 ( { A ,  B }  u.  { C } ) )  =  ( ( # `  { A ,  B }
)  +  1 ) )
29 simpr1 963 . . . . . . 7  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  A  =/=  B )
30 3simpa 954 . . . . . . . . 9  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( A  e.  _V  /\  B  e.  _V ) )
3130adantr 452 . . . . . . . 8  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  ( A  e.  _V  /\  B  e.  _V ) )
32 hashprg 11658 . . . . . . . 8  |-  ( ( A  e.  _V  /\  B  e.  _V )  ->  ( A  =/=  B  <->  (
# `  { A ,  B } )  =  2 ) )
3331, 32syl 16 . . . . . . 7  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  ( A  =/=  B  <->  ( # `  { A ,  B }
)  =  2 ) )
3429, 33mpbid 202 . . . . . 6  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  ( # `
 { A ,  B } )  =  2 )
3534oveq1d 6088 . . . . 5  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  (
( # `  { A ,  B } )  +  1 )  =  ( 2  +  1 ) )
3628, 35eqtrd 2467 . . . 4  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  ( # `
 ( { A ,  B }  u.  { C } ) )  =  ( 2  +  1 ) )
37 df-tp 3814 . . . . 5  |-  { A ,  B ,  C }  =  ( { A ,  B }  u.  { C } )
3837fveq2i 5723 . . . 4  |-  ( # `  { A ,  B ,  C } )  =  ( # `  ( { A ,  B }  u.  { C } ) )
39 df-3 10051 . . . 4  |-  3  =  ( 2  +  1 )
4036, 38, 393eqtr4g 2492 . . 3  |-  ( ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  /\  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) )  ->  ( # `
 { A ,  B ,  C }
)  =  3 )
4140ex 424 . 2  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  (
( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  ->  ( # `  { A ,  B ,  C } )  =  3 ) )
42 nne 2602 . . . . . . 7  |-  ( -.  A  =/=  B  <->  A  =  B )
43 hashprlei 11678 . . . . . . . . . 10  |-  ( { B ,  C }  e.  Fin  /\  ( # `  { B ,  C } )  <_  2
)
44 prfi 7373 . . . . . . . . . . . . . . 15  |-  { B ,  C }  e.  Fin
45 hashcl 11631 . . . . . . . . . . . . . . . 16  |-  ( { B ,  C }  e.  Fin  ->  ( # `  { B ,  C }
)  e.  NN0 )
4645nn0zd 10365 . . . . . . . . . . . . . . 15  |-  ( { B ,  C }  e.  Fin  ->  ( # `  { B ,  C }
)  e.  ZZ )
4744, 46ax-mp 8 . . . . . . . . . . . . . 14  |-  ( # `  { B ,  C } )  e.  ZZ
48 2z 10304 . . . . . . . . . . . . . 14  |-  2  e.  ZZ
49 zleltp1 10318 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  { B ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { B ,  C }
)  <_  2  <->  ( # `  { B ,  C }
)  <  ( 2  +  1 ) ) )
50 2p1e3 10095 . . . . . . . . . . . . . . . . . 18  |-  ( 2  +  1 )  =  3
5150a1i 11 . . . . . . . . . . . . . . . . 17  |-  ( ( ( # `  { B ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( 2  +  1 )  =  3 )
5251breq2d 4216 . . . . . . . . . . . . . . . 16  |-  ( ( ( # `  { B ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { B ,  C }
)  <  ( 2  +  1 )  <->  ( # `  { B ,  C }
)  <  3 ) )
5352biimpd 199 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  { B ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { B ,  C }
)  <  ( 2  +  1 )  -> 
( # `  { B ,  C } )  <  3 ) )
5449, 53sylbid 207 . . . . . . . . . . . . . 14  |-  ( ( ( # `  { B ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { B ,  C }
)  <_  2  ->  (
# `  { B ,  C } )  <  3 ) )
5547, 48, 54mp2an 654 . . . . . . . . . . . . 13  |-  ( (
# `  { B ,  C } )  <_ 
2  ->  ( # `  { B ,  C }
)  <  3 )
5645nn0red 10267 . . . . . . . . . . . . . . 15  |-  ( { B ,  C }  e.  Fin  ->  ( # `  { B ,  C }
)  e.  RR )
5744, 56ax-mp 8 . . . . . . . . . . . . . 14  |-  ( # `  { B ,  C } )  e.  RR
58 3re 10063 . . . . . . . . . . . . . 14  |-  3  e.  RR
5957, 58ltnei 9189 . . . . . . . . . . . . 13  |-  ( (
# `  { B ,  C } )  <  3  ->  3  =/=  ( # `  { B ,  C } ) )
6055, 59syl 16 . . . . . . . . . . . 12  |-  ( (
# `  { B ,  C } )  <_ 
2  ->  3  =/=  ( # `  { B ,  C } ) )
6160necomd 2681 . . . . . . . . . . 11  |-  ( (
# `  { B ,  C } )  <_ 
2  ->  ( # `  { B ,  C }
)  =/=  3 )
6261adantl 453 . . . . . . . . . 10  |-  ( ( { B ,  C }  e.  Fin  /\  ( # `
 { B ,  C } )  <_  2
)  ->  ( # `  { B ,  C }
)  =/=  3 )
6343, 62ax-mp 8 . . . . . . . . 9  |-  ( # `  { B ,  C } )  =/=  3
6463a1i 11 . . . . . . . 8  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `
 { B ,  C } )  =/=  3
)
65 tpeq1 3884 . . . . . . . . . . 11  |-  ( A  =  B  ->  { A ,  B ,  C }  =  { B ,  B ,  C } )
66 tpidm12 3897 . . . . . . . . . . 11  |-  { B ,  B ,  C }  =  { B ,  C }
6765, 66syl6req 2484 . . . . . . . . . 10  |-  ( A  =  B  ->  { B ,  C }  =  { A ,  B ,  C } )
6867fveq2d 5724 . . . . . . . . 9  |-  ( A  =  B  ->  ( # `
 { B ,  C } )  =  (
# `  { A ,  B ,  C }
) )
6968neeq1d 2611 . . . . . . . 8  |-  ( A  =  B  ->  (
( # `  { B ,  C } )  =/=  3  <->  ( # `  { A ,  B ,  C } )  =/=  3
) )
7064, 69syl5ib 211 . . . . . . 7  |-  ( A  =  B  ->  (
( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
7142, 70sylbi 188 . . . . . 6  |-  ( -.  A  =/=  B  -> 
( ( A  e. 
_V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
72 hashprlei 11678 . . . . . . . . . 10  |-  ( { A ,  C }  e.  Fin  /\  ( # `  { A ,  C } )  <_  2
)
73 prfi 7373 . . . . . . . . . . . . . . 15  |-  { A ,  C }  e.  Fin
74 hashcl 11631 . . . . . . . . . . . . . . . 16  |-  ( { A ,  C }  e.  Fin  ->  ( # `  { A ,  C }
)  e.  NN0 )
7574nn0zd 10365 . . . . . . . . . . . . . . 15  |-  ( { A ,  C }  e.  Fin  ->  ( # `  { A ,  C }
)  e.  ZZ )
7673, 75ax-mp 8 . . . . . . . . . . . . . 14  |-  ( # `  { A ,  C } )  e.  ZZ
77 zleltp1 10318 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  { A ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  C }
)  <_  2  <->  ( # `  { A ,  C }
)  <  ( 2  +  1 ) ) )
7850a1i 11 . . . . . . . . . . . . . . . . 17  |-  ( ( ( # `  { A ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( 2  +  1 )  =  3 )
7978breq2d 4216 . . . . . . . . . . . . . . . 16  |-  ( ( ( # `  { A ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  C }
)  <  ( 2  +  1 )  <->  ( # `  { A ,  C }
)  <  3 ) )
8079biimpd 199 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  { A ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  C }
)  <  ( 2  +  1 )  -> 
( # `  { A ,  C } )  <  3 ) )
8177, 80sylbid 207 . . . . . . . . . . . . . 14  |-  ( ( ( # `  { A ,  C }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  C }
)  <_  2  ->  (
# `  { A ,  C } )  <  3 ) )
8276, 48, 81mp2an 654 . . . . . . . . . . . . 13  |-  ( (
# `  { A ,  C } )  <_ 
2  ->  ( # `  { A ,  C }
)  <  3 )
8374nn0red 10267 . . . . . . . . . . . . . . 15  |-  ( { A ,  C }  e.  Fin  ->  ( # `  { A ,  C }
)  e.  RR )
8473, 83ax-mp 8 . . . . . . . . . . . . . 14  |-  ( # `  { A ,  C } )  e.  RR
8584, 58ltnei 9189 . . . . . . . . . . . . 13  |-  ( (
# `  { A ,  C } )  <  3  ->  3  =/=  ( # `  { A ,  C } ) )
8682, 85syl 16 . . . . . . . . . . . 12  |-  ( (
# `  { A ,  C } )  <_ 
2  ->  3  =/=  ( # `  { A ,  C } ) )
8786necomd 2681 . . . . . . . . . . 11  |-  ( (
# `  { A ,  C } )  <_ 
2  ->  ( # `  { A ,  C }
)  =/=  3 )
8887adantl 453 . . . . . . . . . 10  |-  ( ( { A ,  C }  e.  Fin  /\  ( # `
 { A ,  C } )  <_  2
)  ->  ( # `  { A ,  C }
)  =/=  3 )
8972, 88ax-mp 8 . . . . . . . . 9  |-  ( # `  { A ,  C } )  =/=  3
9089a1i 11 . . . . . . . 8  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `
 { A ,  C } )  =/=  3
)
91 tpeq2 3885 . . . . . . . . . . 11  |-  ( B  =  C  ->  { A ,  B ,  C }  =  { A ,  C ,  C } )
92 tpidm23 3899 . . . . . . . . . . 11  |-  { A ,  C ,  C }  =  { A ,  C }
9391, 92syl6req 2484 . . . . . . . . . 10  |-  ( B  =  C  ->  { A ,  C }  =  { A ,  B ,  C } )
9493fveq2d 5724 . . . . . . . . 9  |-  ( B  =  C  ->  ( # `
 { A ,  C } )  =  (
# `  { A ,  B ,  C }
) )
9594neeq1d 2611 . . . . . . . 8  |-  ( B  =  C  ->  (
( # `  { A ,  C } )  =/=  3  <->  ( # `  { A ,  B ,  C } )  =/=  3
) )
9690, 95syl5ib 211 . . . . . . 7  |-  ( B  =  C  ->  (
( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
976, 96sylbi 188 . . . . . 6  |-  ( -.  B  =/=  C  -> 
( ( A  e. 
_V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
98 hashprlei 11678 . . . . . . . . . 10  |-  ( { A ,  B }  e.  Fin  /\  ( # `  { A ,  B } )  <_  2
)
99 hashcl 11631 . . . . . . . . . . . . . . . 16  |-  ( { A ,  B }  e.  Fin  ->  ( # `  { A ,  B }
)  e.  NN0 )
10099nn0zd 10365 . . . . . . . . . . . . . . 15  |-  ( { A ,  B }  e.  Fin  ->  ( # `  { A ,  B }
)  e.  ZZ )
1012, 100ax-mp 8 . . . . . . . . . . . . . 14  |-  ( # `  { A ,  B } )  e.  ZZ
102 zleltp1 10318 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  { A ,  B }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  B }
)  <_  2  <->  ( # `  { A ,  B }
)  <  ( 2  +  1 ) ) )
10350a1i 11 . . . . . . . . . . . . . . . . 17  |-  ( ( ( # `  { A ,  B }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( 2  +  1 )  =  3 )
104103breq2d 4216 . . . . . . . . . . . . . . . 16  |-  ( ( ( # `  { A ,  B }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  B }
)  <  ( 2  +  1 )  <->  ( # `  { A ,  B }
)  <  3 ) )
105104biimpd 199 . . . . . . . . . . . . . . 15  |-  ( ( ( # `  { A ,  B }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  B }
)  <  ( 2  +  1 )  -> 
( # `  { A ,  B } )  <  3 ) )
106102, 105sylbid 207 . . . . . . . . . . . . . 14  |-  ( ( ( # `  { A ,  B }
)  e.  ZZ  /\  2  e.  ZZ )  ->  ( ( # `  { A ,  B }
)  <_  2  ->  (
# `  { A ,  B } )  <  3 ) )
107101, 48, 106mp2an 654 . . . . . . . . . . . . 13  |-  ( (
# `  { A ,  B } )  <_ 
2  ->  ( # `  { A ,  B }
)  <  3 )
10899nn0red 10267 . . . . . . . . . . . . . . 15  |-  ( { A ,  B }  e.  Fin  ->  ( # `  { A ,  B }
)  e.  RR )
1092, 108ax-mp 8 . . . . . . . . . . . . . 14  |-  ( # `  { A ,  B } )  e.  RR
110109, 58ltnei 9189 . . . . . . . . . . . . 13  |-  ( (
# `  { A ,  B } )  <  3  ->  3  =/=  ( # `  { A ,  B } ) )
111107, 110syl 16 . . . . . . . . . . . 12  |-  ( (
# `  { A ,  B } )  <_ 
2  ->  3  =/=  ( # `  { A ,  B } ) )
112111necomd 2681 . . . . . . . . . . 11  |-  ( (
# `  { A ,  B } )  <_ 
2  ->  ( # `  { A ,  B }
)  =/=  3 )
113112adantl 453 . . . . . . . . . 10  |-  ( ( { A ,  B }  e.  Fin  /\  ( # `
 { A ,  B } )  <_  2
)  ->  ( # `  { A ,  B }
)  =/=  3 )
11498, 113ax-mp 8 . . . . . . . . 9  |-  ( # `  { A ,  B } )  =/=  3
115114a1i 11 . . . . . . . 8  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `
 { A ,  B } )  =/=  3
)
116 tpeq3 3886 . . . . . . . . . . 11  |-  ( C  =  A  ->  { A ,  B ,  C }  =  { A ,  B ,  A } )
117 tpidm13 3898 . . . . . . . . . . 11  |-  { A ,  B ,  A }  =  { A ,  B }
118116, 117syl6req 2484 . . . . . . . . . 10  |-  ( C  =  A  ->  { A ,  B }  =  { A ,  B ,  C } )
119118fveq2d 5724 . . . . . . . . 9  |-  ( C  =  A  ->  ( # `
 { A ,  B } )  =  (
# `  { A ,  B ,  C }
) )
120119neeq1d 2611 . . . . . . . 8  |-  ( C  =  A  ->  (
( # `  { A ,  B } )  =/=  3  <->  ( # `  { A ,  B ,  C } )  =/=  3
) )
121115, 120syl5ib 211 . . . . . . 7  |-  ( C  =  A  ->  (
( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
12210, 121sylbi 188 . . . . . 6  |-  ( -.  C  =/=  A  -> 
( ( A  e. 
_V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
12371, 97, 1223jaoi 1247 . . . . 5  |-  ( ( -.  A  =/=  B  \/  -.  B  =/=  C  \/  -.  C  =/=  A
)  ->  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e. 
_V )  ->  ( # `
 { A ,  B ,  C }
)  =/=  3 ) )
12422, 123sylbi 188 . . . 4  |-  ( -.  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  ->  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e. 
_V )  ->  ( # `
 { A ,  B ,  C }
)  =/=  3 ) )
125124com12 29 . . 3  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  ( -.  ( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  ->  ( # `  { A ,  B ,  C } )  =/=  3
) )
126125necon4bd 2660 . 2  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  (
( # `  { A ,  B ,  C }
)  =  3  -> 
( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
) ) )
12741, 126impbid 184 1  |-  ( ( A  e.  _V  /\  B  e.  _V  /\  C  e.  _V )  ->  (
( A  =/=  B  /\  B  =/=  C  /\  C  =/=  A
)  <->  ( # `  { A ,  B ,  C } )  =  3 ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 177    \/ wo 358    /\ wa 359    \/ w3o 935    /\ w3a 936    = wceq 1652    e. wcel 1725    =/= wne 2598   _Vcvv 2948    u. cun 3310   {csn 3806   {cpr 3807   {ctp 3808   class class class wbr 4204   ` cfv 5446  (class class class)co 6073   Fincfn 7101   RRcr 8981   1c1 8983    + caddc 8985    < clt 9112    <_ cle 9113   2c2 10041   3c3 10042   ZZcz 10274   #chash 11610
This theorem is referenced by:  constr3lem2  21625
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-rep 4312  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-cnex 9038  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058  ax-pre-mulgt0 9059
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rmo 2705  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-int 4043  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-riota 6541  df-recs 6625  df-rdg 6660  df-1o 6716  df-oadd 6720  df-er 6897  df-en 7102  df-dom 7103  df-sdom 7104  df-fin 7105  df-card 7818  df-cda 8040  df-pnf 9114  df-mnf 9115  df-xr 9116  df-ltxr 9117  df-le 9118  df-sub 9285  df-neg 9286  df-nn 9993  df-2 10050  df-3 10051  df-n0 10214  df-z 10275  df-uz 10481  df-fz 11036  df-hash 11611
  Copyright terms: Public domain W3C validator