Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  seglelin Structured version   Visualization version   GIF version

Theorem seglelin 36471
Description: Linearity law for segment comparison. Theorem 5.10 of [Schwabhauser] p. 42. (Contributed by Scott Fenton, 14-Oct-2013.)
Assertion
Ref Expression
seglelin ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (⟨𝐴, 𝐵⟩ Seg𝐶, 𝐷⟩ ∨ ⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩))

Proof of Theorem seglelin
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 segcon2 36460 . 2 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → ∃𝑥 ∈ (𝔼‘𝑁)((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝐴, 𝐵⟩) ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩))
2 andir 1022 . . . . 5 (((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝐴, 𝐵⟩) ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ↔ ((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩)))
3 simpl1 1206 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑁 ∈ ℕ)
4 simpl2l 1241 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝐴 ∈ (𝔼‘𝑁))
5 simpr 488 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑥 ∈ (𝔼‘𝑁))
6 simpl3 1208 . . . . . . . 8 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁)))
7 cgrcom 36345 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩ ↔ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))
83, 4, 5, 6, 7syl121anc 1396 . . . . . . 7 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩ ↔ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))
98anbi2d 639 . . . . . 6 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ↔ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩)))
109orbi2d 926 . . . . 5 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩)) ↔ ((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))))
112, 10bitrid 285 . . . 4 (((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝐴, 𝐵⟩) ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ↔ ((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))))
1211rexbidva 3185 . . 3 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (∃𝑥 ∈ (𝔼‘𝑁)((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝐴, 𝐵⟩) ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ↔ ∃𝑥 ∈ (𝔼‘𝑁)((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))))
13 brsegle2 36464 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (⟨𝐴, 𝐵⟩ Seg𝐶, 𝐷⟩ ↔ ∃𝑥 ∈ (𝔼‘𝑁)(𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩)))
14 brsegle 36463 . . . . . 6 ((𝑁 ∈ ℕ ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁)) ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁))) → (⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩ ↔ ∃𝑥 ∈ (𝔼‘𝑁)(𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩)))
15143com23 1140 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩ ↔ ∃𝑥 ∈ (𝔼‘𝑁)(𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩)))
1613, 15orbi12d 929 . . . 4 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → ((⟨𝐴, 𝐵⟩ Seg𝐶, 𝐷⟩ ∨ ⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩) ↔ (∃𝑥 ∈ (𝔼‘𝑁)(𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ ∃𝑥 ∈ (𝔼‘𝑁)(𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))))
17 r19.43 3131 . . . 4 (∃𝑥 ∈ (𝔼‘𝑁)((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩)) ↔ (∃𝑥 ∈ (𝔼‘𝑁)(𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ ∃𝑥 ∈ (𝔼‘𝑁)(𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩)))
1816, 17bitr4di 291 . . 3 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → ((⟨𝐴, 𝐵⟩ Seg𝐶, 𝐷⟩ ∨ ⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩) ↔ ∃𝑥 ∈ (𝔼‘𝑁)((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ∨ (𝑥 Btwn ⟨𝐴, 𝐵⟩ ∧ ⟨𝐶, 𝐷⟩Cgr⟨𝐴, 𝑥⟩))))
1912, 18bitr4d 284 . 2 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (∃𝑥 ∈ (𝔼‘𝑁)((𝐵 Btwn ⟨𝐴, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝐴, 𝐵⟩) ∧ ⟨𝐴, 𝑥⟩Cgr⟨𝐶, 𝐷⟩) ↔ (⟨𝐴, 𝐵⟩ Seg𝐶, 𝐷⟩ ∨ ⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩)))
201, 19mpbid 234 1 ((𝑁 ∈ ℕ ∧ (𝐴 ∈ (𝔼‘𝑁) ∧ 𝐵 ∈ (𝔼‘𝑁)) ∧ (𝐶 ∈ (𝔼‘𝑁) ∧ 𝐷 ∈ (𝔼‘𝑁))) → (⟨𝐴, 𝐵⟩ Seg𝐶, 𝐷⟩ ∨ ⟨𝐶, 𝐷⟩ Seg𝐴, 𝐵⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 399  wo 858  w3a 1099  wcel 2143  wrex 3087  cop 4589   class class class wbr 5101  cfv 6521  cn 12220  𝔼cee 29095   Btwn cbtwn 29096  Cgrccgr 29097   Seg csegle 36461
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1816  ax-4 1830  ax-5 1931  ax-6 1988  ax-7 2029  ax-8 2145  ax-9 2153  ax-10 2176  ax-11 2192  ax-12 2213  ax-ext 2735  ax-rep 5228  ax-sep 5247  ax-nul 5257  ax-pow 5323  ax-pr 5391  ax-un 7718  ax-inf2 9594  ax-cnex 11140  ax-resscn 11141  ax-1cn 11142  ax-icn 11143  ax-addcl 11144  ax-addrcl 11145  ax-mulcl 11146  ax-mulrcl 11147  ax-mulcom 11148  ax-addass 11149  ax-mulass 11150  ax-distr 11151  ax-i2m1 11152  ax-1ne0 11153  ax-1rid 11154  ax-rnegex 11155  ax-rrecex 11156  ax-cnre 11157  ax-pre-lttri 11158  ax-pre-lttrn 11159  ax-pre-ltadd 11160  ax-pre-mulgt0 11161  ax-pre-sup 11162
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1100  df-3an 1101  df-tru 1564  df-fal 1574  df-ex 1801  df-nf 1805  df-sb 2092  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3457  df-sbc 3746  df-csb 3854  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-pss 3925  df-nul 4287  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-int 4907  df-iun 4952  df-br 5102  df-opab 5164  df-mpt 5183  df-tr 5209  df-id 5543  df-eprel 5548  df-po 5556  df-so 5557  df-fr 5601  df-se 5602  df-we 5603  df-xp 5654  df-rel 5655  df-cnv 5656  df-co 5657  df-dm 5658  df-rn 5659  df-res 5660  df-ima 5661  df-pred 6288  df-ord 6349  df-on 6350  df-lim 6351  df-suc 6352  df-iota 6477  df-fun 6523  df-fn 6524  df-f 6525  df-f1 6526  df-fo 6527  df-f1o 6528  df-fv 6529  df-isom 6530  df-riota 7353  df-ov 7399  df-oprab 7400  df-mpo 7401  df-om 7847  df-1st 7970  df-2nd 7971  df-frecs 8262  df-wrecs 8293  df-recs 8342  df-rdg 8381  df-1o 8437  df-er 8678  df-map 8810  df-en 8928  df-dom 8929  df-sdom 8930  df-fin 8931  df-sup 9386  df-oi 9456  df-card 9909  df-pnf 11229  df-mnf 11230  df-xr 11231  df-ltxr 11232  df-le 11233  df-sub 11427  df-neg 11428  df-div 11856  df-nn 12221  df-2 12290  df-3 12291  df-n0 12492  df-z 12579  df-uz 12850  df-rp 13004  df-ico 13365  df-icc 13366  df-fz 13523  df-fzo 13670  df-seq 14025  df-exp 14085  df-hash 14354  df-cj 15136  df-re 15137  df-im 15138  df-sqrt 15272  df-abs 15273  df-clim 15525  df-sum 15724  df-ee 29098  df-btwn 29099  df-cgr 29100  df-ofs 36338  df-colinear 36394  df-ifs 36395  df-cgr3 36396  df-fs 36397  df-segle 36462
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator