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

Theorem tgisline 26520
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 484 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝐺 ∈ TarskiG)
6 simprl 770 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑥𝐵)
7 simprr 772 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑦 ∈ (𝐵 ∖ {𝑥}))
87eldifad 3870 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑦𝐵)
9 eldifsn 4677 . . . . . . . . 9 (𝑦 ∈ (𝐵 ∖ {𝑥}) ↔ (𝑦𝐵𝑦𝑥))
107, 9sylib 221 . . . . . . . 8 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → (𝑦𝐵𝑦𝑥))
1110simprd 499 . . . . . . 7 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑦𝑥)
1211necomd 3006 . . . . . 6 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → 𝑥𝑦)
131, 2, 3, 5, 6, 8, 12tglngval 26444 . . . . 5 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → (𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
1413, 12jca 515 . . . 4 ((𝜑 ∧ (𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥}))) → ((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦))
1514ralrimivva 3120 . . 3 (𝜑 → ∀𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦))
16 tgisline.1 . . . . 5 (𝜑𝐴 ∈ ran 𝐿)
171, 2, 3tglng 26439 . . . . . . 7 (𝐺 ∈ TarskiG → 𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
184, 17syl 17 . . . . . 6 (𝜑𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
1918rneqd 5779 . . . . 5 (𝜑 → ran 𝐿 = ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
2016, 19eleqtrd 2854 . . . 4 (𝜑𝐴 ∈ ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
21 eqid 2758 . . . . . 6 (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
2221elrnmpog 7281 . . . . 5 (𝐴 ∈ ran 𝐿 → (𝐴 ∈ ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) ↔ ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
2316, 22syl 17 . . . 4 (𝜑 → (𝐴 ∈ ran (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) ↔ ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
2420, 23mpbid 235 . . 3 (𝜑 → ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
2515, 24r19.29d2r 3256 . 2 (𝜑 → ∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}))
26 difss 4037 . . . 4 (𝐵 ∖ {𝑥}) ⊆ 𝐵
27 simpr 488 . . . . . . 7 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
28 simpll 766 . . . . . . 7 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → (𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))})
2927, 28eqtr4d 2796 . . . . . 6 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → 𝐴 = (𝑥𝐿𝑦))
30 simplr 768 . . . . . 6 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → 𝑥𝑦)
3129, 30jca 515 . . . . 5 ((((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
3231reximi 3171 . . . 4 (∃𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → ∃𝑦 ∈ (𝐵 ∖ {𝑥})(𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
33 ssrexv 3959 . . . 4 ((𝐵 ∖ {𝑥}) ⊆ 𝐵 → (∃𝑦 ∈ (𝐵 ∖ {𝑥})(𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦) → ∃𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦)))
3426, 32, 33mpsyl 68 . . 3 (∃𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → ∃𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
3534reximi 3171 . 2 (∃𝑥𝐵𝑦 ∈ (𝐵 ∖ {𝑥})(((𝑥𝐿𝑦) = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))} ∧ 𝑥𝑦) ∧ 𝐴 = {𝑧𝐵 ∣ (𝑧 ∈ (𝑥𝐼𝑦) ∨ 𝑥 ∈ (𝑧𝐼𝑦) ∨ 𝑦 ∈ (𝑥𝐼𝑧))}) → ∃𝑥𝐵𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
3625, 35syl 17 1 (𝜑 → ∃𝑥𝐵𝑦𝐵 (𝐴 = (𝑥𝐿𝑦) ∧ 𝑥𝑦))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3o 1083   = wceq 1538  wcel 2111  wne 2951  wrex 3071  {crab 3074  cdif 3855  wss 3858  {csn 4522  ran crn 5525  cfv 6335  (class class class)co 7150  cmpo 7152  Basecbs 16541  TarskiGcstrkg 26323  Itvcitv 26329  LineGclng 26330
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5169  ax-nul 5176  ax-pr 5298
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-sbc 3697  df-dif 3861  df-un 3863  df-in 3865  df-ss 3875  df-nul 4226  df-if 4421  df-sn 4523  df-pr 4525  df-op 4529  df-uni 4799  df-br 5033  df-opab 5095  df-id 5430  df-xp 5530  df-rel 5531  df-cnv 5532  df-co 5533  df-dm 5534  df-rn 5535  df-iota 6294  df-fun 6337  df-fv 6343  df-ov 7153  df-oprab 7154  df-mpo 7155  df-trkg 26346
This theorem is referenced by:  tglnne  26521  tglndim0  26522  tglinethru  26529  tglnne0  26533  tglnpt2  26534  footexALT  26611  footex  26614  opptgdim2  26638
  Copyright terms: Public domain W3C validator