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

Theorem ressval3d 17424
Description: Value of structure restriction, deduction version. (Contributed by AV, 14-Mar-2020.) (Revised by AV, 3-Jul-2022.) (Proof shortened by AV, 17-Oct-2024.)
Hypotheses
Ref Expression
ressval3d.r 𝑅 = (𝑆 ↾s 𝐴)
ressval3d.b 𝐵 = (Base‘𝑆)
ressval3d.e 𝐸 = (Base‘ndx)
ressval3d.s (𝜑 → 𝑆 ∈ 𝑉)
ressval3d.f (𝜑 → Fun 𝑆)
ressval3d.d (𝜑 → 𝐸 ∈ dom 𝑆)
ressval3d.u (𝜑 → 𝐴 ⊆ 𝐵)
Assertion
Ref Expression
ressval3d (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))

Proof of Theorem ressval3d
StepHypRef Expression
1 ressval3d.u . 2 (𝜑 → 𝐴 ⊆ 𝐵)
2 sspss 4050 . . . 4 (𝐴 ⊆ 𝐵 ↔ (𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵))
3 dfpss3 4037 . . . . 5 (𝐴 ⊊ 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴))
43orbi1i 927 . . . 4 ((𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵) ↔ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∨ 𝐴 = 𝐵))
52, 4bitri 278 . . 3 (𝐴 ⊆ 𝐵 ↔ ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∨ 𝐴 = 𝐵))
6 simplr 781 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ¬ 𝐵 ⊆ 𝐴)
7 ressval3d.s . . . . . . . 8 (𝜑 → 𝑆 ∈ 𝑉)
87adantl 487 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑆 ∈ 𝑉)
9 simpl 488 . . . . . . . 8 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 ⊆ 𝐵)
10 ressval3d.b . . . . . . . . . 10 𝐵 = (Base‘𝑆)
1110fvexi 6899 . . . . . . . . 9 𝐵 ∈ V
1211a1i 11 . . . . . . . 8 (𝜑 → 𝐵 ∈ V)
13 ssexg 5281 . . . . . . . 8 ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ V) → 𝐴 ∈ V)
149, 12, 13syl2an 608 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 ∈ V)
15 ressval3d.r . . . . . . . 8 𝑅 = (𝑆 ↾s 𝐴)
1615, 10ressval2 17413 . . . . . . 7 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑆 ∈ 𝑉 ∧ 𝐴 ∈ V) → 𝑅 = (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
176, 8, 14, 16syl3anc 1398 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
18 ressval3d.e . . . . . . . . . 10 𝐸 = (Base‘ndx)
1918a1i 11 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐸 = (Base‘ndx))
20 dfss2 3917 . . . . . . . . . . . . 13 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2120biimpi 219 . . . . . . . . . . . 12 (𝐴 ⊆ 𝐵 → (𝐴 ∩ 𝐵) = 𝐴)
2221eqcomd 2767 . . . . . . . . . . 11 (𝐴 ⊆ 𝐵 → 𝐴 = (𝐴 ∩ 𝐵))
2322adantr 486 . . . . . . . . . 10 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 = (𝐴 ∩ 𝐵))
2423adantr 486 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 = (𝐴 ∩ 𝐵))
2519, 24opeq12d 4841 . . . . . . . 8 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩)
2625eqcomd 2767 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨𝐸, 𝐴⟩)
2726oveq2d 7436 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2817, 27eqtrd 2796 . . . . 5 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2928ex 418 . . . 4 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
3015a1i 11 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 ↾s 𝐴))
31 oveq2 7428 . . . . . . . 8 (𝐴 = 𝐵 → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
3231adantr 486 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
337adantl 487 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 ∈ 𝑉)
3410ressid 17422 . . . . . . . 8 (𝑆 ∈ 𝑉 → (𝑆 ↾s 𝐵) = 𝑆)
3533, 34syl 18 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐵) = 𝑆)
3630, 32, 353eqtrd 2800 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = 𝑆)
37 baseid 17390 . . . . . . . 8 Base = Slot (Base‘ndx)
38 ressval3d.f . . . . . . . 8 (𝜑 → Fun 𝑆)
39 ressval3d.d . . . . . . . . 9 (𝜑 → 𝐸 ∈ dom 𝑆)
4018, 39eqeltrrid 2866 . . . . . . . 8 (𝜑 → (Base‘ndx) ∈ dom 𝑆)
4137, 7, 38, 40setsidvald 17377 . . . . . . 7 (𝜑 → 𝑆 = (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩))
4241adantl 487 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 = (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩))
4318a1i 11 . . . . . . . . 9 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐸 = (Base‘ndx))
44 simpl 488 . . . . . . . . . 10 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = 𝐵)
4544, 10eqtrdi 2812 . . . . . . . . 9 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = (Base‘𝑆))
4643, 45opeq12d 4841 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (Base‘𝑆)⟩)
4746eqcomd 2767 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨(Base‘ndx), (Base‘𝑆)⟩ = ⟨𝐸, 𝐴⟩)
4847oveq2d 7436 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
4936, 42, 483eqtrd 2800 . . . . 5 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))
5049ex 418 . . . 4 (𝐴 = 𝐵 → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
5129, 50jaoi 871 . . 3 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∨ 𝐴 = 𝐵) → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
525, 51sylbi 220 . 2 (𝐴 ⊆ 𝐵 → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
531, 52mpcom 39 1 (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∨ wo 861   = wceq 1570   ∈ wcel 2145  Vcvv 3451   ∩ cin 3898   ⊆ wss 3899   ⊊ wpss 3900  ⟨cop 4590  dom cdm 5651  Fun wfun 6532  ‘cfv 6538  (class class class)co 7420   sSet csts 17341  ndxcnx 17371  Basecbs 17387   ↾s cress 17408
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-cnex 11256  ax-1cn 11258  ax-addcl 11260
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-nn 12336  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409
This theorem is used by:  estrres  18313
  Copyright terms: Public domain W3C validator