Users' Mathboxes Mathbox for BTernaryTau < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  lfuhgr Structured version   Visualization version   GIF version

Theorem lfuhgr 33079
Description: A hypergraph is loop-free if and only if every edge connects at least two vertices. (Contributed by BTernaryTau, 15-Oct-2023.)
Hypotheses
Ref Expression
lfuhgr.1 𝑉 = (Vtx‘𝐺)
lfuhgr.2 𝐼 = (iEdg‘𝐺)
Assertion
Ref Expression
lfuhgr (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
Distinct variable groups:   𝑥,𝐺   𝑥,𝑉
Allowed substitution hint:   𝐼(𝑥)

Proof of Theorem lfuhgr
StepHypRef Expression
1 edgval 27419 . . . . 5 (Edg‘𝐺) = ran (iEdg‘𝐺)
2 lfuhgr.2 . . . . . 6 𝐼 = (iEdg‘𝐺)
32rneqi 5846 . . . . 5 ran 𝐼 = ran (iEdg‘𝐺)
41, 3eqtr4i 2769 . . . 4 (Edg‘𝐺) = ran 𝐼
54sseq1i 3949 . . 3 ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)})
62uhgrfun 27436 . . . . 5 (𝐺 ∈ UHGraph → Fun 𝐼)
7 fdmrn 6632 . . . . . 6 (Fun 𝐼𝐼:dom 𝐼⟶ran 𝐼)
8 fss 6617 . . . . . . 7 ((𝐼:dom 𝐼⟶ran 𝐼 ∧ ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}) → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)})
98ex 413 . . . . . 6 (𝐼:dom 𝐼⟶ran 𝐼 → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
107, 9sylbi 216 . . . . 5 (Fun 𝐼 → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
116, 10syl 17 . . . 4 (𝐺 ∈ UHGraph → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
12 frn 6607 . . . 4 (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} → ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)})
1311, 12impbid1 224 . . 3 (𝐺 ∈ UHGraph → (ran 𝐼 ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
145, 13syl5bb 283 . 2 (𝐺 ∈ UHGraph → ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ 𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)}))
15 uhgredgss 27501 . . . . 5 (𝐺 ∈ UHGraph → (Edg‘𝐺) ⊆ (𝒫 (Vtx‘𝐺) ∖ {∅}))
1615difss2d 4069 . . . 4 (𝐺 ∈ UHGraph → (Edg‘𝐺) ⊆ 𝒫 (Vtx‘𝐺))
17 lfuhgr.1 . . . . 5 𝑉 = (Vtx‘𝐺)
1817pweqi 4551 . . . 4 𝒫 𝑉 = 𝒫 (Vtx‘𝐺)
1916, 18sseqtrrdi 3972 . . 3 (𝐺 ∈ UHGraph → (Edg‘𝐺) ⊆ 𝒫 𝑉)
20 ssrab 4006 . . . 4 ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ((Edg‘𝐺) ⊆ 𝒫 𝑉 ∧ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
2120baib 536 . . 3 ((Edg‘𝐺) ⊆ 𝒫 𝑉 → ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
2219, 21syl 17 . 2 (𝐺 ∈ UHGraph → ((Edg‘𝐺) ⊆ {𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
2314, 22bitr3d 280 1 (𝐺 ∈ UHGraph → (𝐼:dom 𝐼⟶{𝑥 ∈ 𝒫 𝑉 ∣ 2 ≤ (♯‘𝑥)} ↔ ∀𝑥 ∈ (Edg‘𝐺)2 ≤ (♯‘𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wcel 2106  wral 3064  {crab 3068  wss 3887  c0 4256  𝒫 cpw 4533  {csn 4561   class class class wbr 5074  dom cdm 5589  ran crn 5590  Fun wfun 6427  wf 6429  cfv 6433  cle 11010  2c2 12028  chash 14044  Vtxcvtx 27366  iEdgciedg 27367  Edgcedg 27417  UHGraphcuhgr 27426
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-edg 27418  df-uhgr 27428
This theorem is referenced by:  lfuhgr2  33080
  Copyright terms: Public domain W3C validator