ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  reg2exmid GIF version

Theorem reg2exmid 4261
Description: If any inhabited set has a minimal element (when expressed by ), excluded middle follows. (Contributed by Jim Kingdon, 2-Oct-2021.)
Hypothesis
Ref Expression
reg2exmid.1 𝑧(∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦)
Assertion
Ref Expression
reg2exmid (𝜑 ∨ ¬ 𝜑)
Distinct variable groups:   𝜑,𝑤,𝑧   𝜑,𝑥,𝑧,𝑦

Proof of Theorem reg2exmid
Dummy variable 𝑢 is distinct from all other variables.
StepHypRef Expression
1 eqid 2040 . . . 4 {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}
21regexmidlemm 4257 . . 3 𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}
3 reg2exmid.1 . . . 4 𝑧(∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦)
4 pp0ex 3940 . . . . . 6 {∅, {∅}} ∈ V
54rabex 3901 . . . . 5 {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} ∈ V
6 eleq2 2101 . . . . . . 7 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (𝑤𝑧𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}))
76exbidv 1706 . . . . . 6 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (∃𝑤 𝑤𝑧 ↔ ∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}))
8 raleq 2505 . . . . . . 7 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (∀𝑦𝑧 𝑥𝑦 ↔ ∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦))
98rexeqbi1dv 2514 . . . . . 6 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (∃𝑥𝑧𝑦𝑧 𝑥𝑦 ↔ ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦))
107, 9imbi12d 223 . . . . 5 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ((∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦) ↔ (∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦)))
115, 10spcv 2646 . . . 4 (∀𝑧(∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦) → (∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦))
123, 11ax-mp 7 . . 3 (∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦)
132, 12ax-mp 7 . 2 𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦
141reg2exmidlema 4259 . 2 (∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦 → (𝜑 ∨ ¬ 𝜑))
1513, 14ax-mp 7 1 (𝜑 ∨ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 97  wo 629  wal 1241   = wceq 1243  wex 1381  wcel 1393  wral 2306  wrex 2307  {crab 2310  wss 2917  c0 3224  {csn 3375  {cpr 3376
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-nul 3883  ax-pow 3927
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-rab 2315  df-v 2559  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-nul 3225  df-pw 3361  df-sn 3381  df-pr 3382
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator