MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  tgisline Structured version   Visualization version   GIF version

Theorem tgisline 26892
Description: The property of being a proper line, generated by two distinct points. (Contributed by Thierry Arnoux, 25-May-2019.)
Hypotheses
Ref Expression
tglineelsb2.p 𝐵 = (Base‘𝐺)
tglineelsb2.i 𝐼 = (Itv‘𝐺)
tglineelsb2.l 𝐿 = (LineG‘𝐺)
tglineelsb2.g (𝜑𝐺 ∈ TarskiG)
tgisline.1 (𝜑𝐴 ∈ ran 𝐿)
Assertion
Ref Expression
tgisline (𝜑 → ∃𝑥𝐵𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝐺,𝑦   𝑥,𝐼,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐿(𝑥,𝑦)

Proof of Theorem tgisline
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 tglineelsb2.p . . . . . 6 𝐵 = (Base‘𝐺)
2 tglineelsb2.l . . . . . 6 𝐿 = (LineG‘𝐺)
3 tglineelsb2.i . . . . . 6 𝐼 = (Itv‘𝐺)
4 tglineelsb2.g . . . . . . 7 (𝜑𝐺 ∈ TarskiG)
54adantr 480 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝐺 ∈ TarskiG)
6 simprl 767 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑥𝐵)
7 simprr 769 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑦 ∈ (𝐵 ∖ {𝑥}))
87eldifad 3895 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑦𝐵)
9 eldifsn 4717 . . . . . . . . 9 (𝑦 ∈ (𝐵 ∖ {𝑥}) ↔ (𝑦𝐵𝑦𝑥))
107, 9sylib 217 . . . . . . . 8 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → (𝑦𝐵𝑦𝑥))
1110simprd 495 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑦𝑥)
1211necomd 2998 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑥𝑦)
131, 2, 3, 5, 6, 8, 12tglngval 26816 . . . . 5 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → (𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
1413, 12jca 511 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → ((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦))
1514ralrimivva 3114 . . 3 (𝜑 → ∀𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦))
16 tgisline.1 . . . . 5 (𝜑𝐴 ∈ ran 𝐿)
171, 2, 3tglng 26811 . . . . . . 7 (𝐺 ∈ TarskiG → 𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
184, 17syl 17 . . . . . 6 (𝜑𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
1918rneqd 5836 . . . . 5 (𝜑 → ran 𝐿 = ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
2016, 19eleqtrd 2841 . . . 4 (𝜑𝐴 ∈ ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
21 eqid 2738 . . . . . 6 (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
2221elrnmpog 7387 . . . . 5 (𝐴 ∈ ran 𝐿 → (𝐴 ∈ ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) ↔ ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
2316, 22syl 17 . . . 4 (𝜑 → (𝐴 ∈ ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) ↔ ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
2420, 23mpbid 231 . . 3 (𝜑 → ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
2515, 24r19.29d2r 3261 . 2 (𝜑 → ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
26 difss 4062 . . . 4 (𝐵 ∖ {𝑥}) ⊆ 𝐵
27 simpr 484 . . . . . . 7 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
28 simpll 763 . . . . . . 7 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → (𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
2927, 28eqtr4d 2781 . . . . . 6 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → 𝐴 = (𝑥𝐿𝑦))
30 simplr 765 . . . . . 6 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → 𝑥𝑦)
3129, 30jca 511 . . . . 5 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
3231reximi 3174 . . . 4 (∃𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → ∃𝑦 ∈ (𝐵 ∖ {𝑥})(𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
33 ssrexv 3984 . . . 4 ((𝐵 ∖ {𝑥}) ⊆ 𝐵 → (∃𝑦 ∈ (𝐵 ∖ {𝑥})(𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦) → ∃𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦)))
3426, 32, 33mpsyl 68 . . 3 (∃𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → ∃𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
3534reximi 3174 . 2 (∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → ∃𝑥𝐵𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
3625, 35syl 17 1 (𝜑 → ∃𝑥𝐵𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3o 1084   = wceq 1539  wcel 2108  wne 2942  wrex 3064  {crab 3067  cdif 3880  wss 3883  {csn 4558  ran crn 5581  cfv 6418  (class class class)co 7255  cmpo 7257  Basecbs 16840  TarskiGcstrkg 26693  Itvcitv 26699  LineGclng 26700
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-trkg 26718
This theorem is referenced by:  tglnne  26893  tglndim0  26894  tglinethru  26901  tglnne0  26905  tglnpt2  26906  footexALT  26983  footex  26986  opptgdim2  27010
  Copyright terms: Public domain W3C validator