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

Theorem ordtriexmid 4492
Description: Ordinal trichotomy implies the law of the excluded middle (that is, decidability of an arbitrary proposition).

This theorem is stated in "Constructive ordinals", [Crosilla], p. "Set-theoretic principles incompatible with intuitionistic logic".

Also see exmidontri 7186 which is much the same theorem but biconditionalized and using the EXMID notation. (Contributed by Mario Carneiro and Jim Kingdon, 14-Nov-2018.)

Hypothesis
Ref Expression
ordtriexmid.1 𝑥 ∈ On ∀𝑦 ∈ On (𝑥𝑦𝑥 = 𝑦𝑦𝑥)
Assertion
Ref Expression
ordtriexmid (𝜑 ∨ ¬ 𝜑)
Distinct variable groups:   𝑥,𝑦   𝜑,𝑥
Allowed substitution hint:   𝜑(𝑦)

Proof of Theorem ordtriexmid
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 noel 3408 . . . 4 ¬ {𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅
2 ordtriexmidlem 4490 . . . . . 6 {𝑧 ∈ {∅} ∣ 𝜑} ∈ On
3 eleq1 2227 . . . . . . . 8 (𝑥 = {𝑧 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ ∅ ↔ {𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅))
4 eqeq1 2171 . . . . . . . 8 (𝑥 = {𝑧 ∈ {∅} ∣ 𝜑} → (𝑥 = ∅ ↔ {𝑧 ∈ {∅} ∣ 𝜑} = ∅))
5 eleq2 2228 . . . . . . . 8 (𝑥 = {𝑧 ∈ {∅} ∣ 𝜑} → (∅ ∈ 𝑥 ↔ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑}))
63, 4, 53orbi123d 1300 . . . . . . 7 (𝑥 = {𝑧 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ ∅ ∨ 𝑥 = ∅ ∨ ∅ ∈ 𝑥) ↔ ({𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅ ∨ {𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑})))
7 0elon 4364 . . . . . . . 8 ∅ ∈ On
8 0ex 4103 . . . . . . . . 9 ∅ ∈ V
9 eleq1 2227 . . . . . . . . . . 11 (𝑦 = ∅ → (𝑦 ∈ On ↔ ∅ ∈ On))
109anbi2d 460 . . . . . . . . . 10 (𝑦 = ∅ → ((𝑥 ∈ On ∧ 𝑦 ∈ On) ↔ (𝑥 ∈ On ∧ ∅ ∈ On)))
11 eleq2 2228 . . . . . . . . . . 11 (𝑦 = ∅ → (𝑥𝑦𝑥 ∈ ∅))
12 eqeq2 2174 . . . . . . . . . . 11 (𝑦 = ∅ → (𝑥 = 𝑦𝑥 = ∅))
13 eleq1 2227 . . . . . . . . . . 11 (𝑦 = ∅ → (𝑦𝑥 ↔ ∅ ∈ 𝑥))
1411, 12, 133orbi123d 1300 . . . . . . . . . 10 (𝑦 = ∅ → ((𝑥𝑦𝑥 = 𝑦𝑦𝑥) ↔ (𝑥 ∈ ∅ ∨ 𝑥 = ∅ ∨ ∅ ∈ 𝑥)))
1510, 14imbi12d 233 . . . . . . . . 9 (𝑦 = ∅ → (((𝑥 ∈ On ∧ 𝑦 ∈ On) → (𝑥𝑦𝑥 = 𝑦𝑦𝑥)) ↔ ((𝑥 ∈ On ∧ ∅ ∈ On) → (𝑥 ∈ ∅ ∨ 𝑥 = ∅ ∨ ∅ ∈ 𝑥))))
16 ordtriexmid.1 . . . . . . . . . 10 𝑥 ∈ On ∀𝑦 ∈ On (𝑥𝑦𝑥 = 𝑦𝑦𝑥)
1716rspec2 2553 . . . . . . . . 9 ((𝑥 ∈ On ∧ 𝑦 ∈ On) → (𝑥𝑦𝑥 = 𝑦𝑦𝑥))
188, 15, 17vtocl 2775 . . . . . . . 8 ((𝑥 ∈ On ∧ ∅ ∈ On) → (𝑥 ∈ ∅ ∨ 𝑥 = ∅ ∨ ∅ ∈ 𝑥))
197, 18mpan2 422 . . . . . . 7 (𝑥 ∈ On → (𝑥 ∈ ∅ ∨ 𝑥 = ∅ ∨ ∅ ∈ 𝑥))
206, 19vtoclga 2787 . . . . . 6 ({𝑧 ∈ {∅} ∣ 𝜑} ∈ On → ({𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅ ∨ {𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑}))
212, 20ax-mp 5 . . . . 5 ({𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅ ∨ {𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑})
22 3orass 970 . . . . 5 (({𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅ ∨ {𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑}) ↔ ({𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅ ∨ ({𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑})))
2321, 22mpbi 144 . . . 4 ({𝑧 ∈ {∅} ∣ 𝜑} ∈ ∅ ∨ ({𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑}))
241, 23mtpor 1414 . . 3 ({𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑})
25 ordtriexmidlem2 4491 . . . 4 ({𝑧 ∈ {∅} ∣ 𝜑} = ∅ → ¬ 𝜑)
268snid 3601 . . . . . 6 ∅ ∈ {∅}
27 biidd 171 . . . . . . 7 (𝑧 = ∅ → (𝜑𝜑))
2827elrab3 2878 . . . . . 6 (∅ ∈ {∅} → (∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑} ↔ 𝜑))
2926, 28ax-mp 5 . . . . 5 (∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑} ↔ 𝜑)
3029biimpi 119 . . . 4 (∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑} → 𝜑)
3125, 30orim12i 749 . . 3 (({𝑧 ∈ {∅} ∣ 𝜑} = ∅ ∨ ∅ ∈ {𝑧 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑𝜑))
3224, 31ax-mp 5 . 2 𝜑𝜑)
33 orcom 718 . 2 ((𝜑 ∨ ¬ 𝜑) ↔ (¬ 𝜑𝜑))
3432, 33mpbir 145 1 (𝜑 ∨ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698  w3o 966   = wceq 1342  wcel 2135  wral 2442  {crab 2446  c0 3404  {csn 3570  Oncon0 4335
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 604  ax-in2 605  ax-io 699  ax-5 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-14 2138  ax-ext 2146  ax-sep 4094  ax-nul 4102  ax-pow 4147
This theorem depends on definitions:  df-bi 116  df-3or 968  df-3an 969  df-tru 1345  df-nf 1448  df-sb 1750  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ral 2447  df-rex 2448  df-rab 2451  df-v 2723  df-dif 3113  df-un 3115  df-in 3117  df-ss 3124  df-nul 3405  df-pw 3555  df-sn 3576  df-uni 3784  df-tr 4075  df-iord 4338  df-on 4340  df-suc 4343
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator