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

Theorem onminex 7805
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 4028 . . . 4 {𝑥 ∈ On ∣ 𝜑} ⊆ On
2 rabn0 4339 . . . . 5 ({𝑥 ∈ On ∣ 𝜑} ≠ ∅ ↔ ∃𝑥 ∈ On 𝜑)
32biimpri 231 . . . 4 (∃𝑥 ∈ On 𝜑 → {𝑥 ∈ On ∣ 𝜑} ≠ ∅)
4 oninton 7798 . . . 4 (({𝑥 ∈ On ∣ 𝜑} ⊆ On ∧ {𝑥 ∈ On ∣ 𝜑} ≠ ∅) → ∩ {𝑥 ∈ On ∣ 𝜑} ∈ On)
51, 3, 4sylancr 599 . . 3 (∃𝑥 ∈ On 𝜑 → ∩ {𝑥 ∈ On ∣ 𝜑} ∈ On)
6 onminesb 7796 . . 3 (∃𝑥 ∈ On 𝜑 → [∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑)
7 onss 7788 . . . . . . 7 (∩ {𝑥 ∈ On ∣ 𝜑} ∈ On → ∩ {𝑥 ∈ On ∣ 𝜑} ⊆ On)
85, 7syl 18 . . . . . 6 (∃𝑥 ∈ On 𝜑 → ∩ {𝑥 ∈ On ∣ 𝜑} ⊆ On)
98sseld 3930 . . . . 5 (∃𝑥 ∈ On 𝜑 → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → 𝑦 ∈ On))
10 onminex.1 . . . . . 6 (𝑥 = 𝑦 → (𝜑 ↔ 𝜓))
1110onnminsb 7802 . . . . 5 (𝑦 ∈ On → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
129, 11syli 40 . . . 4 (∃𝑥 ∈ On 𝜑 → (𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} → ¬ 𝜓))
1312ralrimiv 3154 . . 3 (∃𝑥 ∈ On 𝜑 → ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)
14 dfsbcq2 3742 . . . . 5 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → ([𝑧 / 𝑥]𝜑 ↔ [∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑))
15 raleq 3317 . . . . 5 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → (∀𝑦 ∈ 𝑧 ¬ 𝜓 ↔ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓))
1614, 15anbi12d 644 . . . 4 (𝑧 = ∩ {𝑥 ∈ On ∣ 𝜑} → (([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓) ↔ ([∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)))
1716rspcev 3577 . . 3 ((∩ {𝑥 ∈ On ∣ 𝜑} ∈ On ∧ ([∩ {𝑥 ∈ On ∣ 𝜑} / 𝑥]𝜑 ∧ ∀𝑦 ∈ ∩ {𝑥 ∈ On ∣ 𝜑} ¬ 𝜓)) → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
185, 6, 13, 17syl12anc 850 . 2 (∃𝑥 ∈ On 𝜑 → ∃𝑧 ∈ On ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
19 nfv 1947 . . 3 Ⅎ𝑧(𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓)
20 nfs1v 2193 . . . 4 Ⅎ𝑥[𝑧 / 𝑥]𝜑
21 nfv 1947 . . . 4 Ⅎ𝑥∀𝑦 ∈ 𝑧 ¬ 𝜓
2220, 21nfan 1932 . . 3 Ⅎ𝑥([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓)
23 sbequ12 2287 . . . 4 (𝑥 = 𝑧 → (𝜑 ↔ [𝑧 / 𝑥]𝜑))
24 raleq 3317 . . . 4 (𝑥 = 𝑧 → (∀𝑦 ∈ 𝑥 ¬ 𝜓 ↔ ∀𝑦 ∈ 𝑧 ¬ 𝜓))
2523, 24anbi12d 644 . . 3 (𝑥 = 𝑧 → ((𝜑 ∧ ∀𝑦 ∈ 𝑥 ¬ 𝜓) ↔ ([𝑧 / 𝑥]𝜑 ∧ ∀𝑦 ∈ 𝑧 ¬ 𝜓)))
2619, 22, 25cbvrexw 3306 . 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 2099   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087  {crab 3413  [wsbc 3739   ⊆ wss 3899  ∅c0 4279  ∩ cint 4907  Oncon0 6355
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-br 5104  df-opab 5168  df-tr 5213  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-ord 6358  df-on 6359
This theorem is used by:  tz7.49  8439  omeulem1  8574  zorn2lem7  10561
  Copyright terms: Public domain W3C validator