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

Theorem opfi1uzind 13853
Description: Properties of an ordered pair with a finite first component with at least L elements, proven by finite induction on the size of the first component. This theorem can be applied for graphs (represented as orderd pairs of vertices and edges) with a finite number of vertices, usually with 𝐿 = 0 (see opfi1ind 13854) or 𝐿 = 1. (Contributed by AV, 22-Oct-2020.) (Revised by AV, 28-Mar-2021.)
Hypotheses
Ref Expression
opfi1uzind.e 𝐸 ∈ V
opfi1uzind.f 𝐹 ∈ V
opfi1uzind.l 𝐿 ∈ ℕ0
opfi1uzind.1 ((𝑣 = 𝑉𝑒 = 𝐸) → (𝜓𝜑))
opfi1uzind.2 ((𝑣 = 𝑤𝑒 = 𝑓) → (𝜓𝜃))
opfi1uzind.3 ((⟨𝑣, 𝑒⟩ ∈ 𝐺𝑛𝑣) → ⟨(𝑣 ∖ {𝑛}), 𝐹⟩ ∈ 𝐺)
opfi1uzind.4 ((𝑤 = (𝑣 ∖ {𝑛}) ∧ 𝑓 = 𝐹) → (𝜃𝜒))
opfi1uzind.base ((⟨𝑣, 𝑒⟩ ∈ 𝐺 ∧ (♯‘𝑣) = 𝐿) → 𝜓)
opfi1uzind.step ((((𝑦 + 1) ∈ ℕ0 ∧ (⟨𝑣, 𝑒⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣)) ∧ 𝜒) → 𝜓)
Assertion
Ref Expression
opfi1uzind ((⟨𝑉, 𝐸⟩ ∈ 𝐺𝑉 ∈ Fin ∧ 𝐿 ≤ (♯‘𝑉)) → 𝜑)
Distinct variable groups:   𝑒,𝑛,𝑣,𝑦   𝑒,𝐸,𝑛,𝑣   𝑓,𝐹,𝑤   𝑒,𝐺,𝑓,𝑛,𝑣,𝑤,𝑦   𝑒,𝑉,𝑛,𝑣   𝜓,𝑓,𝑛,𝑤,𝑦   𝜃,𝑒,𝑛,𝑣   𝜒,𝑓,𝑤   𝜑,𝑒,𝑛,𝑣   𝑒,𝐿,𝑛,𝑣,𝑦
Allowed substitution hints:   𝜑(𝑦,𝑤,𝑓)   𝜓(𝑣,𝑒)   𝜒(𝑦,𝑣,𝑒,𝑛)   𝜃(𝑦,𝑤,𝑓)   𝐸(𝑦,𝑤,𝑓)   𝐹(𝑦,𝑣,𝑒,𝑛)   𝐿(𝑤,𝑓)   𝑉(𝑦,𝑤,𝑓)

Proof of Theorem opfi1uzind
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 opfi1uzind.e . . . . . . 7 𝐸 ∈ V
21a1i 11 . . . . . 6 (𝑎 = 𝑉𝐸 ∈ V)
3 opeq12 4798 . . . . . . 7 ((𝑎 = 𝑉𝑏 = 𝐸) → ⟨𝑎, 𝑏⟩ = ⟨𝑉, 𝐸⟩)
43eleq1d 2897 . . . . . 6 ((𝑎 = 𝑉𝑏 = 𝐸) → (⟨𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨𝑉, 𝐸⟩ ∈ 𝐺))
52, 4sbcied 3813 . . . . 5 (𝑎 = 𝑉 → ([𝐸 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨𝑉, 𝐸⟩ ∈ 𝐺))
65sbcieg 3809 . . . 4 (𝑉 ∈ Fin → ([𝑉 / 𝑎][𝐸 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨𝑉, 𝐸⟩ ∈ 𝐺))
76biimparc 482 . . 3 ((⟨𝑉, 𝐸⟩ ∈ 𝐺𝑉 ∈ Fin) → [𝑉 / 𝑎][𝐸 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺)
873adant3 1128 . 2 ((⟨𝑉, 𝐸⟩ ∈ 𝐺𝑉 ∈ Fin ∧ 𝐿 ≤ (♯‘𝑉)) → [𝑉 / 𝑎][𝐸 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺)
9 opfi1uzind.f . . 3 𝐹 ∈ V
10 opfi1uzind.l . . 3 𝐿 ∈ ℕ0
11 opfi1uzind.1 . . 3 ((𝑣 = 𝑉𝑒 = 𝐸) → (𝜓𝜑))
12 opfi1uzind.2 . . 3 ((𝑣 = 𝑤𝑒 = 𝑓) → (𝜓𝜃))
13 vex 3497 . . . . . 6 𝑣 ∈ V
14 vex 3497 . . . . . 6 𝑒 ∈ V
15 opeq12 4798 . . . . . . 7 ((𝑎 = 𝑣𝑏 = 𝑒) → ⟨𝑎, 𝑏⟩ = ⟨𝑣, 𝑒⟩)
1615eleq1d 2897 . . . . . 6 ((𝑎 = 𝑣𝑏 = 𝑒) → (⟨𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨𝑣, 𝑒⟩ ∈ 𝐺))
1713, 14, 16sbc2ie 3849 . . . . 5 ([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨𝑣, 𝑒⟩ ∈ 𝐺)
18 opfi1uzind.3 . . . . 5 ((⟨𝑣, 𝑒⟩ ∈ 𝐺𝑛𝑣) → ⟨(𝑣 ∖ {𝑛}), 𝐹⟩ ∈ 𝐺)
1917, 18sylanb 583 . . . 4 (([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺𝑛𝑣) → ⟨(𝑣 ∖ {𝑛}), 𝐹⟩ ∈ 𝐺)
2013difexi 5224 . . . . 5 (𝑣 ∖ {𝑛}) ∈ V
21 opeq12 4798 . . . . . 6 ((𝑎 = (𝑣 ∖ {𝑛}) ∧ 𝑏 = 𝐹) → ⟨𝑎, 𝑏⟩ = ⟨(𝑣 ∖ {𝑛}), 𝐹⟩)
2221eleq1d 2897 . . . . 5 ((𝑎 = (𝑣 ∖ {𝑛}) ∧ 𝑏 = 𝐹) → (⟨𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨(𝑣 ∖ {𝑛}), 𝐹⟩ ∈ 𝐺))
2320, 9, 22sbc2ie 3849 . . . 4 ([(𝑣 ∖ {𝑛}) / 𝑎][𝐹 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ↔ ⟨(𝑣 ∖ {𝑛}), 𝐹⟩ ∈ 𝐺)
2419, 23sylibr 236 . . 3 (([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺𝑛𝑣) → [(𝑣 ∖ {𝑛}) / 𝑎][𝐹 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺)
25 opfi1uzind.4 . . 3 ((𝑤 = (𝑣 ∖ {𝑛}) ∧ 𝑓 = 𝐹) → (𝜃𝜒))
26 opfi1uzind.base . . . 4 ((⟨𝑣, 𝑒⟩ ∈ 𝐺 ∧ (♯‘𝑣) = 𝐿) → 𝜓)
2717, 26sylanb 583 . . 3 (([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ∧ (♯‘𝑣) = 𝐿) → 𝜓)
28173anbi1i 1153 . . . . 5 (([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣) ↔ (⟨𝑣, 𝑒⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣))
2928anbi2i 624 . . . 4 (((𝑦 + 1) ∈ ℕ0 ∧ ([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣)) ↔ ((𝑦 + 1) ∈ ℕ0 ∧ (⟨𝑣, 𝑒⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣)))
30 opfi1uzind.step . . . 4 ((((𝑦 + 1) ∈ ℕ0 ∧ (⟨𝑣, 𝑒⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣)) ∧ 𝜒) → 𝜓)
3129, 30sylanb 583 . . 3 ((((𝑦 + 1) ∈ ℕ0 ∧ ([𝑣 / 𝑎][𝑒 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺 ∧ (♯‘𝑣) = (𝑦 + 1) ∧ 𝑛𝑣)) ∧ 𝜒) → 𝜓)
329, 10, 11, 12, 24, 25, 27, 31fi1uzind 13849 . 2 (([𝑉 / 𝑎][𝐸 / 𝑏]𝑎, 𝑏⟩ ∈ 𝐺𝑉 ∈ Fin ∧ 𝐿 ≤ (♯‘𝑉)) → 𝜑)
338, 32syld3an1 1406 1 ((⟨𝑉, 𝐸⟩ ∈ 𝐺𝑉 ∈ Fin ∧ 𝐿 ≤ (♯‘𝑉)) → 𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wcel 2110  Vcvv 3494  [wsbc 3771  cdif 3932  {csn 4560  cop 4566   class class class wbr 5058  cfv 6349  (class class class)co 7150  Fincfn 8503  1c1 10532   + caddc 10534  cle 10670  0cn0 11891  chash 13684
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-int 4869  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-1st 7683  df-2nd 7684  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-1o 8096  df-oadd 8100  df-er 8283  df-en 8504  df-dom 8505  df-sdom 8506  df-fin 8507  df-dju 9324  df-card 9362  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-nn 11633  df-n0 11892  df-xnn0 11962  df-z 11976  df-uz 12238  df-fz 12887  df-hash 13685
This theorem is referenced by:  opfi1ind  13854
  Copyright terms: Public domain W3C validator