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

Theorem ressval3d 17436
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 4031 . . . 4 (𝐴 ⊆ 𝐵 ↔ (𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵))
3 dfpss3 4018 . . . . 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 6907 . . . . . . . . 9 𝐵 ∈ V
1211a1i 11 . . . . . . . 8 (𝜑 → 𝐵 ∈ V)
13 ssexg 5284 . . . . . . . 8 ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ V) → 𝐴 ∈ V)
149, 12, 13syl2an 608 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 ∈ V)
15 ressval3d.r . . . . . . . 8 𝑅 = (𝑆 ↾s 𝐴)
1615, 10ressval2 17425 . . . . . . 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 4096 . . . . . . . . . . . . 13 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2120biimpi 219 . . . . . . . . . . . 12 (𝐴 ⊆ 𝐵 → (𝐴 ∩ 𝐵) = 𝐴)
2221eqcomd 2769 . . . . . . . . . . 11 (𝐴 ⊆ 𝐵 → 𝐴 = (𝐴 ∩ 𝐵))
2322adantr 486 . . . . . . . . . 10 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 = (𝐴 ∩ 𝐵))
2423adantr 486 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 = (𝐴 ∩ 𝐵))
2519, 24opeq12d 4850 . . . . . . . 8 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩)
2625eqcomd 2769 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨𝐸, 𝐴⟩)
2726oveq2d 7443 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2817, 27eqtrd 2798 . . . . 5 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2928ex 418 . . . 4 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
3015a1i 11 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 ↾s 𝐴))
31 oveq2 7435 . . . . . . . 8 (𝐴 = 𝐵 → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
3231adantr 486 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
337adantl 487 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 ∈ 𝑉)
3410ressid 17434 . . . . . . . 8 (𝑆 ∈ 𝑉 → (𝑆 ↾s 𝐵) = 𝑆)
3533, 34syl 18 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐵) = 𝑆)
3630, 32, 353eqtrd 2802 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = 𝑆)
37 baseid 17402 . . . . . . . 8 Base = Slot (Base‘ndx)
38 ressval3d.f . . . . . . . 8 (𝜑 → Fun 𝑆)
39 ressval3d.d . . . . . . . . 9 (𝜑 → 𝐸 ∈ dom 𝑆)
4018, 39eqeltrrid 2868 . . . . . . . 8 (𝜑 → (Base‘ndx) ∈ dom 𝑆)
4137, 7, 38, 40setsidvald 17389 . . . . . . 7 (𝜑 → 𝑆 = (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩))
4241adantl 487 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 = (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩))
4318a1i 11 . . . . . . . . 9 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐸 = (Base‘ndx))
44 simpl 488 . . . . . . . . . 10 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = 𝐵)
4544, 10eqtrdi 2814 . . . . . . . . 9 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = (Base‘𝑆))
4643, 45opeq12d 4850 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (Base‘𝑆)⟩)
4746eqcomd 2769 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨(Base‘ndx), (Base‘𝑆)⟩ = ⟨𝐸, 𝐴⟩)
4847oveq2d 7443 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
4936, 42, 483eqtrd 2802 . . . . 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 1569   ∈ wcel 2146  Vcvv 3453   ⊆ wss 3899   ⊊ wpss 4015   ∩ cin 4091  ⟨cop 4837  dom cdm 5654  Fun wfun 6540  ‘cfv 6546  (class class class)co 7427   sSet csts 17353  ndxcnx 17383  Basecbs 17399   ↾s cress 17420
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-sep 5251  ax-nul 5262  ax-pow 5330  ax-pr 5394  ax-un 7758  ax-cnex 11266  ax-1cn 11268  ax-addcl 11270
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  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 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-om 7885  df-2nd 8009  df-frecs 8310  df-wrecs 8341  df-recs 8390  df-rdg 8429  df-nn 12346  df-sets 17354  df-slot 17372  df-ndx 17384  df-base 17400  df-ress 17421
This theorem is used by:  estrres  18325
  Copyright terms: Public domain W3C validator