MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  frgrwopreg Structured version   Visualization version   GIF version

Theorem frgrwopreg 30924
Description: In a friendship graph there are either no vertices (𝐴 = ∅) or exactly one vertex ((♯‘𝐴) = 1) having degree 𝐾, or all (𝐵 = ∅) or all except one vertices ((♯‘𝐵) = 1) have degree 𝐾. (Contributed by Alexander van der Vekens, 31-Dec-2017.) (Revised by AV, 10-May-2021.) (Proof shortened by AV, 3-Jan-2022.)
Hypotheses
Ref Expression
frgrwopreg.v 𝑉 = (Vtx‘𝐺)
frgrwopreg.d 𝐷 = (VtxDeg‘𝐺)
frgrwopreg.a 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
frgrwopreg.b 𝐵 = (𝑉 ∖ 𝐴)
Assertion
Ref Expression
frgrwopreg (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
Distinct variable groups:   𝑥,𝑉   𝑥,𝐴   𝑥,𝐺   𝑥,𝐾   𝑥,𝐷   𝑥,𝐵

Proof of Theorem frgrwopreg
Dummy variables 𝑎 𝑏 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 frgrwopreg.v . . 3 𝑉 = (Vtx‘𝐺)
2 frgrwopreg.d . . 3 𝐷 = (VtxDeg‘𝐺)
3 frgrwopreg.a . . 3 𝐴 = {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾}
4 frgrwopreg.b . . 3 𝐵 = (𝑉 ∖ 𝐴)
51, 2, 3, 4frgrwopreglem1 30913 . 2 (𝐴 ∈ V ∧ 𝐵 ∈ V)
6 hashv01gt1 14489 . . . 4 (𝐴 ∈ V → ((♯‘𝐴) = 0 ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)))
7 hasheq0 14507 . . . . . 6 (𝐴 ∈ V → ((♯‘𝐴) = 0 ↔ 𝐴 = ∅))
8 biidd 265 . . . . . 6 (𝐴 ∈ V → ((♯‘𝐴) = 1 ↔ (♯‘𝐴) = 1))
9 biidd 265 . . . . . 6 (𝐴 ∈ V → (1 < (♯‘𝐴) ↔ 1 < (♯‘𝐴)))
107, 8, 93orbi123d 1463 . . . . 5 (𝐴 ∈ V → (((♯‘𝐴) = 0 ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) ↔ (𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴))))
11 hashv01gt1 14489 . . . . . . 7 (𝐵 ∈ V → ((♯‘𝐵) = 0 ∨ (♯‘𝐵) = 1 ∨ 1 < (♯‘𝐵)))
12 hasheq0 14507 . . . . . . . . 9 (𝐵 ∈ V → ((♯‘𝐵) = 0 ↔ 𝐵 = ∅))
13 biidd 265 . . . . . . . . 9 (𝐵 ∈ V → ((♯‘𝐵) = 1 ↔ (♯‘𝐵) = 1))
14 biidd 265 . . . . . . . . 9 (𝐵 ∈ V → (1 < (♯‘𝐵) ↔ 1 < (♯‘𝐵)))
1512, 13, 143orbi123d 1463 . . . . . . . 8 (𝐵 ∈ V → (((♯‘𝐵) = 0 ∨ (♯‘𝐵) = 1 ∨ 1 < (♯‘𝐵)) ↔ (𝐵 = ∅ ∨ (♯‘𝐵) = 1 ∨ 1 < (♯‘𝐵))))
16 olc 882 . . . . . . . . . . 11 (𝐵 = ∅ → ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))
1716olcd 888 . . . . . . . . . 10 (𝐵 = ∅ → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
18172a1d 27 . . . . . . . . 9 (𝐵 = ∅ → ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
19 orc 881 . . . . . . . . . . 11 ((♯‘𝐵) = 1 → ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))
2019olcd 888 . . . . . . . . . 10 ((♯‘𝐵) = 1 → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
21202a1d 27 . . . . . . . . 9 ((♯‘𝐵) = 1 → ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
22 olc 882 . . . . . . . . . . . . 13 (𝐴 = ∅ → ((♯‘𝐴) = 1 ∨ 𝐴 = ∅))
2322orcd 887 . . . . . . . . . . . 12 (𝐴 = ∅ → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
24232a1d 27 . . . . . . . . . . 11 (𝐴 = ∅ → (1 < (♯‘𝐵) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
25 orc 881 . . . . . . . . . . . . 13 ((♯‘𝐴) = 1 → ((♯‘𝐴) = 1 ∨ 𝐴 = ∅))
2625orcd 887 . . . . . . . . . . . 12 ((♯‘𝐴) = 1 → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
27262a1d 27 . . . . . . . . . . 11 ((♯‘𝐴) = 1 → (1 < (♯‘𝐵) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
28 eqid 2760 . . . . . . . . . . . . . . 15 (Edg‘𝐺) = (Edg‘𝐺)
291, 2, 3, 4, 28frgrwopreglem5 30922 . . . . . . . . . . . . . 14 ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → ∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))))
30 frgrusgr 30862 . . . . . . . . . . . . . . . 16 (𝐺 ∈ FriendGraph → 𝐺 ∈ USGraph)
31 simplll 787 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝐺 ∈ USGraph)
32 elrabi 3640 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑎 ∈ {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾} → 𝑎 ∈ 𝑉)
3332, 3eleq2s 2878 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑎 ∈ 𝐴 → 𝑎 ∈ 𝑉)
3433adantr 486 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → 𝑎 ∈ 𝑉)
3534ad3antlr 744 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝑎 ∈ 𝑉)
36 rabidim1 3433 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑥 ∈ {𝑥 ∈ 𝑉 ∣ (𝐷‘𝑥) = 𝐾} → 𝑥 ∈ 𝑉)
3736, 3eleq2s 2878 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝑉)
3837adantl 487 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ 𝑉)
3938ad3antlr 744 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝑥 ∈ 𝑉)
40 simprl 783 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝑎 ≠ 𝑥)
41 eldifi 4067 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑏 ∈ (𝑉 ∖ 𝐴) → 𝑏 ∈ 𝑉)
4241, 4eleq2s 2878 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑏 ∈ 𝐵 → 𝑏 ∈ 𝑉)
4342adantr 486 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → 𝑏 ∈ 𝑉)
4443ad2antlr 740 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝑏 ∈ 𝑉)
45 eldifi 4067 . . . . . . . . . . . . . . . . . . . . . . . . . 26 (𝑦 ∈ (𝑉 ∖ 𝐴) → 𝑦 ∈ 𝑉)
4645, 4eleq2s 2878 . . . . . . . . . . . . . . . . . . . . . . . . 25 (𝑦 ∈ 𝐵 → 𝑦 ∈ 𝑉)
4746adantl 487 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵) → 𝑦 ∈ 𝑉)
4847ad2antlr 740 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝑦 ∈ 𝑉)
49 simprr 785 . . . . . . . . . . . . . . . . . . . . . . 23 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → 𝑏 ≠ 𝑦)
501, 284cyclusnfrgr 30893 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝑉 ∧ 𝑥 ∈ 𝑉 ∧ 𝑎 ≠ 𝑥) ∧ (𝑏 ∈ 𝑉 ∧ 𝑦 ∈ 𝑉 ∧ 𝑏 ≠ 𝑦)) → ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → 𝐺 ∉ FriendGraph ))
5131, 35, 39, 40, 44, 48, 49, 50syl133anc 1420 . . . . . . . . . . . . . . . . . . . . . 22 ((((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) ∧ (𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦)) → ((({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → 𝐺 ∉ FriendGraph ))
5251exp4b 436 . . . . . . . . . . . . . . . . . . . . 21 (((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) → (({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) → (({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺)) → 𝐺 ∉ FriendGraph ))))
53523impd 1367 . . . . . . . . . . . . . . . . . . . 20 (((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → 𝐺 ∉ FriendGraph ))
54 df-nel 3062 . . . . . . . . . . . . . . . . . . . . 21 (𝐺 ∉ FriendGraph ↔ ¬ 𝐺 ∈ FriendGraph )
55 pm2.21 124 . . . . . . . . . . . . . . . . . . . . 21 (¬ 𝐺 ∈ FriendGraph → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))
5654, 55sylbi 220 . . . . . . . . . . . . . . . . . . . 20 (𝐺 ∉ FriendGraph → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))
5753, 56syl6 36 . . . . . . . . . . . . . . . . . . 19 (((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) ∧ (𝑏 ∈ 𝐵 ∧ 𝑦 ∈ 𝐵)) → (((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
5857rexlimdvva 3219 . . . . . . . . . . . . . . . . . 18 ((𝐺 ∈ USGraph ∧ (𝑎 ∈ 𝐴 ∧ 𝑥 ∈ 𝐴)) → (∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
5958rexlimdvva 3219 . . . . . . . . . . . . . . . . 17 (𝐺 ∈ USGraph → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6059com23 87 . . . . . . . . . . . . . . . 16 (𝐺 ∈ USGraph → (𝐺 ∈ FriendGraph → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6130, 60mpcom 39 . . . . . . . . . . . . . . 15 (𝐺 ∈ FriendGraph → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))
62613ad2ant1 1151 . . . . . . . . . . . . . 14 ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → (∃𝑎 ∈ 𝐴 ∃𝑥 ∈ 𝐴 ∃𝑏 ∈ 𝐵 ∃𝑦 ∈ 𝐵 ((𝑎 ≠ 𝑥 ∧ 𝑏 ≠ 𝑦) ∧ ({𝑎, 𝑏} ∈ (Edg‘𝐺) ∧ {𝑏, 𝑥} ∈ (Edg‘𝐺)) ∧ ({𝑥, 𝑦} ∈ (Edg‘𝐺) ∧ {𝑦, 𝑎} ∈ (Edg‘𝐺))) → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))
6329, 62mpd 16 . . . . . . . . . . . . 13 ((𝐺 ∈ FriendGraph ∧ 1 < (♯‘𝐴) ∧ 1 < (♯‘𝐵)) → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
64633exp 1137 . . . . . . . . . . . 12 (𝐺 ∈ FriendGraph → (1 < (♯‘𝐴) → (1 < (♯‘𝐵) → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6564com3l 90 . . . . . . . . . . 11 (1 < (♯‘𝐴) → (1 < (♯‘𝐵) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6624, 27, 653jaoi 1454 . . . . . . . . . 10 ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (1 < (♯‘𝐵) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6766com12 33 . . . . . . . . 9 (1 < (♯‘𝐵) → ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6818, 21, 673jaoi 1454 . . . . . . . 8 ((𝐵 = ∅ ∨ (♯‘𝐵) = 1 ∨ 1 < (♯‘𝐵)) → ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
6915, 68biimtrdi 256 . . . . . . 7 (𝐵 ∈ V → (((♯‘𝐵) = 0 ∨ (♯‘𝐵) = 1 ∨ 1 < (♯‘𝐵)) → ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))))
7011, 69mpd 16 . . . . . 6 (𝐵 ∈ V → ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
7170com12 33 . . . . 5 ((𝐴 = ∅ ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐵 ∈ V → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
7210, 71biimtrdi 256 . . . 4 (𝐴 ∈ V → (((♯‘𝐴) = 0 ∨ (♯‘𝐴) = 1 ∨ 1 < (♯‘𝐴)) → (𝐵 ∈ V → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))))
736, 72mpd 16 . . 3 (𝐴 ∈ V → (𝐵 ∈ V → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))))
7473imp 412 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅))))
755, 74ax-mp 5 1 (𝐺 ∈ FriendGraph → (((♯‘𝐴) = 1 ∨ 𝐴 = ∅) ∨ ((♯‘𝐵) = 1 ∨ 𝐵 = ∅)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   ∨ w3o 1102   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955   ∉ wnel 3061  ∃wrex 3086  {crab 3412  Vcvv 3450   ∖ cdif 4045  ∅c0 4278  {cpr 4585   class class class wbr 5102  ‘cfv 6538  0cc0 11200  1c1 11201   < clt 11343  ♯chash 14474  Vtxcvtx 29574  Edgcedg 29625  USGraphcusgr 29730  VtxDegcvtxdg 30046   FriendGraph cfrgr 30859
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-2o 8477  df-oadd 8480  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-dju 9982  df-card 10020  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-nn 12336  df-2 12405  df-n0 12607  df-xnn0 12680  df-z 12694  df-uz 12966  df-xadd 13242  df-fz 13640  df-hash 14475  df-edg 29626  df-uhgr 29636  df-ushgr 29637  df-upgr 29660  df-umgr 29661  df-uspgr 29731  df-usgr 29732  df-nbgr 29914  df-vtxdg 30047  df-frgr 30860
This theorem is used by:  frgrregorufr0  30925
  Copyright terms: Public domain W3C validator