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 44767
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 44765 . . 3 LineM = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3 lines.b . . . . . . 7 𝐵 = (Base‘𝑊)
4 fveq2 6670 . . . . . . 7 (𝑊 = 𝑤 → (Base‘𝑊) = (Base‘𝑤))
53, 4syl5eq 2868 . . . . . 6 (𝑊 = 𝑤𝐵 = (Base‘𝑤))
65difeq1d 4098 . . . . . 6 (𝑊 = 𝑤 → (𝐵 ∖ {𝑥}) = ((Base‘𝑤) ∖ {𝑥}))
7 lines.k . . . . . . . . 9 𝐾 = (Base‘𝑆)
8 lines.s . . . . . . . . . . 11 𝑆 = (Scalar‘𝑊)
9 fveq2 6670 . . . . . . . . . . 11 (𝑊 = 𝑤 → (Scalar‘𝑊) = (Scalar‘𝑤))
108, 9syl5eq 2868 . . . . . . . . . 10 (𝑊 = 𝑤𝑆 = (Scalar‘𝑤))
1110fveq2d 6674 . . . . . . . . 9 (𝑊 = 𝑤 → (Base‘𝑆) = (Base‘(Scalar‘𝑤)))
127, 11syl5eq 2868 . . . . . . . 8 (𝑊 = 𝑤𝐾 = (Base‘(Scalar‘𝑤)))
13 lines.a . . . . . . . . . . 11 + = (+g𝑊)
14 fveq2 6670 . . . . . . . . . . 11 (𝑊 = 𝑤 → (+g𝑊) = (+g𝑤))
1513, 14syl5eq 2868 . . . . . . . . . 10 (𝑊 = 𝑤+ = (+g𝑤))
16 lines.p . . . . . . . . . . . 12 · = ( ·𝑠𝑊)
17 fveq2 6670 . . . . . . . . . . . 12 (𝑊 = 𝑤 → ( ·𝑠𝑊) = ( ·𝑠𝑤))
1816, 17syl5eq 2868 . . . . . . . . . . 11 (𝑊 = 𝑤· = ( ·𝑠𝑤))
19 lines.m . . . . . . . . . . . . . 14 = (-g𝑆)
208fveq2i 6673 . . . . . . . . . . . . . 14 (-g𝑆) = (-g‘(Scalar‘𝑊))
2119, 20eqtri 2844 . . . . . . . . . . . . 13 = (-g‘(Scalar‘𝑊))
22 2fveq3 6675 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (-g‘(Scalar‘𝑊)) = (-g‘(Scalar‘𝑤)))
2321, 22syl5eq 2868 . . . . . . . . . . . 12 (𝑊 = 𝑤 = (-g‘(Scalar‘𝑤)))
24 lines.1 . . . . . . . . . . . . . 14 1 = (1r𝑆)
258fveq2i 6673 . . . . . . . . . . . . . 14 (1r𝑆) = (1r‘(Scalar‘𝑊))
2624, 25eqtri 2844 . . . . . . . . . . . . 13 1 = (1r‘(Scalar‘𝑊))
27 2fveq3 6675 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (1r‘(Scalar‘𝑊)) = (1r‘(Scalar‘𝑤)))
2826, 27syl5eq 2868 . . . . . . . . . . . 12 (𝑊 = 𝑤1 = (1r‘(Scalar‘𝑤)))
29 eqidd 2822 . . . . . . . . . . . 12 (𝑊 = 𝑤𝑡 = 𝑡)
3023, 28, 29oveq123d 7177 . . . . . . . . . . 11 (𝑊 = 𝑤 → ( 1 𝑡) = ((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡))
31 eqidd 2822 . . . . . . . . . . 11 (𝑊 = 𝑤𝑥 = 𝑥)
3218, 30, 31oveq123d 7177 . . . . . . . . . 10 (𝑊 = 𝑤 → (( 1 𝑡) · 𝑥) = (((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥))
3318oveqd 7173 . . . . . . . . . 10 (𝑊 = 𝑤 → (𝑡 · 𝑦) = (𝑡( ·𝑠𝑤)𝑦))
3415, 32, 33oveq123d 7177 . . . . . . . . 9 (𝑊 = 𝑤 → ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦)))
3534eqeq2d 2832 . . . . . . . 8 (𝑊 = 𝑤 → (𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ 𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))))
3612, 35rexeqbidv 3402 . . . . . . 7 (𝑊 = 𝑤 → (∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))))
375, 36rabeqbidv 3485 . . . . . 6 (𝑊 = 𝑤 → {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))} = {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))})
385, 6, 37mpoeq123dv 7229 . . . . 5 (𝑊 = 𝑤 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) = (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}))
3938eqcomd 2827 . . . 4 (𝑊 = 𝑤 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
4039eqcoms 2829 . . 3 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠𝑤)𝑥)(+g𝑤)(𝑡( ·𝑠𝑤)𝑦))}) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
41 elex 3512 . . 3 (𝑊𝑉𝑊 ∈ V)
423fvexi 6684 . . . . 5 𝐵 ∈ V
4342difexi 5232 . . . . 5 (𝐵 ∖ {𝑥}) ∈ V
4442, 43mpoex 7777 . . . 4 (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V
4544a1i 11 . . 3 (𝑊𝑉 → (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V)
462, 40, 41, 45fvmptd3 6791 . 2 (𝑊𝑉 → (LineM𝑊) = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
471, 46syl5eq 2868 1 (𝑊𝑉𝐿 = (𝑥𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝𝐵 ∣ ∃𝑡𝐾 𝑝 = ((( 1 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1537  wcel 2114  wrex 3139  {crab 3142  Vcvv 3494  cdif 3933  {csn 4567  cfv 6355  (class class class)co 7156  cmpo 7158  Basecbs 16483  +gcplusg 16565  Scalarcsca 16568   ·𝑠 cvsca 16569  -gcsg 18105  1rcur 19251  LineMcline 44763
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-1st 7689  df-2nd 7690  df-line 44765
This theorem is referenced by:  line  44768  rrxlines  44769
  Copyright terms: Public domain W3C validator