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

Theorem onminex 7817
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 4005 . . . 4 {𝑥 ∈ On ∣ 𝜑} ⊆ On
2 rabn0 4338 . . . . 5 ({𝑥 ∈ On ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ On 𝜑)
32biimpri 231 . . . 4 (∃𝑥 ∈ On 𝜑 → {𝑥 ∈ On ∣ 𝜑} ≠ ∅)
4 oninton 7810 . . . 4 (({𝑥 ∈ On ∣ 𝜑} ⊆ On ∧ {𝑥 ∈ On ∣ 𝜑} ≠ ∅) → ∩ {𝑥 ∈ On ∣ 𝜑} ∈ On)
51, 3, 4sylancr 599 . . 3 (∃𝑥 ∈ On 𝜑 → ∩ {𝑥 ∈ On ∣ 𝜑} ∈ On)
6 onminesb 7808 . . 3 (∃𝑥 ∈ On 𝜑 → [∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑)
7 onss 7800 . . . . . . 7 (∩ {𝑥 ∈ On ∣ 𝜑} ∈ On → ∩ {𝑥 ∈ On ∣ 𝜑} ⊆ On)
85, 7syl 18 . . . . . 6 (∃𝑥 ∈ On 𝜑 → ∩ {𝑥 ∈ On ∣ 𝜑} ⊆ On)
98sseld 3907 . . . . 5 (∃𝑥 ∈ On 𝜑 → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → 𝑦 ∈ On))
10 onminex.1 . . . . . 6 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
1110onnminsb 7814 . . . . 5 (𝑦 ∈ On → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
129, 11syli 40 . . . 4 (∃𝑥 ∈ On 𝜑 → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
1312ralrimiv 3153 . . 3 (∃𝑥 ∈ On 𝜑 → ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)
14 dfsbcq2 3741 . . . . 5 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → ([𝑧 / 𝑥]𝜑 ↔ [∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑))
15 raleq 3316 . . . . 5 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → (∀𝑦 ∈ 𝑧 ¬ 𝜓 ↔ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓))
1614, 15anbi12d 644 . . . 4 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → (([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓) ↔ ([∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)))
1716rspcev 3576 . . 3 ((∩ {𝑥 ∈ On ∣ 𝜑} ∈ On ∧ ([∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)) → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
185, 6, 13, 17syl12anc 850 . 2 (∃𝑥 ∈ On 𝜑 → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
19 nfv 1946 . . 3 Ⅎ𝑧(𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓)
20 nfs1v 2192 . . . 4 Ⅎ𝑥[𝑧 / 𝑥]𝜑
21 nfv 1946 . . . 4 Ⅎ𝑥∀𝑦 ∈ 𝑧 ¬ 𝜓
2220, 21nfan 1931 . . 3 Ⅎ𝑥([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓)
23 sbequ12 2286 . . . 4 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
24 raleq 3316 . . . 4 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝑥 ¬ 𝜓 ↔ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
2523, 24anbi12d 644 . . 3 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓) ↔ ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓)))
2619, 22, 25cbvrexw 3305 . 2 (∃𝑥 ∈ On (𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓) ↔ ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
2718, 26sylibr 237 1 (∃𝑥 ∈ On 𝜑 → ∃𝑥 ∈ On (𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  [wsb 2098   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ∃wrex 3086  {crab 3412  [wsbc 3738   ⊆ wss 3895  ∅c0 4278  ∩ cint 4906  Oncon0 6362
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-int 4907  df-br 5103  df-opab 5167  df-tr 5212  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-ord 6365  df-on 6366
This theorem is used by:  tz7.49  8459  omeulem1  8594  zorn2lem7  10584
  Copyright terms: Public domain W3C validator