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

Theorem ordsoexmid 4546
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 4503 . . . . 5 {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
21elexi 2742 . . . 4 {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
32sucid 4402 . . 3 {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}
41onsuci 4500 . . . 4 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
5 suc0 4396 . . . . 5 suc ∅ = {∅}
6 0elon 4377 . . . . . 6 ∅ ∈ On
76onsuci 4500 . . . . 5 suc ∅ ∈ On
85, 7eqeltrri 2244 . . . 4 {∅} ∈ On
9 eleq1 2233 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ On ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
1093anbi1d 1311 . . . . . 6 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
11 eleq1 2233 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
12 eleq1 2233 . . . . . . . 8 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅}))
1312orbi1d 786 . . . . . . 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 2742 . . . . . 6 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
17 eleq1 2233 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑦 ∈ On ↔ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
18173anbi2d 1312 . . . . . . 7 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) ↔ (𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
19 eleq2 2234 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥𝑦𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
20 eleq2 2234 . . . . . . . . 9 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ 𝑦 ↔ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
2120orbi2d 785 . . . . . . . 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 4174 . . . . . . 7 {∅} ∈ V
25 eleq1 2233 . . . . . . . . 9 (𝑧 = {∅} → (𝑧 ∈ On ↔ {∅} ∈ On))
26253anbi3d 1313 . . . . . . . 8 (𝑧 = {∅} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) ↔ (𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On)))
27 eleq2 2234 . . . . . . . . . 10 (𝑧 = {∅} → (𝑥𝑧𝑥 ∈ {∅}))
28 eleq1 2233 . . . . . . . . . 10 (𝑧 = {∅} → (𝑧𝑦 ↔ {∅} ∈ 𝑦))
2927, 28orbi12d 788 . . . . . . . . 9 (𝑧 = {∅} → ((𝑥𝑧𝑧𝑦) ↔ (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
3029imbi2d 229 . . . . . . . 8 (𝑧 = {∅} → ((𝑥𝑦 → (𝑥𝑧𝑧𝑦)) ↔ (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦))))
3126, 30imbi12d 233 . . . . . . 7 (𝑧 = {∅} → (((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦))) ↔ ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))))
32 ordsoexmid.1 . . . . . . . . . . 11 E Or On
33 df-iso 4282 . . . . . . . . . . 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 4277 . . . . . . . . . . . 12 (𝑥 E 𝑦𝑥𝑦)
37 epel 4277 . . . . . . . . . . . . 13 (𝑥 E 𝑧𝑥𝑧)
38 epel 4277 . . . . . . . . . . . . 13 (𝑧 E 𝑦𝑧𝑦)
3937, 38orbi12i 759 . . . . . . . . . . . 12 ((𝑥 E 𝑧𝑧 E 𝑦) ↔ (𝑥𝑧𝑧𝑦))
4036, 39imbi12i 238 . . . . . . . . . . 11 ((𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
41402ralbii 2478 . . . . . . . . . 10 (∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4241ralbii 2476 . . . . . . . . 9 (∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4335, 42mpbi 144 . . . . . . . 8 𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦))
4443rspec3 2560 . . . . . . 7 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4524, 31, 44vtocl 2784 . . . . . 6 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
4616, 23, 45vtocl 2784 . . . . 5 ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
472, 15, 46vtocl 2784 . . . 4 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
481, 4, 8, 47mp3an 1332 . . 3 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
492elsn 3599 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} = ∅)
50 ordtriexmidlem2 4504 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} = ∅ → ¬ 𝜑)
5149, 50sylbi 120 . . . 4 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} → ¬ 𝜑)
52 elirr 4525 . . . . . . 7 ¬ {∅} ∈ {∅}
53 elrabi 2883 . . . . . . 7 ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} ∈ {∅})
5452, 53mto 657 . . . . . 6 ¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑}
55 elsuci 4388 . . . . . . 7 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} ∨ {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5655ord 719 . . . . . 6 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5754, 56mpi 15 . . . . 5 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑})
58 0ex 4116 . . . . . . 7 ∅ ∈ V
59 biidd 171 . . . . . . 7 (𝑤 = ∅ → (𝜑𝜑))
6058, 59rabsnt 3658 . . . . . 6 ({𝑤 ∈ {∅} ∣ 𝜑} = {∅} → 𝜑)
6160eqcoms 2173 . . . . 5 ({∅} = {𝑤 ∈ {∅} ∣ 𝜑} → 𝜑)
6257, 61syl 14 . . . 4 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → 𝜑)
6351, 62orim12i 754 . . 3 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑𝜑))
643, 48, 63mp2b 8 . 2 𝜑𝜑)
65 orcom 723 . 2 ((¬ 𝜑𝜑) ↔ (𝜑 ∨ ¬ 𝜑))
6664, 65mpbi 144 1 (𝜑 ∨ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 703  w3a 973   = wceq 1348  wcel 2141  wral 2448  {crab 2452  c0 3414  {csn 3583   class class class wbr 3989   E cep 4272   Po wpo 4279   Or wor 4280  Oncon0 4348  suc csuc 4350
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-rab 2457  df-v 2732  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-br 3990  df-opab 4051  df-tr 4088  df-eprel 4274  df-iso 4282  df-iord 4351  df-on 4353  df-suc 4356
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator