MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  islbs Structured version   Visualization version   GIF version

Theorem islbs 18995
Description: The predicate "𝐵 is a basis for the left module or vector space 𝑊". A subset of the base set is a basis if zero is not in the set, it spans the set, and no nonzero multiple of an element of the basis is in the span of the rest of the family. (Contributed by Mario Carneiro, 24-Jun-2014.) (Revised by Mario Carneiro, 14-Jan-2015.)
Hypotheses
Ref Expression
islbs.v 𝑉 = (Base‘𝑊)
islbs.f 𝐹 = (Scalar‘𝑊)
islbs.s · = ( ·𝑠𝑊)
islbs.k 𝐾 = (Base‘𝐹)
islbs.j 𝐽 = (LBasis‘𝑊)
islbs.n 𝑁 = (LSpan‘𝑊)
islbs.z 0 = (0g𝐹)
Assertion
Ref Expression
islbs (𝑊𝑋 → (𝐵𝐽 ↔ (𝐵𝑉 ∧ (𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑦,𝐾   𝑥,𝑁,𝑦   𝑥,𝑊,𝑦   𝑥,𝐹,𝑦   𝑦, 0
Allowed substitution hints:   · (𝑥,𝑦)   𝐽(𝑥,𝑦)   𝐾(𝑥)   𝑉(𝑥,𝑦)   𝑋(𝑥,𝑦)   0 (𝑥)

Proof of Theorem islbs
Dummy variables 𝑏 𝑓 𝑛 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elex 3198 . . . 4 (𝑊𝑋𝑊 ∈ V)
2 islbs.j . . . . 5 𝐽 = (LBasis‘𝑊)
3 fveq2 6148 . . . . . . . . 9 (𝑤 = 𝑊 → (Base‘𝑤) = (Base‘𝑊))
4 islbs.v . . . . . . . . 9 𝑉 = (Base‘𝑊)
53, 4syl6eqr 2673 . . . . . . . 8 (𝑤 = 𝑊 → (Base‘𝑤) = 𝑉)
65pweqd 4135 . . . . . . 7 (𝑤 = 𝑊 → 𝒫 (Base‘𝑤) = 𝒫 𝑉)
7 fvex 6158 . . . . . . . . 9 (LSpan‘𝑤) ∈ V
87a1i 11 . . . . . . . 8 (𝑤 = 𝑊 → (LSpan‘𝑤) ∈ V)
9 fveq2 6148 . . . . . . . . 9 (𝑤 = 𝑊 → (LSpan‘𝑤) = (LSpan‘𝑊))
10 islbs.n . . . . . . . . 9 𝑁 = (LSpan‘𝑊)
119, 10syl6eqr 2673 . . . . . . . 8 (𝑤 = 𝑊 → (LSpan‘𝑤) = 𝑁)
12 fvex 6158 . . . . . . . . . 10 (Scalar‘𝑤) ∈ V
1312a1i 11 . . . . . . . . 9 ((𝑤 = 𝑊𝑛 = 𝑁) → (Scalar‘𝑤) ∈ V)
14 fveq2 6148 . . . . . . . . . . 11 (𝑤 = 𝑊 → (Scalar‘𝑤) = (Scalar‘𝑊))
1514adantr 481 . . . . . . . . . 10 ((𝑤 = 𝑊𝑛 = 𝑁) → (Scalar‘𝑤) = (Scalar‘𝑊))
16 islbs.f . . . . . . . . . 10 𝐹 = (Scalar‘𝑊)
1715, 16syl6eqr 2673 . . . . . . . . 9 ((𝑤 = 𝑊𝑛 = 𝑁) → (Scalar‘𝑤) = 𝐹)
18 simplr 791 . . . . . . . . . . . 12 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → 𝑛 = 𝑁)
1918fveq1d 6150 . . . . . . . . . . 11 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (𝑛𝑏) = (𝑁𝑏))
205ad2antrr 761 . . . . . . . . . . 11 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (Base‘𝑤) = 𝑉)
2119, 20eqeq12d 2636 . . . . . . . . . 10 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → ((𝑛𝑏) = (Base‘𝑤) ↔ (𝑁𝑏) = 𝑉))
22 simpr 477 . . . . . . . . . . . . . . 15 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → 𝑓 = 𝐹)
2322fveq2d 6152 . . . . . . . . . . . . . 14 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (Base‘𝑓) = (Base‘𝐹))
24 islbs.k . . . . . . . . . . . . . 14 𝐾 = (Base‘𝐹)
2523, 24syl6eqr 2673 . . . . . . . . . . . . 13 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (Base‘𝑓) = 𝐾)
2622fveq2d 6152 . . . . . . . . . . . . . . 15 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (0g𝑓) = (0g𝐹))
27 islbs.z . . . . . . . . . . . . . . 15 0 = (0g𝐹)
2826, 27syl6eqr 2673 . . . . . . . . . . . . . 14 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (0g𝑓) = 0 )
2928sneqd 4160 . . . . . . . . . . . . 13 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → {(0g𝑓)} = { 0 })
3025, 29difeq12d 3707 . . . . . . . . . . . 12 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → ((Base‘𝑓) ∖ {(0g𝑓)}) = (𝐾 ∖ { 0 }))
31 fveq2 6148 . . . . . . . . . . . . . . . . 17 (𝑤 = 𝑊 → ( ·𝑠𝑤) = ( ·𝑠𝑊))
32 islbs.s . . . . . . . . . . . . . . . . 17 · = ( ·𝑠𝑊)
3331, 32syl6eqr 2673 . . . . . . . . . . . . . . . 16 (𝑤 = 𝑊 → ( ·𝑠𝑤) = · )
3433ad2antrr 761 . . . . . . . . . . . . . . 15 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → ( ·𝑠𝑤) = · )
3534oveqd 6621 . . . . . . . . . . . . . 14 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (𝑦( ·𝑠𝑤)𝑥) = (𝑦 · 𝑥))
3618fveq1d 6150 . . . . . . . . . . . . . 14 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (𝑛‘(𝑏 ∖ {𝑥})) = (𝑁‘(𝑏 ∖ {𝑥})))
3735, 36eleq12d 2692 . . . . . . . . . . . . 13 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → ((𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥})) ↔ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥}))))
3837notbid 308 . . . . . . . . . . . 12 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥})) ↔ ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥}))))
3930, 38raleqbidv 3141 . . . . . . . . . . 11 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (∀𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥})) ↔ ∀𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥}))))
4039ralbidv 2980 . . . . . . . . . 10 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (∀𝑥𝑏𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥})) ↔ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥}))))
4121, 40anbi12d 746 . . . . . . . . 9 (((𝑤 = 𝑊𝑛 = 𝑁) ∧ 𝑓 = 𝐹) → (((𝑛𝑏) = (Base‘𝑤) ∧ ∀𝑥𝑏𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥}))) ↔ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))))
4213, 17, 41sbcied2 3455 . . . . . . . 8 ((𝑤 = 𝑊𝑛 = 𝑁) → ([(Scalar‘𝑤) / 𝑓]((𝑛𝑏) = (Base‘𝑤) ∧ ∀𝑥𝑏𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥}))) ↔ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))))
438, 11, 42sbcied2 3455 . . . . . . 7 (𝑤 = 𝑊 → ([(LSpan‘𝑤) / 𝑛][(Scalar‘𝑤) / 𝑓]((𝑛𝑏) = (Base‘𝑤) ∧ ∀𝑥𝑏𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥}))) ↔ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))))
446, 43rabeqbidv 3181 . . . . . 6 (𝑤 = 𝑊 → {𝑏 ∈ 𝒫 (Base‘𝑤) ∣ [(LSpan‘𝑤) / 𝑛][(Scalar‘𝑤) / 𝑓]((𝑛𝑏) = (Base‘𝑤) ∧ ∀𝑥𝑏𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥})))} = {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))})
45 df-lbs 18994 . . . . . 6 LBasis = (𝑤 ∈ V ↦ {𝑏 ∈ 𝒫 (Base‘𝑤) ∣ [(LSpan‘𝑤) / 𝑛][(Scalar‘𝑤) / 𝑓]((𝑛𝑏) = (Base‘𝑤) ∧ ∀𝑥𝑏𝑦 ∈ ((Base‘𝑓) ∖ {(0g𝑓)}) ¬ (𝑦( ·𝑠𝑤)𝑥) ∈ (𝑛‘(𝑏 ∖ {𝑥})))})
46 fvex 6158 . . . . . . . . 9 (Base‘𝑊) ∈ V
474, 46eqeltri 2694 . . . . . . . 8 𝑉 ∈ V
4847pwex 4808 . . . . . . 7 𝒫 𝑉 ∈ V
4948rabex 4773 . . . . . 6 {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))} ∈ V
5044, 45, 49fvmpt 6239 . . . . 5 (𝑊 ∈ V → (LBasis‘𝑊) = {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))})
512, 50syl5eq 2667 . . . 4 (𝑊 ∈ V → 𝐽 = {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))})
521, 51syl 17 . . 3 (𝑊𝑋𝐽 = {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))})
5352eleq2d 2684 . 2 (𝑊𝑋 → (𝐵𝐽𝐵 ∈ {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))}))
5447elpw2 4788 . . . 4 (𝐵 ∈ 𝒫 𝑉𝐵𝑉)
5554anbi1i 730 . . 3 ((𝐵 ∈ 𝒫 𝑉 ∧ ((𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))) ↔ (𝐵𝑉 ∧ ((𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))))
56 fveq2 6148 . . . . . 6 (𝑏 = 𝐵 → (𝑁𝑏) = (𝑁𝐵))
5756eqeq1d 2623 . . . . 5 (𝑏 = 𝐵 → ((𝑁𝑏) = 𝑉 ↔ (𝑁𝐵) = 𝑉))
58 difeq1 3699 . . . . . . . . . 10 (𝑏 = 𝐵 → (𝑏 ∖ {𝑥}) = (𝐵 ∖ {𝑥}))
5958fveq2d 6152 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑁‘(𝑏 ∖ {𝑥})) = (𝑁‘(𝐵 ∖ {𝑥})))
6059eleq2d 2684 . . . . . . . 8 (𝑏 = 𝐵 → ((𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})) ↔ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥}))))
6160notbid 308 . . . . . . 7 (𝑏 = 𝐵 → (¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})) ↔ ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥}))))
6261ralbidv 2980 . . . . . 6 (𝑏 = 𝐵 → (∀𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})) ↔ ∀𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥}))))
6362raleqbi1dv 3135 . . . . 5 (𝑏 = 𝐵 → (∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})) ↔ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥}))))
6457, 63anbi12d 746 . . . 4 (𝑏 = 𝐵 → (((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥}))) ↔ ((𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))))
6564elrab 3346 . . 3 (𝐵 ∈ {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))} ↔ (𝐵 ∈ 𝒫 𝑉 ∧ ((𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))))
66 3anass 1040 . . 3 ((𝐵𝑉 ∧ (𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥}))) ↔ (𝐵𝑉 ∧ ((𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))))
6755, 65, 663bitr4i 292 . 2 (𝐵 ∈ {𝑏 ∈ 𝒫 𝑉 ∣ ((𝑁𝑏) = 𝑉 ∧ ∀𝑥𝑏𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝑏 ∖ {𝑥})))} ↔ (𝐵𝑉 ∧ (𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥}))))
6853, 67syl6bb 276 1 (𝑊𝑋 → (𝐵𝐽 ↔ (𝐵𝑉 ∧ (𝑁𝐵) = 𝑉 ∧ ∀𝑥𝐵𝑦 ∈ (𝐾 ∖ { 0 }) ¬ (𝑦 · 𝑥) ∈ (𝑁‘(𝐵 ∖ {𝑥})))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wral 2907  {crab 2911  Vcvv 3186  [wsbc 3417  cdif 3552  wss 3555  𝒫 cpw 4130  {csn 4148  cfv 5847  (class class class)co 6604  Basecbs 15781  Scalarcsca 15865   ·𝑠 cvsca 15866  0gc0g 16021  LSpanclspn 18890  LBasisclbs 18993
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-iota 5810  df-fun 5849  df-fv 5855  df-ov 6607  df-lbs 18994
This theorem is referenced by:  lbsss  18996  lbssp  18998  lbsind  18999  lbspropd  19018  islbs2  19073  frlmlbs  20055  islbs4  20090
  Copyright terms: Public domain W3C validator