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

Theorem ressval3d 17468
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 4032 . . . 4 (𝐴 ⊆ 𝐵 ↔ (𝐴 ⊊ 𝐵 ∨ 𝐴 = 𝐵))
3 dfpss3 4019 . . . . 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 6930 . . . . . . . . 9 𝐵 ∈ V
1211a1i 11 . . . . . . . 8 (𝜑 → 𝐵 ∈ V)
13 ssexg 5288 . . . . . . . 8 ((𝐴 ⊆ 𝐵 ∧ 𝐵 ∈ V) → 𝐴 ∈ V)
149, 12, 13syl2an 608 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 ∈ V)
15 ressval3d.r . . . . . . . 8 𝑅 = (𝑆 ↾s 𝐴)
1615, 10ressval2 17457 . . . . . . 7 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑆 ∈ 𝑉 ∧ 𝐴 ∈ V) → 𝑅 = (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
176, 8, 14, 16syl3anc 1399 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
18 ressval3d.e . . . . . . . . . 10 𝐸 = (Base‘ndx)
1918a1i 11 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐸 = (Base‘ndx))
20 dfss2 4097 . . . . . . . . . . . . 13 (𝐴 ⊆ 𝐵 ↔ (𝐴 ∩ 𝐵) = 𝐴)
2120biimpi 219 . . . . . . . . . . . 12 (𝐴 ⊆ 𝐵 → (𝐴 ∩ 𝐵) = 𝐴)
2221eqcomd 2769 . . . . . . . . . . 11 (𝐴 ⊆ 𝐵 → 𝐴 = (𝐴 ∩ 𝐵))
2322adantr 486 . . . . . . . . . 10 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → 𝐴 = (𝐴 ∩ 𝐵))
2423adantr 486 . . . . . . . . 9 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝐴 = (𝐴 ∩ 𝐵))
2519, 24opeq12d 4853 . . . . . . . 8 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩)
2625eqcomd 2769 . . . . . . 7 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨𝐸, 𝐴⟩)
2726oveq2d 7467 . . . . . 6 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → (𝑆 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2817, 27eqtrd 2798 . . . . 5 (((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) ∧ 𝜑) → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩))
2928ex 418 . . . 4 ((𝐴 ⊆ 𝐵 ∧ ¬ 𝐵 ⊆ 𝐴) → (𝜑 → 𝑅 = (𝑆 sSet ⟨𝐸, 𝐴⟩)))
3015a1i 11 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = (𝑆 ↾s 𝐴))
31 oveq2 7459 . . . . . . . 8 (𝐴 = 𝐵 → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
3231adantr 486 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐴) = (𝑆 ↾s 𝐵))
337adantl 487 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑆 ∈ 𝑉)
3410ressid 17466 . . . . . . . 8 (𝑆 ∈ 𝑉 → (𝑆 ↾s 𝐵) = 𝑆)
3533, 34syl 18 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → (𝑆 ↾s 𝐵) = 𝑆)
3630, 32, 353eqtrd 2802 . . . . . 6 ((𝐴 = 𝐵 ∧ 𝜑) → 𝑅 = 𝑆)
37 baseid 17434 . . . . . . . 8 Base = Slot (Base‘ndx)
38 ressval3d.f . . . . . . . 8 (𝜑 → Fun 𝑆)
39 ressval3d.d . . . . . . . . 9 (𝜑 → 𝐸 ∈ dom 𝑆)
4018, 39eqeltrrid 2869 . . . . . . . 8 (𝜑 → (Base‘ndx) ∈ dom 𝑆)
4137, 7, 38, 40setsidvald 17421 . . . . . . 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 4853 . . . . . . . 8 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨𝐸, 𝐴⟩ = ⟨(Base‘ndx), (Base‘𝑆)⟩)
4746eqcomd 2769 . . . . . . 7 ((𝐴 = 𝐵 ∧ 𝜑) → ⟨(Base‘ndx), (Base‘𝑆)⟩ = ⟨𝐸, 𝐴⟩)
4847oveq2d 7467 . . . . . 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 1570   ∈ wcel 2147  Vcvv 3454   ⊆ wss 3900   ⊊ wpss 4016   ∩ cin 4092  ⟨cop 4840  dom cdm 5658  Fun wfun 6560  ‘cfv 6566  (class class class)co 7451   sSet csts 17385  ndxcnx 17415  Basecbs 17431   ↾s cress 17452
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-1cn 11297  ax-addcl 11299
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 2102  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-pss 4017  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 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-nn 12376  df-sets 17386  df-slot 17404  df-ndx 17416  df-base 17432  df-ress 17453
This theorem is used by:  estrres  18363
  Copyright terms: Public domain W3C validator