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 31230
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 1056 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑁 ∈ ℕ)
2 simpr 475 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑥 ∈ (𝔼‘𝑁))
3 simpl21 1131 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃 ∈ (𝔼‘𝑁))
4 simpl22 1132 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑄 ∈ (𝔼‘𝑁))
5 brcolinear 31142 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁))) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩)))
61, 2, 3, 4, 5syl13anc 1319 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩)))
76adantr 479 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩)))
8 olc 397 . . . . . . . . . . . . . 14 (𝑥 Btwn ⟨𝑃, 𝑄⟩ → (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))
98orcd 405 . . . . . . . . . . . . 13 (𝑥 Btwn ⟨𝑃, 𝑄⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
109a1i 11 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Btwn ⟨𝑃, 𝑄⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
11 simpl3l 1108 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃𝑄)
1211necomd 2836 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑄𝑃)
1312adantr 479 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → 𝑄𝑃)
14 simprl 789 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑅⟩)
15 simprr 791 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑥⟩)
1613, 14, 153jca 1234 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → (𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩))
17 simpl23 1133 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑅 ∈ (𝔼‘𝑁))
18 btwnconn2 31185 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁)) ∧ (𝑅 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → ((𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
191, 4, 3, 17, 2, 18syl122anc 1326 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2019adantr 479 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → ((𝑄𝑃𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2116, 20mpd 15 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))
2221olcd 406 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑃 Btwn ⟨𝑄, 𝑥⟩)) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2322expr 640 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
24 btwncom 31097 . . . . . . . . . . . . . . 15 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁))) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ ↔ 𝑄 Btwn ⟨𝑃, 𝑥⟩))
251, 4, 2, 3, 24syl13anc 1319 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ ↔ 𝑄 Btwn ⟨𝑃, 𝑥⟩))
26 orc 398 . . . . . . . . . . . . . . 15 (𝑄 Btwn ⟨𝑃, 𝑥⟩ → (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))
2726orcd 405 . . . . . . . . . . . . . 14 (𝑄 Btwn ⟨𝑃, 𝑥⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
2825, 27syl6bi 241 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
2928adantr 479 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑄 Btwn ⟨𝑥, 𝑃⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
3010, 23, 293jaod 1383 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑥 Btwn ⟨𝑃, 𝑄⟩ ∨ 𝑃 Btwn ⟨𝑄, 𝑥⟩ ∨ 𝑄 Btwn ⟨𝑥, 𝑃⟩) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
317, 30sylbid 228 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
32 olc 397 . . . . . . . . . 10 (((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
3331, 32syl6 34 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ → (𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
34 colineartriv1 31150 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ ∧ 𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁)) → 𝑃 Colinear ⟨𝑃, 𝑄⟩)
351, 3, 4, 34syl3anc 1317 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃 Colinear ⟨𝑃, 𝑄⟩)
36 breq1 4580 . . . . . . . . . . . 12 (𝑥 = 𝑃 → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ 𝑃 Colinear ⟨𝑃, 𝑄⟩))
3735, 36syl5ibrcom 235 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 = 𝑃𝑥 Colinear ⟨𝑃, 𝑄⟩))
3837adantr 479 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 = 𝑃𝑥 Colinear ⟨𝑃, 𝑄⟩))
39 btwncolinear3 31154 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁))) → (𝑄 Btwn ⟨𝑃, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
401, 3, 2, 4, 39syl13anc 1319 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑄 Btwn ⟨𝑃, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
41 btwncolinear5 31156 . . . . . . . . . . . . . 14 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → (𝑥 Btwn ⟨𝑃, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
421, 3, 4, 2, 41syl13anc 1319 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 Btwn ⟨𝑃, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
4340, 42jaod 393 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
4443adantr 479 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
45 simpl3r 1109 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → 𝑃𝑅)
4645adantr 479 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑃𝑅)
47 simprl 789 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑅⟩)
48 simprr 791 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑅 Btwn ⟨𝑃, 𝑥⟩)
4946, 47, 483jca 1234 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → (𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩))
50 btwnouttr 31107 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁)) ∧ (𝑅 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → ((𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩) → 𝑃 Btwn ⟨𝑄, 𝑥⟩))
511, 4, 3, 17, 2, 50syl122anc 1326 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩) → 𝑃 Btwn ⟨𝑄, 𝑥⟩))
5251adantr 479 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → ((𝑃𝑅𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩) → 𝑃 Btwn ⟨𝑄, 𝑥⟩))
5349, 52mpd 15 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑃 Btwn ⟨𝑄, 𝑥⟩)
54 btwncolinear4 31155 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ (𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁))) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
551, 4, 2, 3, 54syl13anc 1319 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
5655adantr 479 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → (𝑃 Btwn ⟨𝑄, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
5753, 56mpd 15 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑅 Btwn ⟨𝑃, 𝑥⟩)) → 𝑥 Colinear ⟨𝑃, 𝑄⟩)
5857expr 640 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
59 simprr 791 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Btwn ⟨𝑃, 𝑅⟩)
601, 2, 3, 17, 59btwncomand 31098 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Btwn ⟨𝑅, 𝑃⟩)
61 simprl 789 . . . . . . . . . . . . . . . 16 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑃 Btwn ⟨𝑄, 𝑅⟩)
621, 3, 4, 17, 61btwncomand 31098 . . . . . . . . . . . . . . 15 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑃 Btwn ⟨𝑅, 𝑄⟩)
631, 17, 2, 3, 4, 60, 62btwnexch3and 31104 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑃 Btwn ⟨𝑥, 𝑄⟩)
64 btwncolinear2 31153 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃 ∈ (𝔼‘𝑁))) → (𝑃 Btwn ⟨𝑥, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
651, 2, 4, 3, 64syl13anc 1319 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃 Btwn ⟨𝑥, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
6665adantr 479 . . . . . . . . . . . . . 14 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑃 Btwn ⟨𝑥, 𝑄⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
6763, 66mpd 15 . . . . . . . . . . . . 13 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ (𝑃 Btwn ⟨𝑄, 𝑅⟩ ∧ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Colinear ⟨𝑃, 𝑄⟩)
6867expr 640 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Btwn ⟨𝑃, 𝑅⟩ → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
6958, 68jaod 393 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
7044, 69jaod 393 . . . . . . . . . 10 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
7138, 70jaod 393 . . . . . . . . 9 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) → 𝑥 Colinear ⟨𝑃, 𝑄⟩))
7233, 71impbid 200 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
73 pm5.63 960 . . . . . . . . 9 ((𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ (𝑥 = 𝑃 ∨ (¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
74 df-ne 2781 . . . . . . . . . . . 12 (𝑥𝑃 ↔ ¬ 𝑥 = 𝑃)
7574anbi1i 726 . . . . . . . . . . 11 ((𝑥𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ (¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
76 andi 906 . . . . . . . . . . 11 ((𝑥𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
7775, 76bitr3i 264 . . . . . . . . . 10 ((¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
7877orbi2i 539 . . . . . . . . 9 ((𝑥 = 𝑃 ∨ (¬ 𝑥 = 𝑃 ∧ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
7973, 78bitri 262 . . . . . . . 8 ((𝑥 = 𝑃 ∨ ((𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩) ∨ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))) ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
8072, 79syl6bb 274 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))))
81 broutsideof2 31205 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → (𝑃OutsideOf⟨𝑄, 𝑥⟩ ↔ (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
821, 3, 4, 2, 81syl13anc 1319 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑄, 𝑥⟩ ↔ (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
83 3simpc 1052 . . . . . . . . . . . 12 ((𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) → (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))
84 simpl3l 1108 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → 𝑃𝑄)
8584necomd 2836 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → 𝑄𝑃)
86 simprrl 799 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → 𝑥𝑃)
87 simprrr 800 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))
8885, 86, 873jca 1234 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))) → (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)))
8988expr 640 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) → (𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
9083, 89impbid2 214 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑄𝑃𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ↔ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
9182, 90bitrd 266 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑄, 𝑥⟩ ↔ (𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩))))
92 broutsideof2 31205 . . . . . . . . . . . 12 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁) ∧ 𝑥 ∈ (𝔼‘𝑁))) → (𝑃OutsideOf⟨𝑅, 𝑥⟩ ↔ (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
931, 3, 17, 2, 92syl13anc 1319 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑅, 𝑥⟩ ↔ (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
94 3simpc 1052 . . . . . . . . . . . 12 ((𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
95 simpl3r 1109 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → 𝑃𝑅)
9695necomd 2836 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → 𝑅𝑃)
97 simprrl 799 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → 𝑥𝑃)
98 simprrr 800 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))
9996, 97, 983jca 1234 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ (𝑥 ∈ (𝔼‘𝑁) ∧ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))) → (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))
10099expr 640 . . . . . . . . . . . 12 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) → (𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
10194, 100impbid2 214 . . . . . . . . . . 11 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑅𝑃𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)) ↔ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
10293, 101bitrd 266 . . . . . . . . . 10 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑃OutsideOf⟨𝑅, 𝑥⟩ ↔ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))
10391, 102orbi12d 741 . . . . . . . . 9 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) → ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
104103adantr 479 . . . . . . . 8 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ↔ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩)))))
105104orbi2d 733 . . . . . . 7 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → ((𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)) ↔ (𝑥 = 𝑃 ∨ ((𝑥𝑃 ∧ (𝑄 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑄⟩)) ∨ (𝑥𝑃 ∧ (𝑅 Btwn ⟨𝑃, 𝑥⟩ ∨ 𝑥 Btwn ⟨𝑃, 𝑅⟩))))))
10680, 105bitr4d 269 . . . . . 6 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ (𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩))))
107 orcom 400 . . . . . . 7 ((𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)) ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ∨ 𝑥 = 𝑃))
108 or32 547 . . . . . . 7 (((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩) ∨ 𝑥 = 𝑃) ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩))
109107, 108bitri 262 . . . . . 6 ((𝑥 = 𝑃 ∨ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)) ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩))
110106, 109syl6bb 274 . . . . 5 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑥 ∈ (𝔼‘𝑁)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)))
111110an32s 841 . . . 4 ((((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) ∧ 𝑥 ∈ (𝔼‘𝑁)) → (𝑥 Colinear ⟨𝑃, 𝑄⟩ ↔ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)))
112111rabbidva 3162 . . 3 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩} = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)})
113 simp1 1053 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑁 ∈ ℕ)
114 simp21 1086 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑃 ∈ (𝔼‘𝑁))
115 simp22 1087 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑄 ∈ (𝔼‘𝑁))
116 simp3l 1081 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑃𝑄)
117 fvline2 31229 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃𝑄)) → (𝑃Line𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩})
118113, 114, 115, 116, 117syl13anc 1319 . . . 4 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃Line𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩})
119118adantr 479 . . 3 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑃Line𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 Colinear ⟨𝑃, 𝑄⟩})
120 fvray 31224 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑃𝑄)) → (𝑃Ray𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩})
121113, 114, 115, 116, 120syl13anc 1319 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃Ray𝑄) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩})
122 rabsn 4199 . . . . . . . . 9 (𝑃 ∈ (𝔼‘𝑁) → {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃} = {𝑃})
123114, 122syl 17 . . . . . . . 8 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃} = {𝑃})
124123eqcomd 2615 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → {𝑃} = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃})
125121, 124uneq12d 3729 . . . . . 6 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → ((𝑃Ray𝑄) ∪ {𝑃}) = ({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}))
126 simp23 1088 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑅 ∈ (𝔼‘𝑁))
127 simp3r 1082 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → 𝑃𝑅)
128 fvray 31224 . . . . . . 7 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁) ∧ 𝑃𝑅)) → (𝑃Ray𝑅) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩})
129113, 114, 126, 127, 128syl13anc 1319 . . . . . 6 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃Ray𝑅) = {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩})
130125, 129uneq12d 3729 . . . . 5 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)) = (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}))
131130adantr 479 . . . 4 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)) = (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}))
132 unrab 3856 . . . . . 6 ({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) = {𝑥 ∈ (𝔼‘𝑁) ∣ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃)}
133132uneq1i 3724 . . . . 5 (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}) = ({𝑥 ∈ (𝔼‘𝑁) ∣ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃)} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩})
134 unrab 3856 . . . . 5 ({𝑥 ∈ (𝔼‘𝑁) ∣ (𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃)} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}) = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)}
135133, 134eqtri 2631 . . . 4 (({𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑄, 𝑥⟩} ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑥 = 𝑃}) ∪ {𝑥 ∈ (𝔼‘𝑁) ∣ 𝑃OutsideOf⟨𝑅, 𝑥⟩}) = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)}
136131, 135syl6eq 2659 . . 3 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)) = {𝑥 ∈ (𝔼‘𝑁) ∣ ((𝑃OutsideOf⟨𝑄, 𝑥⟩ ∨ 𝑥 = 𝑃) ∨ 𝑃OutsideOf⟨𝑅, 𝑥⟩)})
137112, 119, 1363eqtr4d 2653 . 2 (((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) ∧ 𝑃 Btwn ⟨𝑄, 𝑅⟩) → (𝑃Line𝑄) = (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅)))
138137ex 448 1 ((𝑁 ∈ ℕ ∧ (𝑃 ∈ (𝔼‘𝑁) ∧ 𝑄 ∈ (𝔼‘𝑁) ∧ 𝑅 ∈ (𝔼‘𝑁)) ∧ (𝑃𝑄𝑃𝑅)) → (𝑃 Btwn ⟨𝑄, 𝑅⟩ → (𝑃Line𝑄) = (((𝑃Ray𝑄) ∪ {𝑃}) ∪ (𝑃Ray𝑅))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wo 381  wa 382  w3o 1029  w3a 1030   = wceq 1474  wcel 1976  wne 2779  {crab 2899  cun 3537  {csn 4124  cop 4130   class class class wbr 4577  cfv 5790  (class class class)co 6527  cn 10867  𝔼cee 25486   Btwn cbtwn 25487   Colinear ccolin 31120  OutsideOfcoutsideof 31202  Linecline2 31217  Raycray 31218
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2232  ax-ext 2589  ax-rep 4693  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6824  ax-inf2 8398  ax-cnex 9848  ax-resscn 9849  ax-1cn 9850  ax-icn 9851  ax-addcl 9852  ax-addrcl 9853  ax-mulcl 9854  ax-mulrcl 9855  ax-mulcom 9856  ax-addass 9857  ax-mulass 9858  ax-distr 9859  ax-i2m1 9860  ax-1ne0 9861  ax-1rid 9862  ax-rnegex 9863  ax-rrecex 9864  ax-cnre 9865  ax-pre-lttri 9866  ax-pre-lttrn 9867  ax-pre-ltadd 9868  ax-pre-mulgt0 9869  ax-pre-sup 9870
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-fal 1480  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-nel 2782  df-ral 2900  df-rex 2901  df-reu 2902  df-rmo 2903  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-pss 3555  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-tp 4129  df-op 4131  df-uni 4367  df-int 4405  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-tr 4675  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-se 4988  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-isom 5799  df-riota 6489  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6935  df-1st 7036  df-2nd 7037  df-wrecs 7271  df-recs 7332  df-rdg 7370  df-1o 7424  df-oadd 7428  df-er 7606  df-ec 7608  df-map 7723  df-en 7819  df-dom 7820  df-sdom 7821  df-fin 7822  df-sup 8208  df-oi 8275  df-card 8625  df-pnf 9932  df-mnf 9933  df-xr 9934  df-ltxr 9935  df-le 9936  df-sub 10119  df-neg 10120  df-div 10534  df-nn 10868  df-2 10926  df-3 10927  df-n0 11140  df-z 11211  df-uz 11520  df-rp 11665  df-ico 12008  df-icc 12009  df-fz 12153  df-fzo 12290  df-seq 12619  df-exp 12678  df-hash 12935  df-cj 13633  df-re 13634  df-im 13635  df-sqrt 13769  df-abs 13770  df-clim 14013  df-sum 14211  df-ee 25489  df-btwn 25490  df-cgr 25491  df-ofs 31066  df-colinear 31122  df-ifs 31123  df-cgr3 31124  df-fs 31125  df-outsideof 31203  df-line2 31220  df-ray 31221
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator