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 44755
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 44754 . . . . 5 (𝜑 → if(𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵) ⊆ 𝐵)
76sseld 3914 . . . 4 (𝜑 → (𝑥 ∈ if(𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵) → 𝑥 ∈ 𝐵))
87imim1d 83 . . 3 (𝜑 → ((𝑥 ∈ 𝐵 → ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦) → (𝑥 ∈ if(𝑂 ≺ 𝐵, {sup(𝐵, 𝐴, 𝑅)}, 𝐵) → ∀𝑦 ∈ 𝐶 𝑥𝑅𝑦)))
98ralimdv2 3181 . 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 1572   ∈ wcel 2151  ∀wral 3086   ⊆ wss 3902  ∅c0 4283  ifcif 4487  {csn 4590   class class class wbr 5111   Or wor 5568  1oc1o 8511   ≺ csdm 9014  Fincfn 9015  supcsup 9473
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7787
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-ord 6395  df-on 6396  df-lim 6397  df-suc 6398  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-f1 6575  df-fo 6576  df-f1o 6577  df-fv 6578  df-riota 7412  df-om 7916  df-1o 8518  df-er 8759  df-en 9016  df-dom 9017  df-sdom 9018  df-fin 9019  df-sup 9475
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator