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

Theorem ordsoexmid 4341
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 4299 . . . . 5 {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
21elexi 2622 . . . 4 {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
32sucid 4208 . . 3 {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}
41onsuci 4296 . . . 4 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
5 suc0 4202 . . . . 5 suc ∅ = {∅}
6 0elon 4183 . . . . . 6 ∅ ∈ On
76onsuci 4296 . . . . 5 suc ∅ ∈ On
85, 7eqeltrri 2156 . . . 4 {∅} ∈ On
9 eleq1 2145 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ On ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
1093anbi1d 1248 . . . . . 6 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
11 eleq1 2145 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
12 eleq1 2145 . . . . . . . 8 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅}))
1312orbi1d 738 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
1411, 13imbi12d 232 . . . . . 6 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))))
1510, 14imbi12d 232 . . . . 5 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))) ↔ (({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))))
164elexi 2622 . . . . . 6 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
17 eleq1 2145 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑦 ∈ On ↔ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
18173anbi2d 1249 . . . . . . 7 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) ↔ (𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
19 eleq2 2146 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥𝑦𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
20 eleq2 2146 . . . . . . . . 9 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ 𝑦 ↔ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
2120orbi2d 737 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦) ↔ (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
2219, 21imbi12d 232 . . . . . . 7 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)) ↔ (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))))
2318, 22imbi12d 232 . . . . . 6 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦))) ↔ ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))))
24 p0ex 3987 . . . . . . 7 {∅} ∈ V
25 eleq1 2145 . . . . . . . . 9 (𝑧 = {∅} → (𝑧 ∈ On ↔ {∅} ∈ On))
26253anbi3d 1250 . . . . . . . 8 (𝑧 = {∅} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) ↔ (𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On)))
27 eleq2 2146 . . . . . . . . . 10 (𝑧 = {∅} → (𝑥𝑧𝑥 ∈ {∅}))
28 eleq1 2145 . . . . . . . . . 10 (𝑧 = {∅} → (𝑧𝑦 ↔ {∅} ∈ 𝑦))
2927, 28orbi12d 740 . . . . . . . . 9 (𝑧 = {∅} → ((𝑥𝑧𝑧𝑦) ↔ (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
3029imbi2d 228 . . . . . . . 8 (𝑧 = {∅} → ((𝑥𝑦 → (𝑥𝑧𝑧𝑦)) ↔ (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦))))
3126, 30imbi12d 232 . . . . . . 7 (𝑧 = {∅} → (((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦))) ↔ ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))))
32 ordsoexmid.1 . . . . . . . . . . 11 E Or On
33 df-iso 4088 . . . . . . . . . . 11 ( E Or On ↔ ( E Po On ∧ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦))))
3432, 33mpbi 143 . . . . . . . . . 10 ( E Po On ∧ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)))
3534simpri 111 . . . . . . . . 9 𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦))
36 epel 4083 . . . . . . . . . . . 12 (𝑥 E 𝑦𝑥𝑦)
37 epel 4083 . . . . . . . . . . . . 13 (𝑥 E 𝑧𝑥𝑧)
38 epel 4083 . . . . . . . . . . . . 13 (𝑧 E 𝑦𝑧𝑦)
3937, 38orbi12i 714 . . . . . . . . . . . 12 ((𝑥 E 𝑧𝑧 E 𝑦) ↔ (𝑥𝑧𝑧𝑦))
4036, 39imbi12i 237 . . . . . . . . . . 11 ((𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
41402ralbii 2380 . . . . . . . . . 10 (∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4241ralbii 2378 . . . . . . . . 9 (∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4335, 42mpbi 143 . . . . . . . 8 𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦))
4443rspec3 2457 . . . . . . 7 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4524, 31, 44vtocl 2664 . . . . . 6 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
4616, 23, 45vtocl 2664 . . . . 5 ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
472, 15, 46vtocl 2664 . . . 4 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
481, 4, 8, 47mp3an 1269 . . 3 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
492elsn 3438 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} = ∅)
50 ordtriexmidlem2 4300 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} = ∅ → ¬ 𝜑)
5149, 50sylbi 119 . . . 4 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} → ¬ 𝜑)
52 elirr 4320 . . . . . . 7 ¬ {∅} ∈ {∅}
53 elrabi 2756 . . . . . . 7 ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} ∈ {∅})
5452, 53mto 621 . . . . . 6 ¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑}
55 elsuci 4194 . . . . . . 7 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} ∨ {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5655ord 676 . . . . . 6 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5754, 56mpi 15 . . . . 5 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑})
58 0ex 3931 . . . . . . 7 ∅ ∈ V
59 biidd 170 . . . . . . 7 (𝑤 = ∅ → (𝜑𝜑))
6058, 59rabsnt 3491 . . . . . 6 ({𝑤 ∈ {∅} ∣ 𝜑} = {∅} → 𝜑)
6160eqcoms 2086 . . . . 5 ({∅} = {𝑤 ∈ {∅} ∣ 𝜑} → 𝜑)
6257, 61syl 14 . . . 4 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → 𝜑)
6351, 62orim12i 709 . . 3 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}) → (¬ 𝜑𝜑))
643, 48, 63mp2b 8 . 2 𝜑𝜑)
65 orcom 680 . 2 ((¬ 𝜑𝜑) ↔ (𝜑 ∨ ¬ 𝜑))
6664, 65mpbi 143 1 (𝜑 ∨ ¬ 𝜑)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 102  wo 662  w3a 920   = wceq 1285  wcel 1434  wral 2353  {crab 2357  c0 3269  {csn 3422   class class class wbr 3811   E cep 4078   Po wpo 4085   Or wor 4086  Oncon0 4154  suc csuc 4156
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2065  ax-sep 3922  ax-nul 3930  ax-pow 3974  ax-pr 4000  ax-un 4224  ax-setind 4316
This theorem depends on definitions:  df-bi 115  df-3an 922  df-tru 1288  df-nf 1391  df-sb 1688  df-eu 1946  df-mo 1947  df-clab 2070  df-cleq 2076  df-clel 2079  df-nfc 2212  df-ne 2250  df-ral 2358  df-rex 2359  df-rab 2362  df-v 2614  df-dif 2986  df-un 2988  df-in 2990  df-ss 2997  df-nul 3270  df-pw 3408  df-sn 3428  df-pr 3429  df-op 3431  df-uni 3628  df-br 3812  df-opab 3866  df-tr 3902  df-eprel 4080  df-iso 4088  df-iord 4157  df-on 4159  df-suc 4162
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator