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 46033
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 46031 . . 3 LineM = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3 lines.b . . . . . . 7 𝐵 = (Base‘𝑊)
4 fveq2 6767 . . . . . . 7 (𝑊 = 𝑤 → (Base‘𝑊) = (Base‘𝑤))
53, 4eqtrid 2790 . . . . . 6 (𝑊 = 𝑤𝐵 = (Base‘𝑤))
65difeq1d 4056 . . . . . 6 (𝑊 = 𝑤 → (𝐵 ∖ {𝑥}) = ((Base‘𝑤) ∖ {𝑥}))
7 lines.k . . . . . . . . 9 𝐾 = (Base‘𝑆)
8 lines.s . . . . . . . . . . 11 𝑆 = (Scalar‘𝑊)
9 fveq2 6767 . . . . . . . . . . 11 (𝑊 = 𝑤 → (Scalar‘𝑊) = (Scalar‘𝑤))
108, 9eqtrid 2790 . . . . . . . . . 10 (𝑊 = 𝑤𝑆 = (Scalar‘𝑤))
1110fveq2d 6771 . . . . . . . . 9 (𝑊 = 𝑤 → (Base‘𝑆) = (Base‘(Scalar‘𝑤)))
127, 11eqtrid 2790 . . . . . . . 8 (𝑊 = 𝑤𝐾 = (Base‘(Scalar‘𝑤)))
13 lines.a . . . . . . . . . . 11 + = (+g𝑊)
14 fveq2 6767 . . . . . . . . . . 11 (𝑊 = 𝑤 → (+g𝑊) = (+g𝑤))
1513, 14eqtrid 2790 . . . . . . . . . 10 (𝑊 = 𝑤+ = (+g𝑤))
16 lines.p . . . . . . . . . . . 12 · = ( ·𝑠𝑊)
17 fveq2 6767 . . . . . . . . . . . 12 (𝑊 = 𝑤 → ( ·𝑠𝑊) = ( ·𝑠𝑤))
1816, 17eqtrid 2790 . . . . . . . . . . 11 (𝑊 = 𝑤· = ( ·𝑠𝑤))
19 lines.m . . . . . . . . . . . . . 14 = (-g𝑆)
208fveq2i 6770 . . . . . . . . . . . . . 14 (-g𝑆) = (-g‘(Scalar‘𝑊))
2119, 20eqtri 2766 . . . . . . . . . . . . 13 = (-g‘(Scalar‘𝑊))
22 2fveq3 6772 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (-g‘(Scalar‘𝑊)) = (-g‘(Scalar‘𝑤)))
2321, 22eqtrid 2790 . . . . . . . . . . . 12 (𝑊 = 𝑤 = (-g‘(Scalar‘𝑤)))
24 lines.1 . . . . . . . . . . . . . 14 1 = (1r𝑆)
258fveq2i 6770 . . . . . . . . . . . . . 14 (1r𝑆) = (1r‘(Scalar‘𝑊))
2624, 25eqtri 2766 . . . . . . . . . . . . 13 1 = (1r‘(Scalar‘𝑊))
27 2fveq3 6772 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (1r‘(Scalar‘𝑊)) = (1r‘(Scalar‘𝑤)))
2826, 27eqtrid 2790 . . . . . . . . . . . 12 (𝑊 = 𝑤1 = (1r‘(Scalar‘𝑤)))
29 eqidd 2739 . . . . . . . . . . . 12 (𝑊 = 𝑤𝑡 = 𝑡)
3023, 28, 29oveq123d 7289 . . . . . . . . . . 11 (𝑊 = 𝑤 → ( 1 𝑡) = ((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡))
31 eqidd 2739 . . . . . . . . . . 11 (𝑊 = 𝑤𝑥 = 𝑥)
3218, 30, 31oveq123d 7289 . . . . . . . . . 10 (𝑊 = 𝑤 → (( 1 𝑡) · 𝑥) = (((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥))
3318oveqd 7285 . . . . . . . . . 10 (𝑊 = 𝑤 → (𝑡 · 𝑦) = (𝑡( ·𝑠𝑤)𝑦))
3415, 32, 33oveq123d 7289 . . . . . . . . 9 (𝑊 = 𝑤 → ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦)))
3534eqeq2d 2749 . . . . . . . 8 (𝑊 = 𝑤 → (𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ 𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))))
3612, 35rexeqbidv 3335 . . . . . . 7 (𝑊 = 𝑤 → (∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))))
375, 36rabeqbidv 3418 . . . . . 6 (𝑊 = 𝑤 → {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))} = {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))})
385, 6, 37mpoeq123dv 7341 . . . . 5 (𝑊 = 𝑤 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) = (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3938eqcomd 2744 . . . 4 (𝑊 = 𝑤 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
4039eqcoms 2746 . . 3 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
41 elex 3448 . . 3 (𝑊𝑉𝑊 ∈ V)
423fvexi 6781 . . . . 5 𝐵 ∈ V
4342difexi 5251 . . . . 5 (𝐵 ∖ {𝑥}) ∈ V
4442, 43mpoex 7910 . . . 4 (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V
4544a1i 11 . . 3 (𝑊𝑉 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V)
462, 40, 41, 45fvmptd3 6891 . 2 (𝑊𝑉 → (LineM𝑊) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
471, 46eqtrid 2790 1 (𝑊𝑉𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  wcel 2106  wrex 3065  {crab 3068  Vcvv 3430  cdif 3884  {csn 4562  cfv 6427  (class class class)co 7268  cmpo 7270  Basecbs 16900  +gcplusg 16950  Scalarcsca 16953   ·𝑠 cvsca 16954  -gcsg 18567  1rcur 19725  LineMcline 46029
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5222  ax-nul 5229  ax-pow 5287  ax-pr 5351  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3071  df-rab 3073  df-v 3432  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4258  df-if 4461  df-pw 4536  df-sn 4563  df-pr 4565  df-op 4569  df-uni 4841  df-iun 4927  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5485  df-xp 5591  df-rel 5592  df-cnv 5593  df-co 5594  df-dm 5595  df-rn 5596  df-res 5597  df-ima 5598  df-iota 6385  df-fun 6429  df-fn 6430  df-f 6431  df-f1 6432  df-fo 6433  df-f1o 6434  df-fv 6435  df-ov 7271  df-oprab 7272  df-mpo 7273  df-1st 7821  df-2nd 7822  df-line 46031
This theorem is referenced by:  line  46034  rrxlines  46035
  Copyright terms: Public domain W3C validator