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

Theorem onminex 7516
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 4056 . . . 4 {𝑥 ∈ On ∣ 𝜑} ⊆ On
2 rabn0 4339 . . . . 5 ({𝑥 ∈ On ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ On 𝜑)
32biimpri 230 . . . 4 (∃𝑥 ∈ On 𝜑 → {𝑥 ∈ On ∣ 𝜑} ≠ ∅)
4 oninton 7509 . . . 4 (({𝑥 ∈ On ∣ 𝜑} ⊆ On ∧ {𝑥 ∈ On ∣ 𝜑} ≠ ∅) → {𝑥 ∈ On ∣ 𝜑} ∈ On)
51, 3, 4sylancr 589 . . 3 (∃𝑥 ∈ On 𝜑 {𝑥 ∈ On ∣ 𝜑} ∈ On)
6 onminesb 7507 . . 3 (∃𝑥 ∈ On 𝜑[ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑)
7 onss 7499 . . . . . . 7 ( {𝑥 ∈ On ∣ 𝜑} ∈ On → {𝑥 ∈ On ∣ 𝜑} ⊆ On)
85, 7syl 17 . . . . . 6 (∃𝑥 ∈ On 𝜑 {𝑥 ∈ On ∣ 𝜑} ⊆ On)
98sseld 3966 . . . . 5 (∃𝑥 ∈ On 𝜑 → (𝑦 {𝑥 ∈ On ∣ 𝜑} → 𝑦 ∈ On))
10 onminex.1 . . . . . 6 (𝑥 = 𝑦 → (𝜑𝜓))
1110onnminsb 7513 . . . . 5 (𝑦 ∈ On → (𝑦 {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
129, 11syli 39 . . . 4 (∃𝑥 ∈ On 𝜑 → (𝑦 {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
1312ralrimiv 3181 . . 3 (∃𝑥 ∈ On 𝜑 → ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)
14 dfsbcq2 3775 . . . . 5 (𝑧 = {𝑥 ∈ On ∣ 𝜑} → ([𝑧 / 𝑥]𝜑[ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑))
15 raleq 3406 . . . . 5 (𝑧 = {𝑥 ∈ On ∣ 𝜑} → (∀𝑦𝑧 ¬ 𝜓 ↔ ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓))
1614, 15anbi12d 632 . . . 4 (𝑧 = {𝑥 ∈ On ∣ 𝜑} → (([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓) ↔ ([ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)))
1716rspcev 3623 . . 3 (( {𝑥 ∈ On ∣ 𝜑} ∈ On ∧ ([ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)) → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓))
185, 6, 13, 17syl12anc 834 . 2 (∃𝑥 ∈ On 𝜑 → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓))
19 nfv 1911 . . 3 𝑧(𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓)
20 nfs1v 2269 . . . 4 𝑥[𝑧 / 𝑥]𝜑
21 nfv 1911 . . . 4 𝑥𝑦𝑧 ¬ 𝜓
2220, 21nfan 1896 . . 3 𝑥([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓)
23 sbequ12 2248 . . . 4 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
24 raleq 3406 . . . 4 (𝑥 = 𝑧 → (∀𝑦𝑥 ¬ 𝜓 ↔ ∀𝑦𝑧 ¬ 𝜓))
2523, 24anbi12d 632 . . 3 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓) ↔ ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓)))
2619, 22, 25cbvrexw 3443 . 2 (∃𝑥 ∈ On (𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓) ↔ ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦𝑧 ¬ 𝜓))
2718, 26sylibr 236 1 (∃𝑥 ∈ On 𝜑 → ∃𝑥 ∈ On (𝜑 ∧ ∀𝑦𝑥 ¬ 𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398   = wceq 1533  [wsb 2065  wcel 2110  wne 3016  wral 3138  wrex 3139  {crab 3142  [wsbc 3772  wss 3936  c0 4291   cint 4869  Oncon0 6186
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 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322  ax-un 7455
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-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4833  df-int 4870  df-br 5060  df-opab 5122  df-tr 5166  df-eprel 5460  df-po 5469  df-so 5470  df-fr 5509  df-we 5511  df-ord 6189  df-on 6190
This theorem is referenced by:  tz7.49  8075  omeulem1  8202  zorn2lem7  9918
  Copyright terms: Public domain W3C validator