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

Theorem reg2exmid 4421
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 2117 . . . 4 {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}
21regexmidlemm 4417 . . 3 𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}
3 reg2exmid.1 . . . 4 𝑧(∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦)
4 pp0ex 4083 . . . . . 6 {∅, {∅}} ∈ V
54rabex 4042 . . . . 5 {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} ∈ V
6 eleq2 2181 . . . . . . 7 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (𝑤𝑧𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}))
76exbidv 1781 . . . . . 6 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (∃𝑤 𝑤𝑧 ↔ ∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}))
8 raleq 2603 . . . . . . 7 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (∀𝑦𝑧 𝑥𝑦 ↔ ∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦))
98rexeqbi1dv 2612 . . . . . 6 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → (∃𝑥𝑧𝑦𝑧 𝑥𝑦 ↔ ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦))
107, 9imbi12d 233 . . . . 5 (𝑧 = {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ((∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦) ↔ (∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦)))
115, 10spcv 2753 . . . 4 (∀𝑧(∃𝑤 𝑤𝑧 → ∃𝑥𝑧𝑦𝑧 𝑥𝑦) → (∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦))
123, 11ax-mp 5 . . 3 (∃𝑤 𝑤 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))} → ∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦)
132, 12ax-mp 5 . 2 𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦
141reg2exmidlema 4419 . 2 (∃𝑥 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}∀𝑦 ∈ {𝑢 ∈ {∅, {∅}} ∣ (𝑢 = {∅} ∨ (𝑢 = ∅ ∧ 𝜑))}𝑥𝑦 → (𝜑 ∨ ¬ 𝜑))
1513, 14ax-mp 5 1 (𝜑 ∨ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 682  wal 1314   = wceq 1316  wex 1453  wcel 1465  wral 2393  wrex 2394  {crab 2397  wss 3041  c0 3333  {csn 3497  {cpr 3498
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 588  ax-in2 589  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-14 1477  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-nul 4024  ax-pow 4068
This theorem depends on definitions:  df-bi 116  df-tru 1319  df-nf 1422  df-sb 1721  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-rab 2402  df-v 2662  df-dif 3043  df-un 3045  df-in 3047  df-ss 3054  df-nul 3334  df-pw 3482  df-sn 3503  df-pr 3504
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator