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

Theorem lfuhgr3 29737
Description: A hypergraph is loop-free if and only if none of its edges connect to only one vertex. (Contributed by BTernaryTau, 15-Oct-2023.)
Hypotheses
Ref Expression
lfuhgr3.1 𝑉 = (Vtx‘𝐺)
lfuhgr3.2 𝐼 = (iEdg‘𝐺)
Assertion
Ref Expression
lfuhgr3 (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ¬ ∃𝑎{𝑎} ∈ (Edg‘𝐺)))
Distinct variable groups:   𝑥,𝑉   𝑥,𝐺,𝑎
Allowed substitution hints:   𝐼(𝑥, 𝑎)   𝑉(𝑎)

Proof of Theorem lfuhgr3
StepHypRef Expression
1 lfuhgr3.1 . . 3 𝑉 = (Vtx‘𝐺)
2 lfuhgr3.2 . . 3 𝐼 = (iEdg‘𝐺)
31, 2lfuhgr2 29736 . 2 (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1))
4 df-ne 2956 . . . . 5 ((♯‘𝑥) ≠ 1 ↔ ¬ (♯‘𝑥) = 1)
54ralbii 3108 . . . 4 (∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1 ↔ ∀𝑥 ∈ (Edg‘𝐺) ¬ (♯‘𝑥) = 1)
6 ralnex 3088 . . . 4 (∀𝑥 ∈ (Edg‘𝐺) ¬ (♯‘𝑥) = 1 ↔ ¬ ∃𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) = 1)
7 df-rex 3087 . . . . 5 (∃𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) = 1 ↔ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) = 1))
87notbii 323 . . . 4 (¬ ∃𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) = 1 ↔ ¬ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) = 1))
95, 6, 83bitri 300 . . 3 (∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1 ↔ ¬ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) = 1))
10 hashen1 14521 . . . . . . . 8 (𝑥 ∈ V → ((♯‘𝑥) = 1 ↔ 𝑥 ≈ 1o))
1110elv 3455 . . . . . . 7 ((♯‘𝑥) = 1 ↔ 𝑥 ≈ 1o)
12 en1 9059 . . . . . . 7 (𝑥 ≈ 1o ↔ ∃𝑎 𝑥 = {𝑎})
1311, 12bitri 278 . . . . . 6 ((♯‘𝑥) = 1 ↔ ∃𝑎 𝑥 = {𝑎})
1413anbi2i 635 . . . . 5 ((𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) = 1) ↔ (𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
1514exbii 1880 . . . 4 (∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) = 1) ↔ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
1615notbii 323 . . 3 (¬ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ (♯‘𝑥) = 1) ↔ ¬ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
17 19.3v 2014 . . . . . . . 8 (∀𝑎 𝑥 ∈ (Edg‘𝐺) ↔ 𝑥 ∈ (Edg‘𝐺))
18 19.29 1905 . . . . . . . 8 ((∀𝑎 𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) → ∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
1917, 18sylanbr 594 . . . . . . 7 ((𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) → ∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
20 eleq1 2848 . . . . . . . . 9 (𝑥 = {𝑎} → (𝑥 ∈ (Edg‘𝐺) ↔ {𝑎} ∈ (Edg‘𝐺)))
2120biimpac 484 . . . . . . . 8 ((𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}) → {𝑎} ∈ (Edg‘𝐺))
2221eximi 1867 . . . . . . 7 (∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}) → ∃𝑎{𝑎} ∈ (Edg‘𝐺))
2319, 22syl 18 . . . . . 6 ((𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) → ∃𝑎{𝑎} ∈ (Edg‘𝐺))
2423exlimiv 1962 . . . . 5 (∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) → ∃𝑎{𝑎} ∈ (Edg‘𝐺))
25 dfclel 2836 . . . . . . . 8 ({𝑎} ∈ (Edg‘𝐺) ↔ ∃𝑥(𝑥 = {𝑎} ∧ 𝑥 ∈ (Edg‘𝐺)))
26 pm3.22 465 . . . . . . . . 9 ((𝑥 = {𝑎} ∧ 𝑥 ∈ (Edg‘𝐺)) → (𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
2726eximi 1867 . . . . . . . 8 (∃𝑥(𝑥 = {𝑎} ∧ 𝑥 ∈ (Edg‘𝐺)) → ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
2825, 27sylbi 220 . . . . . . 7 ({𝑎} ∈ (Edg‘𝐺) → ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
2928eximi 1867 . . . . . 6 (∃𝑎{𝑎} ∈ (Edg‘𝐺) → ∃𝑎∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
30 excomim 2199 . . . . . 6 (∃𝑎∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}) → ∃𝑥∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}))
31 19.40 1918 . . . . . . . 8 (∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}) → (∃𝑎 𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
32 ax5e 1944 . . . . . . . . 9 (∃𝑎 𝑥 ∈ (Edg‘𝐺) → 𝑥 ∈ (Edg‘𝐺))
3332anim1i 627 . . . . . . . 8 ((∃𝑎 𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) → (𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
3431, 33syl 18 . . . . . . 7 (∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}) → (𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
3534eximi 1867 . . . . . 6 (∃𝑥∃𝑎(𝑥 ∈ (Edg‘𝐺) ∧ 𝑥 = {𝑎}) → ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
3629, 30, 353syl 19 . . . . 5 (∃𝑎{𝑎} ∈ (Edg‘𝐺) → ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}))
3724, 36impbii 212 . . . 4 (∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) ↔ ∃𝑎{𝑎} ∈ (Edg‘𝐺))
3837notbii 323 . . 3 (¬ ∃𝑥(𝑥 ∈ (Edg‘𝐺) ∧ ∃𝑎 𝑥 = {𝑎}) ↔ ¬ ∃𝑎{𝑎} ∈ (Edg‘𝐺))
399, 16, 383bitri 300 . 2 (∀𝑥 ∈ (Edg‘𝐺)(♯‘𝑥) ≠ 1 ↔ ¬ ∃𝑎{𝑎} ∈ (Edg‘𝐺))
403, 39bitrdi 290 1 (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ¬ ∃𝑎{𝑎} ∈ (Edg‘𝐺)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  {crab 3412  Vcvv 3450  𝒫 cpw 4556  {csn 4584   class class class wbr 5102  dom cdm 5651  ⟶wf 6539  ‘cfv 6543  1oc1o 8477   ≈ cen 8978  1c1 11208   ≤ cle 11351  2c2 12404  ♯chash 14481  Vtxcvtx 29583  iEdgciedg 29584  Edgcedg 29634  UHGraphcuhgr 29643
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-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-1cn 11265  ax-icn 11266  ax-addcl 11267  ax-addrcl 11268  ax-mulcl 11269  ax-mulrcl 11270  ax-mulcom 11271  ax-addass 11272  ax-mulass 11273  ax-distr 11274  ax-i2m1 11275  ax-1ne0 11276  ax-1rid 11277  ax-rnegex 11278  ax-rrecex 11279  ax-cnre 11280  ax-pre-lttri 11281  ax-pre-lttrn 11282  ax-pre-ltadd 11283  ax-pre-mulgt0 11284
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-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-pss 4013  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-int 4907  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6307  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-om 7882  df-1st 8005  df-2nd 8006  df-frecs 8307  df-wrecs 8338  df-recs 8387  df-rdg 8426  df-1o 8484  df-er 8725  df-en 8982  df-dom 8983  df-sdom 8984  df-fin 8985  df-card 10027  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-sub 11550  df-neg 11551  df-nn 12343  df-2 12412  df-n0 12614  df-xnn0 12687  df-z 12701  df-uz 12973  df-fz 13647  df-hash 14482  df-edg 29635  df-uhgr 29645
This theorem is used by:  acycgrislfgr  36025
  Copyright terms: Public domain W3C validator