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 49989
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 49987 . . 3 LineM = (𝑤 ∈ V ↦ (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥)(+g‘𝑤)(𝑡( ·𝑠 ‘𝑤)𝑦))}))
3 lines.b . . . . . . 7 𝐵 = (Base‘𝑊)
4 fveq2 6896 . . . . . . 7 (𝑊 = 𝑤 → (Base‘𝑊) = (Base‘𝑤))
53, 4eqtrid 2810 . . . . . 6 (𝑊 = 𝑤 → 𝐵 = (Base‘𝑤))
65difeq1d 4065 . . . . . 6 (𝑊 = 𝑤 → (𝐵 ∖ {𝑥}) = ((Base‘𝑤) ∖ {𝑥}))
7 lines.k . . . . . . . . 9 𝐾 = (Base‘𝑆)
8 lines.s . . . . . . . . . . 11 𝑆 = (Scalar‘𝑊)
9 fveq2 6896 . . . . . . . . . . 11 (𝑊 = 𝑤 → (Scalar‘𝑊) = (Scalar‘𝑤))
108, 9eqtrid 2810 . . . . . . . . . 10 (𝑊 = 𝑤 → 𝑆 = (Scalar‘𝑤))
1110fveq2d 6900 . . . . . . . . 9 (𝑊 = 𝑤 → (Base‘𝑆) = (Base‘(Scalar‘𝑤)))
127, 11eqtrid 2810 . . . . . . . 8 (𝑊 = 𝑤 → 𝐾 = (Base‘(Scalar‘𝑤)))
13 lines.a . . . . . . . . . . 11 + = (+g‘𝑊)
14 fveq2 6896 . . . . . . . . . . 11 (𝑊 = 𝑤 → (+g‘𝑊) = (+g‘𝑤))
1513, 14eqtrid 2810 . . . . . . . . . 10 (𝑊 = 𝑤 → + = (+g‘𝑤))
16 lines.p . . . . . . . . . . . 12 · = ( ·𝑠 ‘𝑊)
17 fveq2 6896 . . . . . . . . . . . 12 (𝑊 = 𝑤 → ( ·𝑠 ‘𝑊) = ( ·𝑠 ‘𝑤))
1816, 17eqtrid 2810 . . . . . . . . . . 11 (𝑊 = 𝑤 → · = ( ·𝑠 ‘𝑤))
19 lines.m . . . . . . . . . . . . . 14 − = (-g‘𝑆)
208fveq2i 6899 . . . . . . . . . . . . . 14 (-g‘𝑆) = (-g‘(Scalar‘𝑊))
2119, 20eqtri 2786 . . . . . . . . . . . . 13 − = (-g‘(Scalar‘𝑊))
22 2fveq3 6901 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (-g‘(Scalar‘𝑊)) = (-g‘(Scalar‘𝑤)))
2321, 22eqtrid 2810 . . . . . . . . . . . 12 (𝑊 = 𝑤 → − = (-g‘(Scalar‘𝑤)))
24 lines.1 . . . . . . . . . . . . . 14 1 = (1r‘𝑆)
258fveq2i 6899 . . . . . . . . . . . . . 14 (1r‘𝑆) = (1r‘(Scalar‘𝑊))
2624, 25eqtri 2786 . . . . . . . . . . . . 13 1 = (1r‘(Scalar‘𝑊))
27 2fveq3 6901 . . . . . . . . . . . . 13 (𝑊 = 𝑤 → (1r‘(Scalar‘𝑊)) = (1r‘(Scalar‘𝑤)))
2826, 27eqtrid 2810 . . . . . . . . . . . 12 (𝑊 = 𝑤 → 1 = (1r‘(Scalar‘𝑤)))
29 eqidd 2764 . . . . . . . . . . . 12 (𝑊 = 𝑤 → 𝑡 = 𝑡)
3023, 28, 29oveq123d 7451 . . . . . . . . . . 11 (𝑊 = 𝑤 → ( 1 − 𝑡) = ((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡))
31 eqidd 2764 . . . . . . . . . . 11 (𝑊 = 𝑤 → 𝑥 = 𝑥)
3218, 30, 31oveq123d 7451 . . . . . . . . . 10 (𝑊 = 𝑤 → (( 1 − 𝑡) · 𝑥) = (((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥))
3318oveqd 7447 . . . . . . . . . 10 (𝑊 = 𝑤 → (𝑡 · 𝑦) = (𝑡( ·𝑠 ‘𝑤)𝑦))
3415, 32, 33oveq123d 7451 . . . . . . . . 9 (𝑊 = 𝑤 → ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦)) = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥)(+g‘𝑤)(𝑡( ·𝑠 ‘𝑤)𝑦)))
3534eqeq2d 2774 . . . . . . . 8 (𝑊 = 𝑤 → (𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦)) ↔ 𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥)(+g‘𝑤)(𝑡( ·𝑠 ‘𝑤)𝑦))))
3612, 35rexeqbidv 3339 . . . . . . 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 7505 . . . . 5 (𝑊 = 𝑤 → (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}) = (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥)(+g‘𝑤)(𝑡( ·𝑠 ‘𝑤)𝑦))}))
3938eqcomd 2769 . . . 4 (𝑊 = 𝑤 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥)(+g‘𝑤)(𝑡( ·𝑠 ‘𝑤)𝑦))}) = (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
4039eqcoms 2771 . . 3 (𝑤 = 𝑊 → (𝑥 ∈ (Base‘𝑤), 𝑦 ∈ ((Base‘𝑤) ∖ {𝑥}) ↦ {𝑝 ∈ (Base‘𝑤) ∣ ∃𝑡 ∈ (Base‘(Scalar‘𝑤))𝑝 = ((((1r‘(Scalar‘𝑤))(-g‘(Scalar‘𝑤))𝑡)( ·𝑠 ‘𝑤)𝑥)(+g‘𝑤)(𝑡( ·𝑠 ‘𝑤)𝑦))}) = (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
41 elex 3475 . . 3 (𝑊 ∈ 𝑉 → 𝑊 ∈ V)
423fvexi 6910 . . . . 5 𝐵 ∈ V
4342difexi 5296 . . . . 5 (𝐵 ∖ {𝑥}) ∈ V
4442, 43mpoex 8103 . . . 4 (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V
4544a1i 11 . . 3 (𝑊 ∈ 𝑉 → (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}) ∈ V)
462, 40, 41, 45fvmptd3 7028 . 2 (𝑊 ∈ 𝑉 → (LineM‘𝑊) = (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
471, 46eqtrid 2810 1 (𝑊 ∈ 𝑉 → 𝐿 = (𝑥 ∈ 𝐵, 𝑦 ∈ (𝐵 ∖ {𝑥}) ↦ {𝑝 ∈ 𝐵 ∣ ∃𝑡 ∈ 𝐾 𝑝 = ((( 1 − 𝑡) · 𝑥) + (𝑡 · 𝑦))}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   = wceq 1569   ∈ wcel 2146  ∃wrex 3090  {crab 3416  Vcvv 3454   ∖ cdif 4048  {csn 4588  ‘cfv 6547  (class class class)co 7430   ∈ cmpo 7432  Basecbs 17402  +gcplusg 17443  Scalarcsca 17446   ·𝑠 cvsca 17447  -gcsg 19161  1rcur 20422  LineMcline 49985
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-oprab 7434  df-mpo 7435  df-1st 8011  df-2nd 8012  df-line 49987
This theorem is used by:  line  49990  rrxlines  49991
  Copyright terms: Public domain W3C validator