Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  lines Structured version   Visualization version   GIF version

Theorem lines 45145
Description: The lines passing through two different points in a left module (or any extended structure having a base set, an addition, and a scalar multiplication). (Contributed by AV, 14-Jan-2023.)
Hypotheses
Ref Expression
lines.b 𝐵 = (Base‘𝑊)
lines.l 𝐿 = (LineM𝑊)
lines.s 𝑆 = (Scalar‘𝑊)
lines.k 𝐾 = (Base‘𝑆)
lines.p · = ( ·𝑠𝑊)
lines.a + = (+g𝑊)
lines.m = (-g𝑆)
lines.1 1 = (1r𝑆)
Assertion
Ref Expression
lines (𝑊𝑉𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
Distinct variable groups:   𝐵,𝑝,𝑥,𝑦   𝑡,𝐾   𝑡,𝑆   𝑊,𝑝,𝑡,𝑥,𝑦
Allowed substitution hints:   𝐵(𝑡)   + (𝑥,𝑦,𝑡,𝑝)   𝑆(𝑥,𝑦,𝑝)   · (𝑥,𝑦,𝑡,𝑝)   1 (𝑥,𝑦,𝑡,𝑝)   𝐾(𝑥,𝑦,𝑝)   𝐿(𝑥,𝑦,𝑡,𝑝)   (𝑥,𝑦,𝑡,𝑝)   𝑉(𝑥,𝑦,𝑡,𝑝)

Proof of Theorem lines
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 lines.l . 2 𝐿 = (LineM𝑊)
2 df-line 45143 . . 3 LineM = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3 lines.b . . . . . . 7 𝐵 = (Base‘𝑊)
4 fveq2 6645 . . . . . . 7 (𝑊 = 𝑤 → (Base‘𝑊) = (Base‘𝑤))
53, 4syl5eq 2845 . . . . . 6 (𝑊 = 𝑤𝐵 = (Base‘𝑤))
65difeq1d 4049 . . . . . 6 (𝑊 = 𝑤 → (𝐵 ∖ {𝑥}) = ((Base‘𝑤) ∖ {𝑥}))
7 lines.k . . . . . . . . 9 𝐾 = (Base‘𝑆)
8 lines.s . . . . . . . . . . 11 𝑆 = (Scalar‘𝑊)
9 fveq2 6645 . . . . . . . . . . 11 (𝑊 = 𝑤 → (Scalar‘𝑊) = (Scalar‘𝑤))
108, 9syl5eq 2845 . . . . . . . . . 10 (𝑊 = 𝑤𝑆 = (Scalar‘𝑤))
1110fveq2d 6649 . . . . . . . . 9 (𝑊 = 𝑤 → (Base‘𝑆) = (Base‘(Scalar‘𝑤)))
127, 11syl5eq 2845 . . . . . . . 8 (𝑊 = 𝑤𝐾 = (Base‘(Scalar‘𝑤)))
13 lines.a . . . . . . . . . . 11 + = (+g𝑊)
14 fveq2 6645 . . . . . . . . . . 11 (𝑊 = 𝑤 → (+g𝑊) = (+g𝑤))
1513, 14syl5eq 2845 . . . . . . . . . 10 (𝑊 = 𝑤+ = (+g𝑤))
16 lines.p . . . . . . . . . . . 12 · = ( ·𝑠𝑊)
17 fveq2 6645 . . . . . . . . . . . 12 (𝑊 = 𝑤 → ( ·𝑠𝑊) = ( ·𝑠𝑤))
1816, 17syl5eq 2845 . . . . . . . . . . 11 (𝑊 = 𝑤· = ( ·𝑠𝑤))
19 lines.m . . . . . . . . . . . . . 14 = (-g𝑆)
208fveq2i 6648 . . . . . . . . . . . . . 14 (-g𝑆) = (-g‘(Scalar‘𝑊))
2119, 20eqtri 2821 . . . . . . . . . . . . 13 = (-g‘(Scalar‘𝑊))
22 2fveq3 6650 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (-g‘(Scalar‘𝑊)) = (-g‘(Scalar‘𝑤)))
2321, 22syl5eq 2845 . . . . . . . . . . . 12 (𝑊 = 𝑤 = (-g‘(Scalar‘𝑤)))
24 lines.1 . . . . . . . . . . . . . 14 1 = (1r𝑆)
258fveq2i 6648 . . . . . . . . . . . . . 14 (1r𝑆) = (1r‘(Scalar‘𝑊))
2624, 25eqtri 2821 . . . . . . . . . . . . 13 1 = (1r‘(Scalar‘𝑊))
27 2fveq3 6650 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (1r‘(Scalar‘𝑊)) = (1r‘(Scalar‘𝑤)))
2826, 27syl5eq 2845 . . . . . . . . . . . 12 (𝑊 = 𝑤1 = (1r‘(Scalar‘𝑤)))
29 eqidd 2799 . . . . . . . . . . . 12 (𝑊 = 𝑤𝑡 = 𝑡)
3023, 28, 29oveq123d 7156 . . . . . . . . . . 11 (𝑊 = 𝑤 → ( 1 𝑡) = ((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡))
31 eqidd 2799 . . . . . . . . . . 11 (𝑊 = 𝑤𝑥 = 𝑥)
3218, 30, 31oveq123d 7156 . . . . . . . . . 10 (𝑊 = 𝑤 → (( 1 𝑡) · 𝑥) = (((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥))
3318oveqd 7152 . . . . . . . . . 10 (𝑊 = 𝑤 → (𝑡 · 𝑦) = (𝑡( ·𝑠𝑤)𝑦))
3415, 32, 33oveq123d 7156 . . . . . . . . 9 (𝑊 = 𝑤 → ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦)))
3534eqeq2d 2809 . . . . . . . 8 (𝑊 = 𝑤 → (𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ 𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))))
3612, 35rexeqbidv 3355 . . . . . . 7 (𝑊 = 𝑤 → (∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))))
375, 36rabeqbidv 3433 . . . . . 6 (𝑊 = 𝑤 → {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))} = {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))})
385, 6, 37mpoeq123dv 7208 . . . . 5 (𝑊 = 𝑤 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) = (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3938eqcomd 2804 . . . 4 (𝑊 = 𝑤 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
4039eqcoms 2806 . . 3 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
41 elex 3459 . . 3 (𝑊𝑉𝑊 ∈ V)
423fvexi 6659 . . . . 5 𝐵 ∈ V
4342difexi 5196 . . . . 5 (𝐵 ∖ {𝑥}) ∈ V
4442, 43mpoex 7760 . . . 4 (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V
4544a1i 11 . . 3 (𝑊𝑉 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V)
462, 40, 41, 45fvmptd3 6768 . 2 (𝑊𝑉 → (LineM𝑊) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
471, 46syl5eq 2845 1 (𝑊𝑉𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1538  wcel 2111  wrex 3107  {crab 3110  Vcvv 3441  cdif 3878  {csn 4525  cfv 6324  (class class class)co 7135  cmpo 7137  Basecbs 16475  +gcplusg 16557  Scalarcsca 16560   ·𝑠 cvsca 16561  -gcsg 18097  1rcur 19244  LineMcline 45141
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 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-1st 7671  df-2nd 7672  df-line 45143
This theorem is referenced by:  line  45146  rrxlines  45147
  Copyright terms: Public domain W3C validator