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

Theorem onminex 7843
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 4008 . . . 4 {𝑥 ∈ On ∣ 𝜑} ⊆ On
2 rabn0 4342 . . . . 5 ({𝑥 ∈ On ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ On 𝜑)
32biimpri 231 . . . 4 (∃𝑥 ∈ On 𝜑 → {𝑥 ∈ On ∣ 𝜑} ≠ ∅)
4 oninton 7836 . . . 4 (({𝑥 ∈ On ∣ 𝜑} ⊆ On ∧ {𝑥 ∈ On ∣ 𝜑} ≠ ∅) → ∩ {𝑥 ∈ On ∣ 𝜑} ∈ On)
51, 3, 4sylancr 599 . . 3 (∃𝑥 ∈ On 𝜑 → ∩ {𝑥 ∈ On ∣ 𝜑} ∈ On)
6 onminesb 7834 . . 3 (∃𝑥 ∈ On 𝜑 → [∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑)
7 onss 7826 . . . . . . 7 (∩ {𝑥 ∈ On ∣ 𝜑} ∈ On → ∩ {𝑥 ∈ On ∣ 𝜑} ⊆ On)
85, 7syl 18 . . . . . 6 (∃𝑥 ∈ On 𝜑 → ∩ {𝑥 ∈ On ∣ 𝜑} ⊆ On)
98sseld 3912 . . . . 5 (∃𝑥 ∈ On 𝜑 → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → 𝑦 ∈ On))
10 onminex.1 . . . . . 6 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
1110onnminsb 7840 . . . . 5 (𝑦 ∈ On → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
129, 11syli 40 . . . 4 (∃𝑥 ∈ On 𝜑 → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
1312ralrimiv 3157 . . 3 (∃𝑥 ∈ On 𝜑 → ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)
14 dfsbcq2 3745 . . . . 5 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → ([𝑧 / 𝑥]𝜑 ↔ [∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑))
15 raleq 3320 . . . . 5 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → (∀𝑦 ∈ 𝑧 ¬ 𝜓 ↔ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓))
1614, 15anbi12d 644 . . . 4 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → (([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓) ↔ ([∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)))
1716rspcev 3580 . . 3 ((∩ {𝑥 ∈ On ∣ 𝜑} ∈ On ∧ ([∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)) → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
185, 6, 13, 17syl12anc 850 . 2 (∃𝑥 ∈ On 𝜑 → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
19 nfv 1949 . . 3 Ⅎ𝑧(𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓)
20 nfs1v 2196 . . . 4 Ⅎ𝑥[𝑧 / 𝑥]𝜑
21 nfv 1949 . . . 4 Ⅎ𝑥∀𝑦 ∈ 𝑧 ¬ 𝜓
2220, 21nfan 1934 . . 3 Ⅎ𝑥([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓)
23 sbequ12 2290 . . . 4 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
24 raleq 3320 . . . 4 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝑥 ¬ 𝜓 ↔ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
2523, 24anbi12d 644 . . 3 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓) ↔ ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓)))
2619, 22, 25cbvrexw 3309 . 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 1570  [wsb 2101   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090  {crab 3416  [wsbc 3742   ⊆ wss 3900  ∅c0 4281  ∩ cint 4910  Oncon0 6383
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 5253  ax-pr 5396
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-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  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-int 4911  df-br 5107  df-opab 5172  df-tr 5217  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-we 5611  df-ord 6386  df-on 6387
This theorem is used by:  tz7.49  8486  omeulem1  8621  zorn2lem7  10610
  Copyright terms: Public domain W3C validator