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

Theorem lineunray 32229
Description: A line is composed of a point and the two rays emerging from it. Theorem 6.15 of [Schwabhauser] p. 45. (Contributed by Scott Fenton, 26-Oct-2013.) (Revised by Mario Carneiro, 19-Apr-2014.)
Assertion
Ref Expression
lineunray ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃 Btwn ⟨𝑄, 𝑅⟩ → (𝑃Line𝑄) = (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅))))

Proof of Theorem lineunray
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 simpl1 1062 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑁 ∈ ℕ)
2 simpr 477 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑥 ∈ (𝔼‘𝑁))
3 simpl21 1137 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃 ∈ (𝔼‘𝑁))
4 simpl22 1138 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑄 ∈ (𝔼‘𝑁))
5 brcolinear 32141 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁))) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩)))
61, 2, 3, 4, 5syl13anc 1326 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩)))
76adantr 481 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩)))
8 olc 399 . . . . . . . . . . . . . 14 (𝑥 Btwn ⟨𝑃, 𝑄⟩ → (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))
98orcd 407 . . . . . . . . . . . . 13 (𝑥 Btwn ⟨𝑃, 𝑄⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
109a1i 11 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Btwn ⟨𝑃, 𝑄⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
11 simpl3l 1114 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃𝑄)
1211necomd 2846 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑄𝑃)
1312adantr 481 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → 𝑄𝑃)
14 simprl 793 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑅⟩)
15 simprr 795 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑥⟩)
1613, 14, 153jca 1240 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → (𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩))
17 simpl23 1139 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑅 ∈ (𝔼‘𝑁))
18 btwnconn2 32184 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁)) ∧ (𝑅 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → ((𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
191, 4, 3, 17, 2, 18syl122anc 1333 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2019adantr 481 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → ((𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2116, 20mpd 15 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))
2221olcd 408 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2322expr 642 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
24 btwncom 32096 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁))) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ ↔ 𝑄 Btwn ⟨𝑃, 𝑥⟩))
251, 4, 2, 3, 24syl13anc 1326 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ ↔ 𝑄 Btwn ⟨𝑃, 𝑥⟩))
26 orc 400 . . . . . . . . . . . . . . 15 (𝑄 Btwn ⟨𝑃, 𝑥⟩ → (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))
2726orcd 407 . . . . . . . . . . . . . 14 (𝑄 Btwn ⟨𝑃, 𝑥⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2825, 27syl6bi 243 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
2928adantr 481 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
3010, 23, 293jaod 1390 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
317, 30sylbid 230 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
32 olc 399 . . . . . . . . . 10 (((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
3331, 32syl6 35 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ → (𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
34 colineartriv1 32149 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁)) → 𝑃 Colinear ⟨𝑃, 𝑄⟩)
351, 3, 4, 34syl3anc 1324 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃 Colinear ⟨𝑃, 𝑄⟩)
36 breq1 4647 . . . . . . . . . . . 12 (𝑥 = 𝑃 → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ 𝑃 Colinear ⟨𝑃, 𝑄⟩))
3735, 36syl5ibrcom 237 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 = 𝑃𝑥 Colinear ⟨𝑃, 𝑄⟩))
3837adantr 481 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 = 𝑃𝑥 Colinear ⟨𝑃, 𝑄⟩))
39 btwncolinear3 32153 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁))) → (𝑄 Btwn ⟨𝑃, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
401, 3, 2, 4, 39syl13anc 1326 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑄 Btwn ⟨𝑃, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
41 btwncolinear5 32155 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → (𝑥 Btwn ⟨𝑃, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
421, 3, 4, 2, 41syl13anc 1326 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 Btwn ⟨𝑃, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
4340, 42jaod 395 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
4443adantr 481 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
45 simpl3r 1115 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃𝑅)
4645adantr 481 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑃𝑅)
47 simprl 793 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑅⟩)
48 simprr 795 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑅 Btwn ⟨𝑃, 𝑥⟩)
4946, 47, 483jca 1240 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → (𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩))
50 btwnouttr 32106 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁)) ∧ (𝑅 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → ((𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩) → 𝑃 Btwn ⟨𝑄, 𝑥⟩))
511, 4, 3, 17, 2, 50syl122anc 1333 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩) → 𝑃 Btwn ⟨𝑄, 𝑥⟩))
5251adantr 481 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → ((𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩) → 𝑃 Btwn ⟨𝑄, 𝑥⟩))
5349, 52mpd 15 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑥⟩)
54 btwncolinear4 32154 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁))) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
551, 4, 2, 3, 54syl13anc 1326 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
5655adantr 481 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
5753, 56mpd 15 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑥 Colinear ⟨𝑃, 𝑄⟩)
5857expr 642 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
59 simprr 795 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Btwn ⟨𝑃, 𝑅⟩)
601, 2, 3, 17, 59btwncomand 32097 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Btwn ⟨𝑅, 𝑃⟩)
61 simprl 793 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑃 Btwn ⟨𝑄, 𝑅⟩)
621, 3, 4, 17, 61btwncomand 32097 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑃 Btwn ⟨𝑅, 𝑄⟩)
631, 17, 2, 3, 4, 60, 62btwnexch3and 32103 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑃 Btwn ⟨𝑥, 𝑄⟩)
64 btwncolinear2 32152 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁))) → (𝑃 Btwn ⟨𝑥, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
651, 2, 4, 3, 64syl13anc 1326 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃 Btwn ⟨𝑥, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
6665adantr 481 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑃 Btwn ⟨𝑥, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
6763, 66mpd 15 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Colinear ⟨𝑃, 𝑄⟩)
6867expr 642 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Btwn ⟨𝑃, 𝑅⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
6958, 68jaod 395 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
7044, 69jaod 395 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
7138, 70jaod 395 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
7233, 71impbid 202 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
73 pm5.63 958 . . . . . . . . 9 ((𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ (𝑥 = 𝑃 ∨ (¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
74 df-ne 2792 . . . . . . . . . . . 12 (𝑥𝑃 ↔ ¬ 𝑥 = 𝑃)
7574anbi1i 730 . . . . . . . . . . 11 ((𝑥𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ (¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
76 andi 910 . . . . . . . . . . 11 ((𝑥𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
7775, 76bitr3i 266 . . . . . . . . . 10 ((¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
7877orbi2i 541 . . . . . . . . 9 ((𝑥 = 𝑃 ∨ (¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
7973, 78bitri 264 . . . . . . . 8 ((𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
8072, 79syl6bb 276 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))))
81 broutsideof2 32204 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → (𝑃OutsideOf⟨𝑄, 𝑥⟩ ↔ (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
821, 3, 4, 2, 81syl13anc 1326 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑄, 𝑥⟩ ↔ (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
83 3simpc 1058 . . . . . . . . . . . 12 ((𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) → (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))
84 simpl3l 1114 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → 𝑃𝑄)
8584necomd 2846 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → 𝑄𝑃)
86 simprrl 803 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → 𝑥𝑃)
87 simprrr 804 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))
8885, 86, 873jca 1240 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))
8988expr 642 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) → (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
9083, 89impbid2 216 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ↔ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
9182, 90bitrd 268 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑄, 𝑥⟩ ↔ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
92 broutsideof2 32204 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → (𝑃OutsideOf⟨𝑅, 𝑥⟩ ↔ (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
931, 3, 17, 2, 92syl13anc 1326 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑅, 𝑥⟩ ↔ (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
94 3simpc 1058 . . . . . . . . . . . 12 ((𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
95 simpl3r 1115 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → 𝑃𝑅)
9695necomd 2846 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → 𝑅𝑃)
97 simprrl 803 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → 𝑥𝑃)
98 simprrr 804 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))
9996, 97, 983jca 1240 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
10099expr 642 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
10194, 100impbid2 216 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) ↔ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
10293, 101bitrd 268 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑅, 𝑥⟩ ↔ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
10391, 102orbi12d 745 . . . . . . . . 9 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
104103adantr 481 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
105104orbi2d 737 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)) ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))))
10680, 105bitr4d 271 . . . . . 6 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩))))
107 orcom 402 . . . . . . 7 ((𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)) ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ∨ 𝑥 = 𝑃))
108 or32 549 . . . . . . 7 (((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ∨ 𝑥 = 𝑃) ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩))
109107, 108bitri 264 . . . . . 6 ((𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)) ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩))
110106, 109syl6bb 276 . . . . 5 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)))
111110an32s 845 . . . 4 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)))
112111rabbidva 3183 . . 3 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩} = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)})
113 simp1 1059 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑁 ∈ ℕ)
114 simp21 1092 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑃 ∈ (𝔼‘𝑁))
115 simp22 1093 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑄 ∈ (𝔼‘𝑁))
116 simp3l 1087 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑃𝑄)
117 fvline2 32228 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃𝑄)) → (𝑃Line𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩})
118113, 114, 115, 116, 117syl13anc 1326 . . . 4 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃Line𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩})
119118adantr 481 . . 3 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑃Line𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩})
120 fvray 32223 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃𝑄)) → (𝑃Ray𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩})
121113, 114, 115, 116, 120syl13anc 1326 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃Ray𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩})
122 rabsn 4247 . . . . . . . . 9 (𝑃 ∈ (𝔼‘𝑁) → {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃} = {𝑃})
123114, 122syl 17 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃} = {𝑃})
124123eqcomd 2626 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → {𝑃} = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃})
125121, 124uneq12d 3760 . . . . . 6 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → ((𝑃Ray𝑄) ∪ {𝑃}) = ({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}))
126 simp23 1094 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑅 ∈ (𝔼‘𝑁))
127 simp3r 1088 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑃𝑅)
128 fvray 32223 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁) ∧ 𝑃𝑅)) → (𝑃Ray𝑅) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩})
129113, 114, 126, 127, 128syl13anc 1326 . . . . . 6 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃Ray𝑅) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩})
130125, 129uneq12d 3760 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)) = (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}))
131130adantr 481 . . . 4 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)) = (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}))
132 unrab 3890 . . . . . 6 ({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) = {𝑥 ∈ (𝔼‘𝑁) ∣ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃)}
133132uneq1i 3755 . . . . 5 (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}) = ({𝑥 ∈ (𝔼‘𝑁) ∣ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃)} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩})
134 unrab 3890 . . . . 5 ({𝑥 ∈ (𝔼‘𝑁) ∣ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃)} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}) = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)}
135133, 134eqtri 2642 . . . 4 (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}) = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)}
136131, 135syl6eq 2670 . . 3 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)) = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)})
137112, 119, 1363eqtr4d 2664 . 2 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑃Line𝑄) = (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)))
138137ex 450 1 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃 Btwn ⟨𝑄, 𝑅⟩ → (𝑃Line𝑄) = (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  w3o 1035  w3a 1036   = wceq 1481  wcel 1988  wne 2791  {crab 2913  cun 3565  {csn 4168  cop 4174   class class class wbr 4644  cfv 5876  (class class class)co 6635  cn 11005  𝔼cee 25749   Btwn cbtwn 25750   Colinear ccolin 32119  OutsideOfcoutsideof 32201  Linecline2 32216  Raycray 32217
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-rep 4762  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934  ax-inf2 8523  ax-cnex 9977  ax-resscn 9978  ax-1cn 9979  ax-icn 9980  ax-addcl 9981  ax-addrcl 9982  ax-mulcl 9983  ax-mulrcl 9984  ax-mulcom 9985  ax-addass 9986  ax-mulass 9987  ax-distr 9988  ax-i2m1 9989  ax-1ne0 9990  ax-1rid 9991  ax-rnegex 9992  ax-rrecex 9993  ax-cnre 9994  ax-pre-lttri 9995  ax-pre-lttrn 9996  ax-pre-ltadd 9997  ax-pre-mulgt0 9998  ax-pre-sup 9999
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1484  df-fal 1487  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ne 2792  df-nel 2895  df-ral 2914  df-rex 2915  df-reu 2916  df-rmo 2917  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-pss 3583  df-nul 3908  df-if 4078  df-pw 4151  df-sn 4169  df-pr 4171  df-tp 4173  df-op 4175  df-uni 4428  df-int 4467  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-tr 4744  df-id 5014  df-eprel 5019  df-po 5025  df-so 5026  df-fr 5063  df-se 5064  df-we 5065  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-res 5116  df-ima 5117  df-pred 5668  df-ord 5714  df-on 5715  df-lim 5716  df-suc 5717  df-iota 5839  df-fun 5878  df-fn 5879  df-f 5880  df-f1 5881  df-fo 5882  df-f1o 5883  df-fv 5884  df-isom 5885  df-riota 6596  df-ov 6638  df-oprab 6639  df-mpt2 6640  df-om 7051  df-1st 7153  df-2nd 7154  df-wrecs 7392  df-recs 7453  df-rdg 7491  df-1o 7545  df-oadd 7549  df-er 7727  df-ec 7729  df-map 7844  df-en 7941  df-dom 7942  df-sdom 7943  df-fin 7944  df-sup 8333  df-oi 8400  df-card 8750  df-pnf 10061  df-mnf 10062  df-xr 10063  df-ltxr 10064  df-le 10065  df-sub 10253  df-neg 10254  df-div 10670  df-nn 11006  df-2 11064  df-3 11065  df-n0 11278  df-z 11363  df-uz 11673  df-rp 11818  df-ico 12166  df-icc 12167  df-fz 12312  df-fzo 12450  df-seq 12785  df-exp 12844  df-hash 13101  df-cj 13820  df-re 13821  df-im 13822  df-sqrt 13956  df-abs 13957  df-clim 14200  df-sum 14398  df-ee 25752  df-btwn 25753  df-cgr 25754  df-ofs 32065  df-colinear 32121  df-ifs 32122  df-cgr3 32123  df-fs 32124  df-outsideof 32202  df-line2 32219  df-ray 32220
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator