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

Theorem ordsoexmid 4239
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 x y z w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ordtriexmidlem 4207 . . . . 5 {w {∅} ∣ φ} On
21elexi 2561 . . . 4 {w {∅} ∣ φ} V
32sucid 4119 . . 3 {w {∅} ∣ φ} suc {w {∅} ∣ φ}
41onsuci 4206 . . . 4 suc {w {∅} ∣ φ} On
5 suc0 4113 . . . . 5 suc ∅ = {∅}
6 0elon 4094 . . . . . 6 On
76onsuci 4206 . . . . 5 suc ∅ On
85, 7eqeltrri 2108 . . . 4 {∅} On
9 eleq1 2097 . . . . . . 7 (x = {w {∅} ∣ φ} → (x On ↔ {w {∅} ∣ φ} On))
1093anbi1d 1210 . . . . . 6 (x = {w {∅} ∣ φ} → ((x On suc {w {∅} ∣ φ} On {∅} On) ↔ ({w {∅} ∣ φ} On suc {w {∅} ∣ φ} On {∅} On)))
11 eleq1 2097 . . . . . . 7 (x = {w {∅} ∣ φ} → (x suc {w {∅} ∣ φ} ↔ {w {∅} ∣ φ} suc {w {∅} ∣ φ}))
12 eleq1 2097 . . . . . . . 8 (x = {w {∅} ∣ φ} → (x {∅} ↔ {w {∅} ∣ φ} {∅}))
1312orbi1d 704 . . . . . . 7 (x = {w {∅} ∣ φ} → ((x {∅} {∅} suc {w {∅} ∣ φ}) ↔ ({w {∅} ∣ φ} {∅} {∅} suc {w {∅} ∣ φ})))
1411, 13imbi12d 223 . . . . . 6 (x = {w {∅} ∣ φ} → ((x suc {w {∅} ∣ φ} → (x {∅} {∅} suc {w {∅} ∣ φ})) ↔ ({w {∅} ∣ φ} suc {w {∅} ∣ φ} → ({w {∅} ∣ φ} {∅} {∅} suc {w {∅} ∣ φ}))))
1510, 14imbi12d 223 . . . . 5 (x = {w {∅} ∣ φ} → (((x On suc {w {∅} ∣ φ} On {∅} On) → (x suc {w {∅} ∣ φ} → (x {∅} {∅} suc {w {∅} ∣ φ}))) ↔ (({w {∅} ∣ φ} On suc {w {∅} ∣ φ} On {∅} On) → ({w {∅} ∣ φ} suc {w {∅} ∣ φ} → ({w {∅} ∣ φ} {∅} {∅} suc {w {∅} ∣ φ})))))
164elexi 2561 . . . . . 6 suc {w {∅} ∣ φ} V
17 eleq1 2097 . . . . . . . 8 (y = suc {w {∅} ∣ φ} → (y On ↔ suc {w {∅} ∣ φ} On))
18173anbi2d 1211 . . . . . . 7 (y = suc {w {∅} ∣ φ} → ((x On y On {∅} On) ↔ (x On suc {w {∅} ∣ φ} On {∅} On)))
19 eleq2 2098 . . . . . . . 8 (y = suc {w {∅} ∣ φ} → (x yx suc {w {∅} ∣ φ}))
20 eleq2 2098 . . . . . . . . 9 (y = suc {w {∅} ∣ φ} → ({∅} y ↔ {∅} suc {w {∅} ∣ φ}))
2120orbi2d 703 . . . . . . . 8 (y = suc {w {∅} ∣ φ} → ((x {∅} {∅} y) ↔ (x {∅} {∅} suc {w {∅} ∣ φ})))
2219, 21imbi12d 223 . . . . . . 7 (y = suc {w {∅} ∣ φ} → ((x y → (x {∅} {∅} y)) ↔ (x suc {w {∅} ∣ φ} → (x {∅} {∅} suc {w {∅} ∣ φ}))))
2318, 22imbi12d 223 . . . . . 6 (y = suc {w {∅} ∣ φ} → (((x On y On {∅} On) → (x y → (x {∅} {∅} y))) ↔ ((x On suc {w {∅} ∣ φ} On {∅} On) → (x suc {w {∅} ∣ φ} → (x {∅} {∅} suc {w {∅} ∣ φ})))))
24 p0ex 3929 . . . . . . 7 {∅} V
25 eleq1 2097 . . . . . . . . 9 (z = {∅} → (z On ↔ {∅} On))
26253anbi3d 1212 . . . . . . . 8 (z = {∅} → ((x On y On z On) ↔ (x On y On {∅} On)))
27 eleq2 2098 . . . . . . . . . 10 (z = {∅} → (x zx {∅}))
28 eleq1 2097 . . . . . . . . . 10 (z = {∅} → (z y ↔ {∅} y))
2927, 28orbi12d 706 . . . . . . . . 9 (z = {∅} → ((x z z y) ↔ (x {∅} {∅} y)))
3029imbi2d 219 . . . . . . . 8 (z = {∅} → ((x y → (x z z y)) ↔ (x y → (x {∅} {∅} y))))
3126, 30imbi12d 223 . . . . . . 7 (z = {∅} → (((x On y On z On) → (x y → (x z z y))) ↔ ((x On y On {∅} On) → (x y → (x {∅} {∅} y)))))
32 ordsoexmid.1 . . . . . . . . . . 11 E Or On
33 df-iso 4024 . . . . . . . . . . 11 ( E Or On ↔ ( E Po On x On y On z On (x E y → (x E z z E y))))
3432, 33mpbi 133 . . . . . . . . . 10 ( E Po On x On y On z On (x E y → (x E z z E y)))
3534simpri 106 . . . . . . . . 9 x On y On z On (x E y → (x E z z E y))
36 epel 4019 . . . . . . . . . . . 12 (x E yx y)
37 epel 4019 . . . . . . . . . . . . 13 (x E zx z)
38 epel 4019 . . . . . . . . . . . . 13 (z E yz y)
3937, 38orbi12i 680 . . . . . . . . . . . 12 ((x E z z E y) ↔ (x z z y))
4036, 39imbi12i 228 . . . . . . . . . . 11 ((x E y → (x E z z E y)) ↔ (x y → (x z z y)))
41402ralbii 2326 . . . . . . . . . 10 (y On z On (x E y → (x E z z E y)) ↔ y On z On (x y → (x z z y)))
4241ralbii 2324 . . . . . . . . 9 (x On y On z On (x E y → (x E z z E y)) ↔ x On y On z On (x y → (x z z y)))
4335, 42mpbi 133 . . . . . . . 8 x On y On z On (x y → (x z z y))
4443rspec3 2403 . . . . . . 7 ((x On y On z On) → (x y → (x z z y)))
4524, 31, 44vtocl 2602 . . . . . 6 ((x On y On {∅} On) → (x y → (x {∅} {∅} y)))
4616, 23, 45vtocl 2602 . . . . 5 ((x On suc {w {∅} ∣ φ} On {∅} On) → (x suc {w {∅} ∣ φ} → (x {∅} {∅} suc {w {∅} ∣ φ})))
472, 15, 46vtocl 2602 . . . 4 (({w {∅} ∣ φ} On suc {w {∅} ∣ φ} On {∅} On) → ({w {∅} ∣ φ} suc {w {∅} ∣ φ} → ({w {∅} ∣ φ} {∅} {∅} suc {w {∅} ∣ φ})))
481, 4, 8, 47mp3an 1231 . . 3 ({w {∅} ∣ φ} suc {w {∅} ∣ φ} → ({w {∅} ∣ φ} {∅} {∅} suc {w {∅} ∣ φ}))
492elsnc 3389 . . . . 5 ({w {∅} ∣ φ} {∅} ↔ {w {∅} ∣ φ} = ∅)
50 ordtriexmidlem2 4208 . . . . 5 ({w {∅} ∣ φ} = ∅ → ¬ φ)
5149, 50sylbi 114 . . . 4 ({w {∅} ∣ φ} {∅} → ¬ φ)
52 elirr 4223 . . . . . . 7 ¬ {∅} {∅}
53 elrabi 2689 . . . . . . 7 ({∅} {w {∅} ∣ φ} → {∅} {∅})
5452, 53mto 587 . . . . . 6 ¬ {∅} {w {∅} ∣ φ}
55 elsuci 4105 . . . . . . 7 ({∅} suc {w {∅} ∣ φ} → ({∅} {w {∅} ∣ φ} {∅} = {w {∅} ∣ φ}))
5655ord 642 . . . . . 6 ({∅} suc {w {∅} ∣ φ} → (¬ {∅} {w {∅} ∣ φ} → {∅} = {w {∅} ∣ φ}))
5754, 56mpi 15 . . . . 5 ({∅} suc {w {∅} ∣ φ} → {∅} = {w {∅} ∣ φ})
58 0ex 3874 . . . . . . 7 V
59 biidd 161 . . . . . . 7 (w = ∅ → (φφ))
6058, 59rabsnt 3435 . . . . . 6 ({w {∅} ∣ φ} = {∅} → φ)
6160eqcoms 2040 . . . . 5 ({∅} = {w {∅} ∣ φ} → φ)
6257, 61syl 14 . . . 4 ({∅} suc {w {∅} ∣ φ} → φ)
6351, 62orim12i 675 . . 3 (({w {∅} ∣ φ} {∅} {∅} suc {w {∅} ∣ φ}) → (¬ φ φ))
643, 48, 63mp2b 8 . 2 φ φ)
65 orcom 646 . 2 ((¬ φ φ) ↔ (φ ¬ φ))
6664, 65mpbi 133 1 (φ ¬ φ)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4   wa 97   wo 628   w3a 884   = wceq 1242   wcel 1390  wral 2300  {crab 2304  c0 3218  {csn 3366   class class class wbr 3754   E cep 4014   Po wpo 4021   Or wor 4022  Oncon0 4065  suc csuc 4067
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 629  ax-5 1333  ax-7 1334  ax-gen 1335  ax-ie1 1379  ax-ie2 1380  ax-8 1392  ax-10 1393  ax-11 1394  ax-i12 1395  ax-bnd 1396  ax-4 1397  ax-13 1401  ax-14 1402  ax-17 1416  ax-i9 1420  ax-ial 1424  ax-i5r 1425  ax-ext 2019  ax-sep 3865  ax-nul 3873  ax-pow 3917  ax-pr 3934  ax-un 4135  ax-setind 4219
This theorem depends on definitions:  df-bi 110  df-3an 886  df-tru 1245  df-nf 1347  df-sb 1643  df-eu 1900  df-mo 1901  df-clab 2024  df-cleq 2030  df-clel 2033  df-nfc 2164  df-ne 2203  df-ral 2305  df-rex 2306  df-rab 2309  df-v 2553  df-dif 2914  df-un 2916  df-in 2918  df-ss 2925  df-nul 3219  df-pw 3352  df-sn 3372  df-pr 3373  df-op 3375  df-uni 3571  df-br 3755  df-opab 3809  df-tr 3845  df-eprel 4016  df-iso 4024  df-iord 4068  df-on 4070  df-suc 4073
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator