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

Theorem ordsoexmid 4539
Description: Weak linearity of ordinals implies the law of the excluded middle (that is, decidability of an arbitrary proposition). (Contributed by Mario Carneiro and Jim Kingdon, 29-Jan-2019.)
Hypothesis
Ref Expression
ordsoexmid.1 E Or On
Assertion
Ref Expression
ordsoexmid (𝜑 ∨ ¬ 𝜑)

Proof of Theorem ordsoexmid
Dummy variables 𝑥 𝑦 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ordtriexmidlem 4496 . . . . 5 {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
21elexi 2738 . . . 4 {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
32sucid 4395 . . 3 {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}
41onsuci 4493 . . . 4 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
5 suc0 4389 . . . . 5 suc ∅ = {∅}
6 0elon 4370 . . . . . 6 ∅ ∈ On
76onsuci 4493 . . . . 5 suc ∅ ∈ On
85, 7eqeltrri 2240 . . . 4 {∅} ∈ On
9 eleq1 2229 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ On ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
1093anbi1d 1306 . . . . . 6 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
11 eleq1 2229 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
12 eleq1 2229 . . . . . . . 8 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅}))
1312orbi1d 781 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
1411, 13imbi12d 233 . . . . . 6 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))))
1510, 14imbi12d 233 . . . . 5 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))) ↔ (({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))))
164elexi 2738 . . . . . 6 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
17 eleq1 2229 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑦 ∈ On ↔ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
18173anbi2d 1307 . . . . . . 7 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) ↔ (𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
19 eleq2 2230 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥𝑦𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
20 eleq2 2230 . . . . . . . . 9 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ 𝑦 ↔ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
2120orbi2d 780 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦) ↔ (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
2219, 21imbi12d 233 . . . . . . 7 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)) ↔ (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))))
2318, 22imbi12d 233 . . . . . 6 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦))) ↔ ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))))
24 p0ex 4167 . . . . . . 7 {∅} ∈ V
25 eleq1 2229 . . . . . . . . 9 (𝑧 = {∅} → (𝑧 ∈ On ↔ {∅} ∈ On))
26253anbi3d 1308 . . . . . . . 8 (𝑧 = {∅} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) ↔ (𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On)))
27 eleq2 2230 . . . . . . . . . 10 (𝑧 = {∅} → (𝑥𝑧𝑥 ∈ {∅}))
28 eleq1 2229 . . . . . . . . . 10 (𝑧 = {∅} → (𝑧𝑦 ↔ {∅} ∈ 𝑦))
2927, 28orbi12d 783 . . . . . . . . 9 (𝑧 = {∅} → ((𝑥𝑧𝑧𝑦) ↔ (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
3029imbi2d 229 . . . . . . . 8 (𝑧 = {∅} → ((𝑥𝑦 → (𝑥𝑧𝑧𝑦)) ↔ (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦))))
3126, 30imbi12d 233 . . . . . . 7 (𝑧 = {∅} → (((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦))) ↔ ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))))
32 ordsoexmid.1 . . . . . . . . . . 11 E Or On
33 df-iso 4275 . . . . . . . . . . 11 ( E Or On ↔ ( E Po On ∧ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦))))
3432, 33mpbi 144 . . . . . . . . . 10 ( E Po On ∧ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)))
3534simpri 112 . . . . . . . . 9 𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦))
36 epel 4270 . . . . . . . . . . . 12 (𝑥 E 𝑦𝑥𝑦)
37 epel 4270 . . . . . . . . . . . . 13 (𝑥 E 𝑧𝑥𝑧)
38 epel 4270 . . . . . . . . . . . . 13 (𝑧 E 𝑦𝑧𝑦)
3937, 38orbi12i 754 . . . . . . . . . . . 12 ((𝑥 E 𝑧𝑧 E 𝑦) ↔ (𝑥𝑧𝑧𝑦))
4036, 39imbi12i 238 . . . . . . . . . . 11 ((𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
41402ralbii 2474 . . . . . . . . . 10 (∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4241ralbii 2472 . . . . . . . . 9 (∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4335, 42mpbi 144 . . . . . . . 8 𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦))
4443rspec3 2556 . . . . . . 7 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4524, 31, 44vtocl 2780 . . . . . 6 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
4616, 23, 45vtocl 2780 . . . . 5 ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
472, 15, 46vtocl 2780 . . . 4 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
481, 4, 8, 47mp3an 1327 . . 3 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
492elsn 3592 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} = ∅)
50 ordtriexmidlem2 4497 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} = ∅ → ¬ 𝜑)
5149, 50sylbi 120 . . . 4 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} → ¬ 𝜑)
52 elirr 4518 . . . . . . 7 ¬ {∅} ∈ {∅}
53 elrabi 2879 . . . . . . 7 ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} ∈ {∅})
5452, 53mto 652 . . . . . 6 ¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑}
55 elsuci 4381 . . . . . . 7 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} ∨ {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5655ord 714 . . . . . 6 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5754, 56mpi 15 . . . . 5 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑})
58 0ex 4109 . . . . . . 7 ∅ ∈ V
59 biidd 171 . . . . . . 7 (𝑤 = ∅ → (𝜑𝜑))
6058, 59rabsnt 3651 . . . . . 6 ({𝑤 ∈ {∅} ∣ 𝜑} = {∅} → 𝜑)
6160eqcoms 2168 . . . . 5 ({∅} = {𝑤 ∈ {∅} ∣ 𝜑} → 𝜑)
6257, 61syl 14 . . . 4 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → 𝜑)
6351, 62orim12i 749 . . 3 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑𝜑))
643, 48, 63mp2b 8 . 2 𝜑𝜑)
65 orcom 718 . 2 ((¬ 𝜑𝜑) ↔ (𝜑 ∨ ¬ 𝜑))
6664, 65mpbi 144 1 (𝜑 ∨ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  w3a 968   = wceq 1343  wcel 2136  wral 2444  {crab 2448  c0 3409  {csn 3576   class class class wbr 3982   E cep 4265   Po wpo 4272   Or wor 4273  Oncon0 4341  suc csuc 4343
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 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rex 2450  df-rab 2453  df-v 2728  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-br 3983  df-opab 4044  df-tr 4081  df-eprel 4267  df-iso 4275  df-iord 4344  df-on 4346  df-suc 4349
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator