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

Theorem ressval3d 17492
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 4039 . . . 4 (𝐴 ⊆ 𝐵 ↔ (𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵))
3 dfpss3 4026 . . . . 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 6948 . . . . . . . . 9 𝐵 ∈ V
1211a1i 11 . . . . . . . 8 (𝜑 → 𝐵 ∈ V)
13 ssexg 5296 . . . . . . . 8 ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ V) → 𝐴 ∈ V)
149, 12, 13syl2an 608 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 ∈ V)
15 ressval3d.r . . . . . . . 8 𝑅 = (𝑆 ↾s 𝐴)
1615, 10ressval2 17481 . . . . . . 7 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑆 ∈ 𝑉 ∧ 𝐴 ∈ V) → 𝑅 = (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
176, 8, 14, 16syl3anc 1401 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
18 ressval3d.e . . . . . . . . . 10 𝐸 = (Base‘ndx)
1918a1i 11 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐸 = (Base‘ndx))
20 dfss2 4104 . . . . . . . . . . . . 13 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2120biimpi 219 . . . . . . . . . . . 12 (𝐴 ⊆ 𝐵 → (𝐴 ∩ 𝐵) = 𝐴)
2221eqcomd 2780 . . . . . . . . . . 11 (𝐴 ⊆ 𝐵 → 𝐴 = (𝐴 ∩ 𝐵))
2322adantr 486 . . . . . . . . . 10 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 = (𝐴 ∩ 𝐵))
2423adantr 486 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 = (𝐴 ∩ 𝐵))
2519, 24opeq12d 4861 . . . . . . . 8 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩)
2625eqcomd 2780 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨𝐸, 𝐴⟩)
2726oveq2d 7486 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2817, 27eqtrd 2809 . . . . 5 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2928ex 418 . . . 4 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
3015a1i 11 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 ↾s 𝐴))
31 oveq2 7478 . . . . . . . 8 (𝐴 = 𝐵 → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
3231adantr 486 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
337adantl 487 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 ∈ 𝑉)
3410ressid 17490 . . . . . . . 8 (𝑆 ∈ 𝑉 → (𝑆 ↾s 𝐵) = 𝑆)
3533, 34syl 18 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐵) = 𝑆)
3630, 32, 353eqtrd 2813 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = 𝑆)
37 baseid 17458 . . . . . . . 8 Base = Slot (Base‘ndx)
38 ressval3d.f . . . . . . . 8 (𝜑 → Fun 𝑆)
39 ressval3d.d . . . . . . . . 9 (𝜑 → 𝐸 ∈ dom 𝑆)
4018, 39eqeltrrid 2880 . . . . . . . 8 (𝜑 → (Base‘ndx) ∈ dom 𝑆)
4137, 7, 38, 40setsidvald 17445 . . . . . . 7 (𝜑 → 𝑆 = (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩))
4241adantl 487 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 = (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩))
4318a1i 11 . . . . . . . . 9 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐸 = (Base‘ndx))
44 simpl 488 . . . . . . . . . 10 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = 𝐵)
4544, 10eqtrdi 2825 . . . . . . . . 9 ((𝐴 = 𝐵 ∧ 𝜑) → 𝐴 = (Base‘𝑆))
4643, 45opeq12d 4861 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (Base‘𝑆)⟩)
4746eqcomd 2780 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨(Base‘ndx), (Base‘𝑆)⟩ = ⟨𝐸, 𝐴⟩)
4847oveq2d 7486 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (Base‘𝑆)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
4936, 42, 483eqtrd 2813 . . . . 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 1572   ∈ wcel 2156  Vcvv 3461   ⊆ wss 3907   ⊊ wpss 4023   ∩ cin 4099  ⟨cop 4848  dom cdm 5666  Fun wfun 6573  ‘cfv 6579  (class class class)co 7470   sSet csts 17409  ndxcnx 17439  Basecbs 17455   ↾s cress 17476
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-cnex 11314  ax-1cn 11316  ax-addcl 11318
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-nn 12395  df-sets 17410  df-slot 17428  df-ndx 17440  df-base 17456  df-ress 17477
This theorem is used by:  estrres  18391
  Copyright terms: Public domain W3C validator