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 46029
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 46027 . . 3 LineM = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3 lines.b . . . . . . 7 𝐵 = (Base‘𝑊)
4 fveq2 6768 . . . . . . 7 (𝑊 = 𝑤 → (Base‘𝑊) = (Base‘𝑤))
53, 4eqtrid 2791 . . . . . 6 (𝑊 = 𝑤𝐵 = (Base‘𝑤))
65difeq1d 4060 . . . . . 6 (𝑊 = 𝑤 → (𝐵 ∖ {𝑥}) = ((Base‘𝑤) ∖ {𝑥}))
7 lines.k . . . . . . . . 9 𝐾 = (Base‘𝑆)
8 lines.s . . . . . . . . . . 11 𝑆 = (Scalar‘𝑊)
9 fveq2 6768 . . . . . . . . . . 11 (𝑊 = 𝑤 → (Scalar‘𝑊) = (Scalar‘𝑤))
108, 9eqtrid 2791 . . . . . . . . . 10 (𝑊 = 𝑤𝑆 = (Scalar‘𝑤))
1110fveq2d 6772 . . . . . . . . 9 (𝑊 = 𝑤 → (Base‘𝑆) = (Base‘(Scalar‘𝑤)))
127, 11eqtrid 2791 . . . . . . . 8 (𝑊 = 𝑤𝐾 = (Base‘(Scalar‘𝑤)))
13 lines.a . . . . . . . . . . 11 + = (+g𝑊)
14 fveq2 6768 . . . . . . . . . . 11 (𝑊 = 𝑤 → (+g𝑊) = (+g𝑤))
1513, 14eqtrid 2791 . . . . . . . . . 10 (𝑊 = 𝑤+ = (+g𝑤))
16 lines.p . . . . . . . . . . . 12 · = ( ·𝑠𝑊)
17 fveq2 6768 . . . . . . . . . . . 12 (𝑊 = 𝑤 → ( ·𝑠𝑊) = ( ·𝑠𝑤))
1816, 17eqtrid 2791 . . . . . . . . . . 11 (𝑊 = 𝑤· = ( ·𝑠𝑤))
19 lines.m . . . . . . . . . . . . . 14 = (-g𝑆)
208fveq2i 6771 . . . . . . . . . . . . . 14 (-g𝑆) = (-g‘(Scalar‘𝑊))
2119, 20eqtri 2767 . . . . . . . . . . . . 13 = (-g‘(Scalar‘𝑊))
22 2fveq3 6773 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (-g‘(Scalar‘𝑊)) = (-g‘(Scalar‘𝑤)))
2321, 22eqtrid 2791 . . . . . . . . . . . 12 (𝑊 = 𝑤 = (-g‘(Scalar‘𝑤)))
24 lines.1 . . . . . . . . . . . . . 14 1 = (1r𝑆)
258fveq2i 6771 . . . . . . . . . . . . . 14 (1r𝑆) = (1r‘(Scalar‘𝑊))
2624, 25eqtri 2767 . . . . . . . . . . . . 13 1 = (1r‘(Scalar‘𝑊))
27 2fveq3 6773 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (1r‘(Scalar‘𝑊)) = (1r‘(Scalar‘𝑤)))
2826, 27eqtrid 2791 . . . . . . . . . . . 12 (𝑊 = 𝑤1 = (1r‘(Scalar‘𝑤)))
29 eqidd 2740 . . . . . . . . . . . 12 (𝑊 = 𝑤𝑡 = 𝑡)
3023, 28, 29oveq123d 7289 . . . . . . . . . . 11 (𝑊 = 𝑤 → ( 1 𝑡) = ((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡))
31 eqidd 2740 . . . . . . . . . . 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 2750 . . . . . . . 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 2745 . . . 4 (𝑊 = 𝑤 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
4039eqcoms 2747 . . 3 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
41 elex 3448 . . 3 (𝑊𝑉𝑊 ∈ V)
423fvexi 6782 . . . . 5 𝐵 ∈ V
4342difexi 5255 . . . . 5 (𝐵 ∖ {𝑥}) ∈ V
4442, 43mpoex 7906 . . . 4 (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V
4544a1i 11 . . 3 (𝑊𝑉 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V)
462, 40, 41, 45fvmptd3 6892 . 2 (𝑊𝑉 → (LineM𝑊) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
471, 46eqtrid 2791 1 (𝑊𝑉𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1541  wcel 2109  wrex 3066  {crab 3069  Vcvv 3430  cdif 3888  {csn 4566  cfv 6430  (class class class)co 7268  cmpo 7270  Basecbs 16893  +gcplusg 16943  Scalarcsca 16946   ·𝑠 cvsca 16947  -gcsg 18560  1rcur 19718  LineMcline 46025
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710  ax-rep 5213  ax-sep 5226  ax-nul 5233  ax-pow 5291  ax-pr 5355  ax-un 7579
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-fal 1554  df-ex 1786  df-nf 1790  df-sb 2071  df-mo 2541  df-eu 2570  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ne 2945  df-ral 3070  df-rex 3071  df-reu 3072  df-rab 3074  df-v 3432  df-sbc 3720  df-csb 3837  df-dif 3894  df-un 3896  df-in 3898  df-ss 3908  df-nul 4262  df-if 4465  df-pw 4540  df-sn 4567  df-pr 4569  df-op 4573  df-uni 4845  df-iun 4931  df-br 5079  df-opab 5141  df-mpt 5162  df-id 5488  df-xp 5594  df-rel 5595  df-cnv 5596  df-co 5597  df-dm 5598  df-rn 5599  df-res 5600  df-ima 5601  df-iota 6388  df-fun 6432  df-fn 6433  df-f 6434  df-f1 6435  df-fo 6436  df-f1o 6437  df-fv 6438  df-ov 7271  df-oprab 7272  df-mpo 7273  df-1st 7817  df-2nd 7818  df-line 46027
This theorem is referenced by:  line  46030  rrxlines  46031
  Copyright terms: Public domain W3C validator