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

Theorem aprval 14701
Description: Expand Definition df-apr 14700. (Contributed by Jim Kingdon, 17-Feb-2025.)
Hypotheses
Ref Expression
aprval.b (𝜑 → 𝐵 = (Base‘𝑅))
aprval.ap (𝜑 → # = ( #r ‘𝑅))
aprval.s (𝜑 → − = (-g‘𝑅))
aprval.u (𝜑 → 𝑈 = (Unit‘𝑅))
aprval.r (𝜑 → 𝑅 ∈ Ring)
aprval.x (𝜑 → 𝑋 ∈ 𝐵)
aprval.y (𝜑 → 𝑌 ∈ 𝐵)
Assertion
Ref Expression
aprval (𝜑 → (𝑋 # 𝑌 ↔ (𝑋 − 𝑌) ∈ 𝑈))

Proof of Theorem aprval
Dummy variables 𝑟 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-br 4132 . . 3 (𝑋 # 𝑌 ↔ ⟨𝑋, 𝑌⟩ ∈ # )
2 aprval.ap . . . . . 6 (𝜑 → # = ( #r ‘𝑅))
3 df-apr 14700 . . . . . . 7 #r = (𝑟 ∈ V ↦ {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑟) ∧ 𝑦 ∈ (Base‘𝑟)) ∧ (𝑥(-g‘𝑟)𝑦) ∈ (Unit‘𝑟))})
4 fveq2 5698 . . . . . . . . . . 11 (𝑟 = 𝑅 → (Base‘𝑟) = (Base‘𝑅))
54eleq2d 2308 . . . . . . . . . 10 (𝑟 = 𝑅 → (𝑥 ∈ (Base‘𝑟) ↔ 𝑥 ∈ (Base‘𝑅)))
64eleq2d 2308 . . . . . . . . . 10 (𝑟 = 𝑅 → (𝑦 ∈ (Base‘𝑟) ↔ 𝑦 ∈ (Base‘𝑅)))
75, 6anbi12d 477 . . . . . . . . 9 (𝑟 = 𝑅 → ((𝑥 ∈ (Base‘𝑟) ∧ 𝑦 ∈ (Base‘𝑟)) ↔ (𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅))))
8 fveq2 5698 . . . . . . . . . . 11 (𝑟 = 𝑅 → (-g‘𝑟) = (-g‘𝑅))
98oveqd 6105 . . . . . . . . . 10 (𝑟 = 𝑅 → (𝑥(-g‘𝑟)𝑦) = (𝑥(-g‘𝑅)𝑦))
10 fveq2 5698 . . . . . . . . . 10 (𝑟 = 𝑅 → (Unit‘𝑟) = (Unit‘𝑅))
119, 10eleq12d 2309 . . . . . . . . 9 (𝑟 = 𝑅 → ((𝑥(-g‘𝑟)𝑦) ∈ (Unit‘𝑟) ↔ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅)))
127, 11anbi12d 477 . . . . . . . 8 (𝑟 = 𝑅 → (((𝑥 ∈ (Base‘𝑟) ∧ 𝑦 ∈ (Base‘𝑟)) ∧ (𝑥(-g‘𝑟)𝑦) ∈ (Unit‘𝑟)) ↔ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))))
1312opabbidv 4198 . . . . . . 7 (𝑟 = 𝑅 → {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑟) ∧ 𝑦 ∈ (Base‘𝑟)) ∧ (𝑥(-g‘𝑟)𝑦) ∈ (Unit‘𝑟))} = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))})
14 aprval.r . . . . . . . 8 (𝜑 → 𝑅 ∈ Ring)
1514elexd 2835 . . . . . . 7 (𝜑 → 𝑅 ∈ V)
16 basfn 13470 . . . . . . . . . 10 Base Fn V
17 funfvex 5715 . . . . . . . . . . 11 ((Fun Base ∧ 𝑅 ∈ dom Base) → (Base‘𝑅) ∈ V)
1817funfni 5486 . . . . . . . . . 10 ((Base Fn V ∧ 𝑅 ∈ V) → (Base‘𝑅) ∈ V)
1916, 15, 18sylancr 418 . . . . . . . . 9 (𝜑 → (Base‘𝑅) ∈ V)
20 xpexg 4891 . . . . . . . . 9 (((Base‘𝑅) ∈ V ∧ (Base‘𝑅) ∈ V) → ((Base‘𝑅) × (Base‘𝑅)) ∈ V)
2119, 19, 20syl2anc 415 . . . . . . . 8 (𝜑 → ((Base‘𝑅) × (Base‘𝑅)) ∈ V)
22 opabssxp 4851 . . . . . . . . 9 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))} ⊆ ((Base‘𝑅) × (Base‘𝑅))
2322a1i 9 . . . . . . . 8 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))} ⊆ ((Base‘𝑅) × (Base‘𝑅)))
2421, 23ssexd 4275 . . . . . . 7 (𝜑 → {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))} ∈ V)
253, 13, 15, 24fvmptd3 5802 . . . . . 6 (𝜑 → ( #r ‘𝑅) = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))})
262, 25eqtrd 2271 . . . . 5 (𝜑 → # = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))})
2726eleq2d 2308 . . . 4 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ # ↔ ⟨𝑋, 𝑌⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))}))
28 aprval.x . . . . . 6 (𝜑 → 𝑋 ∈ 𝐵)
29 aprval.b . . . . . 6 (𝜑 → 𝐵 = (Base‘𝑅))
3028, 29eleqtrd 2317 . . . . 5 (𝜑 → 𝑋 ∈ (Base‘𝑅))
31 aprval.y . . . . . 6 (𝜑 → 𝑌 ∈ 𝐵)
3231, 29eleqtrd 2317 . . . . 5 (𝜑 → 𝑌 ∈ (Base‘𝑅))
33 oveq12 6097 . . . . . . 7 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → (𝑥(-g‘𝑅)𝑦) = (𝑋(-g‘𝑅)𝑌))
3433eleq1d 2307 . . . . . 6 ((𝑥 = 𝑋 ∧ 𝑦 = 𝑌) → ((𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅) ↔ (𝑋(-g‘𝑅)𝑌) ∈ (Unit‘𝑅)))
3534opelopab2a 4409 . . . . 5 ((𝑋 ∈ (Base‘𝑅) ∧ 𝑌 ∈ (Base‘𝑅)) → (⟨𝑋, 𝑌⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))} ↔ (𝑋(-g‘𝑅)𝑌) ∈ (Unit‘𝑅)))
3630, 32, 35syl2anc 415 . . . 4 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (Base‘𝑅) ∧ 𝑦 ∈ (Base‘𝑅)) ∧ (𝑥(-g‘𝑅)𝑦) ∈ (Unit‘𝑅))} ↔ (𝑋(-g‘𝑅)𝑌) ∈ (Unit‘𝑅)))
3727, 36bitrd 188 . . 3 (𝜑 → (⟨𝑋, 𝑌⟩ ∈ # ↔ (𝑋(-g‘𝑅)𝑌) ∈ (Unit‘𝑅)))
381, 37bitrid 192 . 2 (𝜑 → (𝑋 # 𝑌 ↔ (𝑋(-g‘𝑅)𝑌) ∈ (Unit‘𝑅)))
39 aprval.s . . . 4 (𝜑 → − = (-g‘𝑅))
4039oveqd 6105 . . 3 (𝜑 → (𝑋 − 𝑌) = (𝑋(-g‘𝑅)𝑌))
41 aprval.u . . 3 (𝜑 → 𝑈 = (Unit‘𝑅))
4240, 41eleq12d 2309 . 2 (𝜑 → ((𝑋 − 𝑌) ∈ 𝑈 ↔ (𝑋(-g‘𝑅)𝑌) ∈ (Unit‘𝑅)))
4338, 42bitr4d 191 1 (𝜑 → (𝑋 # 𝑌 ↔ (𝑋 − 𝑌) ∈ 𝑈))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  Vcvv 2821   ⊆ wss 3220  ⟨cop 3712   class class class wbr 4131  {copab 4192   × cxp 4774   Fn wfn 5375  ‘cfv 5380  (class class class)co 6088  Basecbs 13411  -gcsg 13867  Ringcrg 14408  Unitcui 14503   #r capr 14699
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-cnex 8277  ax-resscn 8278  ax-1re 8280  ax-addrcl 8283
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4132  df-opab 4194  df-mpt 4195  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-iota 5340  df-fun 5382  df-fn 5383  df-fv 5388  df-ov 6091  df-inn 9315  df-ndx 13414  df-slot 13415  df-base 13417  df-apr 14700
This theorem is used by:  aprunit  14702  aprirr  14705  aprsym  14706  aprcotr  14707  aprnzr  14709  aprlring  14710  opprdrng  14730
  Copyright terms: Public domain W3C validator