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

Theorem ordsoexmid 4536
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 4493 . . . . 5 {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
21elexi 2736 . . . 4 {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
32sucid 4392 . . 3 {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}
41onsuci 4490 . . . 4 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On
5 suc0 4386 . . . . 5 suc ∅ = {∅}
6 0elon 4367 . . . . . 6 ∅ ∈ On
76onsuci 4490 . . . . 5 suc ∅ ∈ On
85, 7eqeltrri 2238 . . . 4 {∅} ∈ On
9 eleq1 2227 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ On ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
1093anbi1d 1305 . . . . . 6 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) ↔ ({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
11 eleq1 2227 . . . . . . 7 (𝑥 = {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} ↔ {𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
12 eleq1 2227 . . . . . . . 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 2736 . . . . . 6 suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ V
17 eleq1 2227 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑦 ∈ On ↔ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On))
18173anbi2d 1306 . . . . . . 7 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) ↔ (𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On)))
19 eleq2 2228 . . . . . . . 8 (𝑦 = suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥𝑦𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
20 eleq2 2228 . . . . . . . . 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 4164 . . . . . . 7 {∅} ∈ V
25 eleq1 2227 . . . . . . . . 9 (𝑧 = {∅} → (𝑧 ∈ On ↔ {∅} ∈ On))
26253anbi3d 1307 . . . . . . . 8 (𝑧 = {∅} → ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) ↔ (𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On)))
27 eleq2 2228 . . . . . . . . . 10 (𝑧 = {∅} → (𝑥𝑧𝑥 ∈ {∅}))
28 eleq1 2227 . . . . . . . . . 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 4272 . . . . . . . . . . 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 4267 . . . . . . . . . . . 12 (𝑥 E 𝑦𝑥𝑦)
37 epel 4267 . . . . . . . . . . . . 13 (𝑥 E 𝑧𝑥𝑧)
38 epel 4267 . . . . . . . . . . . . 13 (𝑧 E 𝑦𝑧𝑦)
3937, 38orbi12i 754 . . . . . . . . . . . 12 ((𝑥 E 𝑧𝑧 E 𝑦) ↔ (𝑥𝑧𝑧𝑦))
4036, 39imbi12i 238 . . . . . . . . . . 11 ((𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
41402ralbii 2472 . . . . . . . . . 10 (∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4241ralbii 2470 . . . . . . . . 9 (∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥 E 𝑦 → (𝑥 E 𝑧𝑧 E 𝑦)) ↔ ∀𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4335, 42mpbi 144 . . . . . . . 8 𝑥 ∈ On ∀𝑦 ∈ On ∀𝑧 ∈ On (𝑥𝑦 → (𝑥𝑧𝑧𝑦))
4443rspec3 2554 . . . . . . 7 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ 𝑧 ∈ On) → (𝑥𝑦 → (𝑥𝑧𝑧𝑦)))
4524, 31, 44vtocl 2778 . . . . . 6 ((𝑥 ∈ On ∧ 𝑦 ∈ On ∧ {∅} ∈ On) → (𝑥𝑦 → (𝑥 ∈ {∅} ∨ {∅} ∈ 𝑦)))
4616, 23, 45vtocl 2778 . . . . 5 ((𝑥 ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → (𝑥 ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (𝑥 ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
472, 15, 46vtocl 2778 . . . 4 (({𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ suc {𝑤 ∈ {∅} ∣ 𝜑} ∈ On ∧ {∅} ∈ On) → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑})))
481, 4, 8, 47mp3an 1326 . . 3 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ∨ {∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑}))
492elsn 3589 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} ↔ {𝑤 ∈ {∅} ∣ 𝜑} = ∅)
50 ordtriexmidlem2 4494 . . . . 5 ({𝑤 ∈ {∅} ∣ 𝜑} = ∅ → ¬ 𝜑)
5149, 50sylbi 120 . . . 4 ({𝑤 ∈ {∅} ∣ 𝜑} ∈ {∅} → ¬ 𝜑)
52 elirr 4515 . . . . . . 7 ¬ {∅} ∈ {∅}
53 elrabi 2877 . . . . . . 7 ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} ∈ {∅})
5452, 53mto 652 . . . . . 6 ¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑}
55 elsuci 4378 . . . . . . 7 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → ({∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} ∨ {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5655ord 714 . . . . . 6 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → (¬ {∅} ∈ {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑}))
5754, 56mpi 15 . . . . 5 ({∅} ∈ suc {𝑤 ∈ {∅} ∣ 𝜑} → {∅} = {𝑤 ∈ {∅} ∣ 𝜑})
58 0ex 4106 . . . . . . 7 ∅ ∈ V
59 biidd 171 . . . . . . 7 (𝑤 = ∅ → (𝜑𝜑))
6058, 59rabsnt 3648 . . . . . 6 ({𝑤 ∈ {∅} ∣ 𝜑} = {∅} → 𝜑)
6160eqcoms 2167 . . . . 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 967   = wceq 1342  wcel 2135  wral 2442  {crab 2446  c0 3407  {csn 3573   class class class wbr 3979   E cep 4262   Po wpo 4269   Or wor 4270  Oncon0 4338  suc csuc 4340
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-13 2137  ax-14 2138  ax-ext 2146  ax-sep 4097  ax-nul 4105  ax-pow 4150  ax-pr 4184  ax-un 4408  ax-setind 4511
This theorem depends on definitions:  df-bi 116  df-3an 969  df-tru 1345  df-nf 1448  df-sb 1750  df-eu 2016  df-mo 2017  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ne 2335  df-ral 2447  df-rex 2448  df-rab 2451  df-v 2726  df-dif 3116  df-un 3118  df-in 3120  df-ss 3127  df-nul 3408  df-pw 3558  df-sn 3579  df-pr 3580  df-op 3582  df-uni 3787  df-br 3980  df-opab 4041  df-tr 4078  df-eprel 4264  df-iso 4272  df-iord 4341  df-on 4343  df-suc 4346
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator