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

Theorem regexmidlem1 4258
Description: Lemma for regexmid 4260. If 𝐴 has a minimal element, excluded middle follows. (Contributed by Jim Kingdon, 3-Sep-2019.)
Hypothesis
Ref Expression
regexmidlemm.a 𝐴 = {𝑥 ∈ {∅, {∅}} ∣ (𝑥 = {∅} ∨ (𝑥 = ∅ ∧ 𝜑))}
Assertion
Ref Expression
regexmidlem1 (∃𝑦(𝑦𝐴 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴)) → (𝜑 ∨ ¬ 𝜑))
Distinct variable groups:   𝑦,𝐴,𝑧   𝜑,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑧)   𝐴(𝑥)

Proof of Theorem regexmidlem1
StepHypRef Expression
1 eqeq1 2046 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 = {∅} ↔ 𝑦 = {∅}))
2 eqeq1 2046 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 = ∅ ↔ 𝑦 = ∅))
32anbi1d 438 . . . . . . 7 (𝑥 = 𝑦 → ((𝑥 = ∅ ∧ 𝜑) ↔ (𝑦 = ∅ ∧ 𝜑)))
41, 3orbi12d 707 . . . . . 6 (𝑥 = 𝑦 → ((𝑥 = {∅} ∨ (𝑥 = ∅ ∧ 𝜑)) ↔ (𝑦 = {∅} ∨ (𝑦 = ∅ ∧ 𝜑))))
5 regexmidlemm.a . . . . . 6 𝐴 = {𝑥 ∈ {∅, {∅}} ∣ (𝑥 = {∅} ∨ (𝑥 = ∅ ∧ 𝜑))}
64, 5elrab2 2700 . . . . 5 (𝑦𝐴 ↔ (𝑦 ∈ {∅, {∅}} ∧ (𝑦 = {∅} ∨ (𝑦 = ∅ ∧ 𝜑))))
76simprbi 260 . . . 4 (𝑦𝐴 → (𝑦 = {∅} ∨ (𝑦 = ∅ ∧ 𝜑)))
8 0ex 3884 . . . . . . . . 9 ∅ ∈ V
98snid 3402 . . . . . . . 8 ∅ ∈ {∅}
10 eleq2 2101 . . . . . . . 8 (𝑦 = {∅} → (∅ ∈ 𝑦 ↔ ∅ ∈ {∅}))
119, 10mpbiri 157 . . . . . . 7 (𝑦 = {∅} → ∅ ∈ 𝑦)
12 eleq1 2100 . . . . . . . . 9 (𝑧 = ∅ → (𝑧𝑦 ↔ ∅ ∈ 𝑦))
13 eleq1 2100 . . . . . . . . . 10 (𝑧 = ∅ → (𝑧𝐴 ↔ ∅ ∈ 𝐴))
1413notbid 592 . . . . . . . . 9 (𝑧 = ∅ → (¬ 𝑧𝐴 ↔ ¬ ∅ ∈ 𝐴))
1512, 14imbi12d 223 . . . . . . . 8 (𝑧 = ∅ → ((𝑧𝑦 → ¬ 𝑧𝐴) ↔ (∅ ∈ 𝑦 → ¬ ∅ ∈ 𝐴)))
168, 15spcv 2646 . . . . . . 7 (∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴) → (∅ ∈ 𝑦 → ¬ ∅ ∈ 𝐴))
1711, 16syl5com 26 . . . . . 6 (𝑦 = {∅} → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴) → ¬ ∅ ∈ 𝐴))
188prid1 3476 . . . . . . . . . 10 ∅ ∈ {∅, {∅}}
19 eqeq1 2046 . . . . . . . . . . . 12 (𝑥 = ∅ → (𝑥 = {∅} ↔ ∅ = {∅}))
20 eqeq1 2046 . . . . . . . . . . . . 13 (𝑥 = ∅ → (𝑥 = ∅ ↔ ∅ = ∅))
2120anbi1d 438 . . . . . . . . . . . 12 (𝑥 = ∅ → ((𝑥 = ∅ ∧ 𝜑) ↔ (∅ = ∅ ∧ 𝜑)))
2219, 21orbi12d 707 . . . . . . . . . . 11 (𝑥 = ∅ → ((𝑥 = {∅} ∨ (𝑥 = ∅ ∧ 𝜑)) ↔ (∅ = {∅} ∨ (∅ = ∅ ∧ 𝜑))))
2322, 5elrab2 2700 . . . . . . . . . 10 (∅ ∈ 𝐴 ↔ (∅ ∈ {∅, {∅}} ∧ (∅ = {∅} ∨ (∅ = ∅ ∧ 𝜑))))
2418, 23mpbiran 847 . . . . . . . . 9 (∅ ∈ 𝐴 ↔ (∅ = {∅} ∨ (∅ = ∅ ∧ 𝜑)))
25 pm2.46 658 . . . . . . . . 9 (¬ (∅ = {∅} ∨ (∅ = ∅ ∧ 𝜑)) → ¬ (∅ = ∅ ∧ 𝜑))
2624, 25sylnbi 603 . . . . . . . 8 (¬ ∅ ∈ 𝐴 → ¬ (∅ = ∅ ∧ 𝜑))
27 eqid 2040 . . . . . . . . 9 ∅ = ∅
2827biantrur 287 . . . . . . . 8 (𝜑 ↔ (∅ = ∅ ∧ 𝜑))
2926, 28sylnibr 602 . . . . . . 7 (¬ ∅ ∈ 𝐴 → ¬ 𝜑)
3029olcd 653 . . . . . 6 (¬ ∅ ∈ 𝐴 → (𝜑 ∨ ¬ 𝜑))
3117, 30syl6 29 . . . . 5 (𝑦 = {∅} → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴) → (𝜑 ∨ ¬ 𝜑)))
32 orc 633 . . . . . . 7 (𝜑 → (𝜑 ∨ ¬ 𝜑))
3332adantl 262 . . . . . 6 ((𝑦 = ∅ ∧ 𝜑) → (𝜑 ∨ ¬ 𝜑))
3433a1d 22 . . . . 5 ((𝑦 = ∅ ∧ 𝜑) → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴) → (𝜑 ∨ ¬ 𝜑)))
3531, 34jaoi 636 . . . 4 ((𝑦 = {∅} ∨ (𝑦 = ∅ ∧ 𝜑)) → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴) → (𝜑 ∨ ¬ 𝜑)))
367, 35syl 14 . . 3 (𝑦𝐴 → (∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴) → (𝜑 ∨ ¬ 𝜑)))
3736imp 115 . 2 ((𝑦𝐴 ∧ ∀𝑧(𝑧𝑦 → ¬ 𝑧𝐴)) → (𝜑 ∨ ¬ 𝜑))
3837exlimiv 1489 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  {crab 2310  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-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-nul 3883
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-rab 2315  df-v 2559  df-dif 2920  df-un 2922  df-nul 3225  df-sn 3381  df-pr 3382
This theorem is referenced by:  regexmid  4260  nnregexmid  4342
  Copyright terms: Public domain W3C validator