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

Theorem safesnsupfiub 44609
Description: If 𝐵 is a finite subset of ordered class 𝐴, we can safely create a small subset with the same largest element and upper bound, if any. (Contributed by RP, 1-Sep-2024.)
Hypotheses
Ref Expression
safesnsupfiub.small (𝜑 → (𝑂 = ∅ ∨ 𝑂 = 1o))
safesnsupfiub.finite (𝜑 → 𝐵 ∈ Fin)
safesnsupfiub.subset (𝜑 → 𝐵 ⊆ 𝐴)
safesnsupfiub.ordered (𝜑 → 𝑅 Or 𝐴)
safesnsupfiub.ub (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦)
Assertion
Ref Expression
safesnsupfiub (𝜑 → ∀𝑥 ∈ if (𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵)∀𝑦 ∈ 𝐶 𝑥𝑅𝑦)
Distinct variable group:   𝜑,𝑥
Allowed substitution hints:   𝜑(𝑦)   𝐴(𝑥, 𝑦)   𝐵(𝑥, 𝑦)   𝐶(𝑥, 𝑦)   𝑅(𝑥, 𝑦)   𝑂(𝑥, 𝑦)

Proof of Theorem safesnsupfiub
StepHypRef Expression
1 safesnsupfiub.ub . 2 (𝜑 → ∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦)
2 safesnsupfiub.small . . . . . 6 (𝜑 → (𝑂 = ∅ ∨ 𝑂 = 1o))
3 safesnsupfiub.finite . . . . . 6 (𝜑 → 𝐵 ∈ Fin)
4 safesnsupfiub.subset . . . . . 6 (𝜑 → 𝐵 ⊆ 𝐴)
5 safesnsupfiub.ordered . . . . . 6 (𝜑 → 𝑅 Or 𝐴)
62, 3, 4, 5safesnsupfiss 44608 . . . . 5 (𝜑 → if(𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵) ⊆ 𝐵)
76sseld 3912 . . . 4 (𝜑 → (𝑥 ∈ if(𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵) → 𝑥 ∈ 𝐵))
87imim1d 83 . . 3 (𝜑 → ((𝑥 ∈ 𝐵 → ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦) → (𝑥 ∈ if(𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵) → ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦)))
98ralimdv2 3175 . 2 (𝜑 → (∀𝑥 ∈ 𝐵 ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦 → ∀𝑥 ∈ if (𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵)∀𝑦 ∈ 𝐶 𝑥𝑅𝑦))
101, 9mpd 16 1 (𝜑 → ∀𝑥 ∈ if (𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵)∀𝑦 ∈ 𝐶 𝑥𝑅𝑦)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∨ wo 861   = wceq 1570   ∈ wcel 2147  ∀wral 3080   ⊆ wss 3900  ∅c0 4281  ifcif 4485  {csn 4588   class class class wbr 5106   Or wor 5562  1oc1o 8497   ≺ csdm 9000  Fincfn 9001  supcsup 9459
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7775
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-ord 6383  df-on 6384  df-lim 6385  df-suc 6386  df-iota 6512  df-fun 6560  df-fn 6561  df-f 6562  df-f1 6563  df-fo 6564  df-f1o 6565  df-fv 6566  df-riota 7400  df-om 7902  df-1o 8504  df-er 8745  df-en 9002  df-dom 9003  df-sdom 9004  df-fin 9005  df-sup 9461
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator