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

Theorem onminex 7652
Description: If a wff is true for an ordinal number, then there is the smallest ordinal number for which it is true. (Contributed by NM, 2-Feb-1997.) (Proof shortened by Mario Carneiro, 20-Nov-2016.)
Hypothesis
Ref Expression
onminex.1 (𝑥 = 𝑦 → (𝜑𝜓))
Assertion
Ref Expression
onminex (∃𝑥 ∈ On 𝜑 → ∃𝑥 ∈ On (𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓))
Distinct variable groups:   𝑥,𝑦   𝜑,𝑦   𝜓,𝑥
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)

Proof of Theorem onminex
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 ssrab2 4013 . . . 4 {𝑥 ∈ On ∣ 𝜑} ⊆ On
2 rabn0 4319 . . . . 5 ({𝑥 ∈ On ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ On 𝜑)
32biimpri 227 . . . 4 (∃𝑥 ∈ On 𝜑 → {𝑥 ∈ On ∣ 𝜑} ≠ ∅)
4 oninton 7645 . . . 4 (({𝑥 ∈ On ∣ 𝜑} ⊆ On ∧ {𝑥 ∈ On ∣ 𝜑} ≠ ∅) → {𝑥 ∈ On ∣ 𝜑} ∈ On)
51, 3, 4sylancr 587 . . 3 (∃𝑥 ∈ On 𝜑 {𝑥 ∈ On ∣ 𝜑} ∈ On)
6 onminesb 7643 . . 3 (∃𝑥 ∈ On 𝜑[ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑)
7 onss 7634 . . . . . . 7 ( {𝑥 ∈ On ∣ 𝜑} ∈ On → {𝑥 ∈ On ∣ 𝜑} ⊆ On)
85, 7syl 17 . . . . . 6 (∃𝑥 ∈ On 𝜑 {𝑥 ∈ On ∣ 𝜑} ⊆ On)
98sseld 3920 . . . . 5 (∃𝑥 ∈ On 𝜑 → (𝑦 {𝑥 ∈ On ∣ 𝜑} → 𝑦 ∈ On))
10 onminex.1 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
1110onnminsb 7649 . . . . 5 (𝑦 ∈ On → (𝑦 {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
129, 11syli 39 . . . 4 (∃𝑥 ∈ On 𝜑 → (𝑦 {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
1312ralrimiv 3102 . . 3 (∃𝑥 ∈ On 𝜑 → ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)
14 dfsbcq2 3719 . . . . 5 (𝑧 = {𝑥 ∈ On ∣ 𝜑} → ([𝑧 / 𝑥]𝜑[ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑))
15 raleq 3342 . . . . 5 (𝑧 = {𝑥 ∈ On ∣ 𝜑} → (∀𝑦𝑧 ¬ 𝜓 ↔ ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓))
1614, 15anbi12d 631 . . . 4 (𝑧 = {𝑥 ∈ On ∣ 𝜑} → (([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓) ↔ ([ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)))
1716rspcev 3561 . . 3 (( {𝑥 ∈ On ∣ 𝜑} ∈ On ∧ ([ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)) → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓))
185, 6, 13, 17syl12anc 834 . 2 (∃𝑥 ∈ On 𝜑 → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓))
19 nfv 1917 . . 3 𝑧(𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓)
20 nfs1v 2153 . . . 4 𝑥[𝑧 / 𝑥]𝜑
21 nfv 1917 . . . 4 𝑥𝑦𝑧 ¬ 𝜓
2220, 21nfan 1902 . . 3 𝑥([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓)
23 sbequ12 2244 . . . 4 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
24 raleq 3342 . . . 4 (𝑥 = 𝑧 → (∀𝑦𝑥 ¬ 𝜓 ↔ ∀𝑦𝑧 ¬ 𝜓))
2523, 24anbi12d 631 . . 3 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓) ↔ ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓)))
2619, 22, 25cbvrexw 3374 . 2 (∃𝑥 ∈ On (𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓) ↔ ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓))
2718, 26sylibr 233 1 (∃𝑥 ∈ On 𝜑 → ∃𝑥 ∈ On (𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  [wsb 2067  wcel 2106  wne 2943  wral 3064  wrex 3065  {crab 3068  [wsbc 3716  wss 3887  c0 4256   cint 4879  Oncon0 6266
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
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  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-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-br 5075  df-opab 5137  df-tr 5192  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-ord 6269  df-on 6270
This theorem is referenced by:  tz7.49  8276  omeulem1  8413  zorn2lem7  10258
  Copyright terms: Public domain W3C validator