ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  setscomd GIF version

Theorem setscomd 12917
Description: Different components can be set in any order. (Contributed by Jim Kingdon, 20-Feb-2025.)
Hypotheses
Ref Expression
setscomd.a (𝜑𝐴𝑌)
setscomd.b (𝜑𝐵𝑍)
setscomd.s (𝜑𝑆𝑉)
setscomd.ab (𝜑𝐴𝐵)
setscomd.c (𝜑𝐶𝑊)
setscomd.d (𝜑𝐷𝑋)
Assertion
Ref Expression
setscomd (𝜑 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))

Proof of Theorem setscomd
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 setscomd.ab . 2 (𝜑𝐴𝐵)
2 setscomd.b . . 3 (𝜑𝐵𝑍)
3 simpr 110 . . . . 5 ((𝜑𝑏 = 𝐵) → 𝑏 = 𝐵)
43neeq2d 2396 . . . 4 ((𝜑𝑏 = 𝐵) → (𝐴𝑏𝐴𝐵))
53opeq1d 3827 . . . . . 6 ((𝜑𝑏 = 𝐵) → ⟨𝑏, 𝐷⟩ = ⟨𝐵, 𝐷⟩)
65oveq2d 5967 . . . . 5 ((𝜑𝑏 = 𝐵) → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩))
75oveq2d 5967 . . . . . 6 ((𝜑𝑏 = 𝐵) → (𝑆 sSet ⟨𝑏, 𝐷⟩) = (𝑆 sSet ⟨𝐵, 𝐷⟩))
87oveq1d 5966 . . . . 5 ((𝜑𝑏 = 𝐵) → ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))
96, 8eqeq12d 2221 . . . 4 ((𝜑𝑏 = 𝐵) → (((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩) ↔ ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩)))
104, 9imbi12d 234 . . 3 ((𝜑𝑏 = 𝐵) → ((𝐴𝑏 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩)) ↔ (𝐴𝐵 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))))
11 setscomd.a . . . 4 (𝜑𝐴𝑌)
12 simpr 110 . . . . . 6 ((𝜑𝑎 = 𝐴) → 𝑎 = 𝐴)
1312neeq1d 2395 . . . . 5 ((𝜑𝑎 = 𝐴) → (𝑎𝑏𝐴𝑏))
1412opeq1d 3827 . . . . . . . 8 ((𝜑𝑎 = 𝐴) → ⟨𝑎, 𝐶⟩ = ⟨𝐴, 𝐶⟩)
1514oveq2d 5967 . . . . . . 7 ((𝜑𝑎 = 𝐴) → (𝑆 sSet ⟨𝑎, 𝐶⟩) = (𝑆 sSet ⟨𝐴, 𝐶⟩))
1615oveq1d 5966 . . . . . 6 ((𝜑𝑎 = 𝐴) → ((𝑆 sSet ⟨𝑎, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩))
1714oveq2d 5967 . . . . . 6 ((𝜑𝑎 = 𝐴) → ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝑎, 𝐶⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))
1816, 17eqeq12d 2221 . . . . 5 ((𝜑𝑎 = 𝐴) → (((𝑆 sSet ⟨𝑎, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝑎, 𝐶⟩) ↔ ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩)))
1913, 18imbi12d 234 . . . 4 ((𝜑𝑎 = 𝐴) → ((𝑎𝑏 → ((𝑆 sSet ⟨𝑎, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝑎, 𝐶⟩)) ↔ (𝐴𝑏 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))))
20 setscomd.s . . . . . . 7 (𝜑𝑆𝑉)
2120adantr 276 . . . . . 6 ((𝜑𝑎𝑏) → 𝑆𝑉)
22 simpr 110 . . . . . 6 ((𝜑𝑎𝑏) → 𝑎𝑏)
23 setscomd.c . . . . . . 7 (𝜑𝐶𝑊)
2423adantr 276 . . . . . 6 ((𝜑𝑎𝑏) → 𝐶𝑊)
25 setscomd.d . . . . . . 7 (𝜑𝐷𝑋)
2625adantr 276 . . . . . 6 ((𝜑𝑎𝑏) → 𝐷𝑋)
27 vex 2776 . . . . . . 7 𝑎 ∈ V
28 vex 2776 . . . . . . 7 𝑏 ∈ V
2927, 28setscom 12916 . . . . . 6 (((𝑆𝑉𝑎𝑏) ∧ (𝐶𝑊𝐷𝑋)) → ((𝑆 sSet ⟨𝑎, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝑎, 𝐶⟩))
3021, 22, 24, 26, 29syl22anc 1251 . . . . 5 ((𝜑𝑎𝑏) → ((𝑆 sSet ⟨𝑎, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝑎, 𝐶⟩))
3130ex 115 . . . 4 (𝜑 → (𝑎𝑏 → ((𝑆 sSet ⟨𝑎, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝑎, 𝐶⟩)))
3211, 19, 31vtocld 2826 . . 3 (𝜑 → (𝐴𝑏 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝑏, 𝐷⟩) = ((𝑆 sSet ⟨𝑏, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩)))
332, 10, 32vtocld 2826 . 2 (𝜑 → (𝐴𝐵 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩)))
341, 33mpd 13 1 (𝜑 → ((𝑆 sSet ⟨𝐴, 𝐶⟩) sSet ⟨𝐵, 𝐷⟩) = ((𝑆 sSet ⟨𝐵, 𝐷⟩) sSet ⟨𝐴, 𝐶⟩))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1373  wcel 2177  wne 2377  cop 3637  (class class class)co 5951   sSet csts 12874
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-sep 4166  ax-pow 4222  ax-pr 4257  ax-un 4484  ax-setind 4589
This theorem depends on definitions:  df-bi 117  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-ral 2490  df-rex 2491  df-rab 2494  df-v 2775  df-sbc 3000  df-dif 3169  df-un 3171  df-in 3173  df-ss 3180  df-nul 3462  df-pw 3619  df-sn 3640  df-pr 3641  df-op 3643  df-uni 3853  df-br 4048  df-opab 4110  df-id 4344  df-xp 4685  df-rel 4686  df-cnv 4687  df-co 4688  df-dm 4689  df-res 4691  df-iota 5237  df-fun 5278  df-fv 5284  df-ov 5954  df-oprab 5955  df-mpo 5956  df-sets 12883
This theorem is referenced by:  mgpress  13737
  Copyright terms: Public domain W3C validator