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

Theorem enq0breq 7237
Description: Equivalence relation for nonnegative fractions in terms of natural numbers. (Contributed by NM, 27-Aug-1995.)
Assertion
Ref Expression
enq0breq (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → (⟨𝐴, 𝐵⟩ ~Q0𝐶, 𝐷⟩ ↔ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶)))

Proof of Theorem enq0breq
Dummy variables 𝑥 𝑦 𝑧 𝑤 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq12 5776 . . . . . 6 ((𝑧 = 𝐴𝑢 = 𝐷) → (𝑧 ·o 𝑢) = (𝐴 ·o 𝐷))
2 oveq12 5776 . . . . . 6 ((𝑤 = 𝐵𝑣 = 𝐶) → (𝑤 ·o 𝑣) = (𝐵 ·o 𝐶))
31, 2eqeqan12d 2153 . . . . 5 (((𝑧 = 𝐴𝑢 = 𝐷) ∧ (𝑤 = 𝐵𝑣 = 𝐶)) → ((𝑧 ·o 𝑢) = (𝑤 ·o 𝑣) ↔ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶)))
43an42s 578 . . . 4 (((𝑧 = 𝐴𝑤 = 𝐵) ∧ (𝑣 = 𝐶𝑢 = 𝐷)) → ((𝑧 ·o 𝑢) = (𝑤 ·o 𝑣) ↔ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶)))
54copsex4g 4164 . . 3 (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → (∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶)))
65anbi2d 459 . 2 (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → (((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)) ∧ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶))))
7 opexg 4145 . . 3 ((𝐴 ∈ ω ∧ 𝐵N) → ⟨𝐴, 𝐵⟩ ∈ V)
8 opexg 4145 . . 3 ((𝐶 ∈ ω ∧ 𝐷N) → ⟨𝐶, 𝐷⟩ ∈ V)
9 eleq1 2200 . . . . . 6 (𝑥 = ⟨𝐴, 𝐵⟩ → (𝑥 ∈ (ω × N) ↔ ⟨𝐴, 𝐵⟩ ∈ (ω × N)))
109anbi1d 460 . . . . 5 (𝑥 = ⟨𝐴, 𝐵⟩ → ((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ↔ (⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ 𝑦 ∈ (ω × N))))
11 eqeq1 2144 . . . . . . . 8 (𝑥 = ⟨𝐴, 𝐵⟩ → (𝑥 = ⟨𝑧, 𝑤⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩))
1211anbi1d 460 . . . . . . 7 (𝑥 = ⟨𝐴, 𝐵⟩ → ((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩)))
1312anbi1d 460 . . . . . 6 (𝑥 = ⟨𝐴, 𝐵⟩ → (((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
14134exbidv 1842 . . . . 5 (𝑥 = ⟨𝐴, 𝐵⟩ → (∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
1510, 14anbi12d 464 . . . 4 (𝑥 = ⟨𝐴, 𝐵⟩ → (((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
16 eleq1 2200 . . . . . 6 (𝑦 = ⟨𝐶, 𝐷⟩ → (𝑦 ∈ (ω × N) ↔ ⟨𝐶, 𝐷⟩ ∈ (ω × N)))
1716anbi2d 459 . . . . 5 (𝑦 = ⟨𝐶, 𝐷⟩ → ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ↔ (⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N))))
18 eqeq1 2144 . . . . . . . 8 (𝑦 = ⟨𝐶, 𝐷⟩ → (𝑦 = ⟨𝑣, 𝑢⟩ ↔ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩))
1918anbi2d 459 . . . . . . 7 (𝑦 = ⟨𝐶, 𝐷⟩ → ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩)))
2019anbi1d 460 . . . . . 6 (𝑦 = ⟨𝐶, 𝐷⟩ → (((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
21204exbidv 1842 . . . . 5 (𝑦 = ⟨𝐶, 𝐷⟩ → (∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
2217, 21anbi12d 464 . . . 4 (𝑦 = ⟨𝐶, 𝐷⟩ → (((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
23 df-enq0 7225 . . . 4 ~Q0 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))}
2415, 22, 23brabg 4186 . . 3 ((⟨𝐴, 𝐵⟩ ∈ V ∧ ⟨𝐶, 𝐷⟩ ∈ V) → (⟨𝐴, 𝐵⟩ ~Q0𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
257, 8, 24syl2an 287 . 2 (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → (⟨𝐴, 𝐵⟩ ~Q0𝐶, 𝐷⟩ ↔ ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((⟨𝐴, 𝐵⟩ = ⟨𝑧, 𝑤⟩ ∧ ⟨𝐶, 𝐷⟩ = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
26 opelxpi 4566 . . . 4 ((𝐴 ∈ ω ∧ 𝐵N) → ⟨𝐴, 𝐵⟩ ∈ (ω × N))
27 opelxpi 4566 . . . 4 ((𝐶 ∈ ω ∧ 𝐷N) → ⟨𝐶, 𝐷⟩ ∈ (ω × N))
2826, 27anim12i 336 . . 3 (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → (⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)))
2928biantrurd 303 . 2 (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → ((𝐴 ·o 𝐷) = (𝐵 ·o 𝐶) ↔ ((⟨𝐴, 𝐵⟩ ∈ (ω × N) ∧ ⟨𝐶, 𝐷⟩ ∈ (ω × N)) ∧ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶))))
306, 25, 293bitr4d 219 1 (((𝐴 ∈ ω ∧ 𝐵N) ∧ (𝐶 ∈ ω ∧ 𝐷N)) → (⟨𝐴, 𝐵⟩ ~Q0𝐶, 𝐷⟩ ↔ (𝐴 ·o 𝐷) = (𝐵 ·o 𝐶)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1331  wex 1468  wcel 1480  Vcvv 2681  cop 3525   class class class wbr 3924  ωcom 4499   × cxp 4532  (class class class)co 5767   ·o comu 6304  Ncnpi 7073   ~Q0 ceq0 7087
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-br 3925  df-opab 3985  df-xp 4540  df-iota 5083  df-fv 5126  df-ov 5770  df-enq0 7225
This theorem is referenced by:  enq0eceq  7238  nqnq0pi  7239  addcmpblnq0  7244  mulcmpblnq0  7245  mulcanenq0ec  7246  nnnq0lem1  7247
  Copyright terms: Public domain W3C validator