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

Theorem enq0sym 7381
Description: The equivalence relation for nonnegative fractions is symmetric. Lemma for enq0er 7384. (Contributed by Jim Kingdon, 14-Nov-2019.)
Assertion
Ref Expression
enq0sym (𝑓 ~Q0 𝑔𝑔 ~Q0 𝑓)

Proof of Theorem enq0sym
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑢 𝑣 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 2733 . . . . . . . 8 𝑓 ∈ V
2 vex 2733 . . . . . . . 8 𝑔 ∈ V
3 eleq1 2233 . . . . . . . . . 10 (𝑥 = 𝑓 → (𝑥 ∈ (ω × N) ↔ 𝑓 ∈ (ω × N)))
43anbi1d 462 . . . . . . . . 9 (𝑥 = 𝑓 → ((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ↔ (𝑓 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N))))
5 eqeq1 2177 . . . . . . . . . . . 12 (𝑥 = 𝑓 → (𝑥 = ⟨𝑧, 𝑤⟩ ↔ 𝑓 = ⟨𝑧, 𝑤⟩))
65anbi1d 462 . . . . . . . . . . 11 (𝑥 = 𝑓 → ((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩)))
76anbi1d 462 . . . . . . . . . 10 (𝑥 = 𝑓 → (((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
874exbidv 1863 . . . . . . . . 9 (𝑥 = 𝑓 → (∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
94, 8anbi12d 470 . . . . . . . 8 (𝑥 = 𝑓 → (((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((𝑓 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
10 eleq1 2233 . . . . . . . . . 10 (𝑦 = 𝑔 → (𝑦 ∈ (ω × N) ↔ 𝑔 ∈ (ω × N)))
1110anbi2d 461 . . . . . . . . 9 (𝑦 = 𝑔 → ((𝑓 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ↔ (𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N))))
12 eqeq1 2177 . . . . . . . . . . . 12 (𝑦 = 𝑔 → (𝑦 = ⟨𝑣, 𝑢⟩ ↔ 𝑔 = ⟨𝑣, 𝑢⟩))
1312anbi2d 461 . . . . . . . . . . 11 (𝑦 = 𝑔 → ((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩)))
1413anbi1d 462 . . . . . . . . . 10 (𝑦 = 𝑔 → (((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
15144exbidv 1863 . . . . . . . . 9 (𝑦 = 𝑔 → (∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
1611, 15anbi12d 470 . . . . . . . 8 (𝑦 = 𝑔 → (((𝑓 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
17 df-enq0 7373 . . . . . . . 8 ~Q0 = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))}
181, 2, 9, 16, 17brab 4255 . . . . . . 7 (𝑓 ~Q0 𝑔 ↔ ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
1918biimpi 119 . . . . . 6 (𝑓 ~Q0 𝑔 → ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
20 opeq12 3765 . . . . . . . . . . 11 ((𝑧 = 𝑎𝑤 = 𝑏) → ⟨𝑧, 𝑤⟩ = ⟨𝑎, 𝑏⟩)
2120eqeq2d 2182 . . . . . . . . . 10 ((𝑧 = 𝑎𝑤 = 𝑏) → (𝑓 = ⟨𝑧, 𝑤⟩ ↔ 𝑓 = ⟨𝑎, 𝑏⟩))
2221anbi1d 462 . . . . . . . . 9 ((𝑧 = 𝑎𝑤 = 𝑏) → ((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ↔ (𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩)))
23 simpl 108 . . . . . . . . . . 11 ((𝑧 = 𝑎𝑤 = 𝑏) → 𝑧 = 𝑎)
2423oveq1d 5865 . . . . . . . . . 10 ((𝑧 = 𝑎𝑤 = 𝑏) → (𝑧 ·o 𝑢) = (𝑎 ·o 𝑢))
25 simpr 109 . . . . . . . . . . 11 ((𝑧 = 𝑎𝑤 = 𝑏) → 𝑤 = 𝑏)
2625oveq1d 5865 . . . . . . . . . 10 ((𝑧 = 𝑎𝑤 = 𝑏) → (𝑤 ·o 𝑣) = (𝑏 ·o 𝑣))
2724, 26eqeq12d 2185 . . . . . . . . 9 ((𝑧 = 𝑎𝑤 = 𝑏) → ((𝑧 ·o 𝑢) = (𝑤 ·o 𝑣) ↔ (𝑎 ·o 𝑢) = (𝑏 ·o 𝑣)))
2822, 27anbi12d 470 . . . . . . . 8 ((𝑧 = 𝑎𝑤 = 𝑏) → (((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑎 ·o 𝑢) = (𝑏 ·o 𝑣))))
29 opeq12 3765 . . . . . . . . . . 11 ((𝑣 = 𝑐𝑢 = 𝑑) → ⟨𝑣, 𝑢⟩ = ⟨𝑐, 𝑑⟩)
3029eqeq2d 2182 . . . . . . . . . 10 ((𝑣 = 𝑐𝑢 = 𝑑) → (𝑔 = ⟨𝑣, 𝑢⟩ ↔ 𝑔 = ⟨𝑐, 𝑑⟩))
3130anbi2d 461 . . . . . . . . 9 ((𝑣 = 𝑐𝑢 = 𝑑) → ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ↔ (𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩)))
32 simpr 109 . . . . . . . . . . 11 ((𝑣 = 𝑐𝑢 = 𝑑) → 𝑢 = 𝑑)
3332oveq2d 5866 . . . . . . . . . 10 ((𝑣 = 𝑐𝑢 = 𝑑) → (𝑎 ·o 𝑢) = (𝑎 ·o 𝑑))
34 simpl 108 . . . . . . . . . . 11 ((𝑣 = 𝑐𝑢 = 𝑑) → 𝑣 = 𝑐)
3534oveq2d 5866 . . . . . . . . . 10 ((𝑣 = 𝑐𝑢 = 𝑑) → (𝑏 ·o 𝑣) = (𝑏 ·o 𝑐))
3633, 35eqeq12d 2185 . . . . . . . . 9 ((𝑣 = 𝑐𝑢 = 𝑑) → ((𝑎 ·o 𝑢) = (𝑏 ·o 𝑣) ↔ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐)))
3731, 36anbi12d 470 . . . . . . . 8 ((𝑣 = 𝑐𝑢 = 𝑑) → (((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑎 ·o 𝑢) = (𝑏 ·o 𝑣)) ↔ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
3828, 37cbvex4v 1923 . . . . . . 7 (∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑎𝑏𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐)))
3938anbi2i 454 . . . . . 6 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑓 = ⟨𝑧, 𝑤⟩ ∧ 𝑔 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑎𝑏𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
4019, 39sylib 121 . . . . 5 (𝑓 ~Q0 𝑔 → ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑎𝑏𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
41 19.42vv 1904 . . . . 5 (∃𝑎𝑏((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) ↔ ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑎𝑏𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
4240, 41sylibr 133 . . . 4 (𝑓 ~Q0 𝑔 → ∃𝑎𝑏((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
43 19.42vv 1904 . . . . 5 (∃𝑐𝑑((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) ↔ ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
44432exbii 1599 . . . 4 (∃𝑎𝑏𝑐𝑑((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) ↔ ∃𝑎𝑏((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ∃𝑐𝑑((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
4542, 44sylibr 133 . . 3 (𝑓 ~Q0 𝑔 → ∃𝑎𝑏𝑐𝑑((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))))
46 pm3.22 263 . . . . . . 7 ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) → (𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)))
4746adantr 274 . . . . . 6 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → (𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)))
48 pm3.22 263 . . . . . . 7 ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) → (𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩))
4948ad2antrl 487 . . . . . 6 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → (𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩))
50 simprr 527 . . . . . . . 8 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))
51 eleq1 2233 . . . . . . . . . . . . . 14 (𝑓 = ⟨𝑎, 𝑏⟩ → (𝑓 ∈ (ω × N) ↔ ⟨𝑎, 𝑏⟩ ∈ (ω × N)))
52 opelxp 4639 . . . . . . . . . . . . . 14 (⟨𝑎, 𝑏⟩ ∈ (ω × N) ↔ (𝑎 ∈ ω ∧ 𝑏N))
5351, 52bitrdi 195 . . . . . . . . . . . . 13 (𝑓 = ⟨𝑎, 𝑏⟩ → (𝑓 ∈ (ω × N) ↔ (𝑎 ∈ ω ∧ 𝑏N)))
5453biimpcd 158 . . . . . . . . . . . 12 (𝑓 ∈ (ω × N) → (𝑓 = ⟨𝑎, 𝑏⟩ → (𝑎 ∈ ω ∧ 𝑏N)))
55 eleq1 2233 . . . . . . . . . . . . . 14 (𝑔 = ⟨𝑐, 𝑑⟩ → (𝑔 ∈ (ω × N) ↔ ⟨𝑐, 𝑑⟩ ∈ (ω × N)))
56 opelxp 4639 . . . . . . . . . . . . . 14 (⟨𝑐, 𝑑⟩ ∈ (ω × N) ↔ (𝑐 ∈ ω ∧ 𝑑N))
5755, 56bitrdi 195 . . . . . . . . . . . . 13 (𝑔 = ⟨𝑐, 𝑑⟩ → (𝑔 ∈ (ω × N) ↔ (𝑐 ∈ ω ∧ 𝑑N)))
5857biimpcd 158 . . . . . . . . . . . 12 (𝑔 ∈ (ω × N) → (𝑔 = ⟨𝑐, 𝑑⟩ → (𝑐 ∈ ω ∧ 𝑑N)))
5954, 58im2anan9 593 . . . . . . . . . . 11 ((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) → ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) → ((𝑎 ∈ ω ∧ 𝑏N) ∧ (𝑐 ∈ ω ∧ 𝑑N))))
6059imp 123 . . . . . . . . . 10 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ (𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩)) → ((𝑎 ∈ ω ∧ 𝑏N) ∧ (𝑐 ∈ ω ∧ 𝑑N)))
6160adantrr 476 . . . . . . . . 9 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → ((𝑎 ∈ ω ∧ 𝑏N) ∧ (𝑐 ∈ ω ∧ 𝑑N)))
62 pinn 7258 . . . . . . . . . . . 12 (𝑑N𝑑 ∈ ω)
63 nnmcom 6465 . . . . . . . . . . . 12 ((𝑎 ∈ ω ∧ 𝑑 ∈ ω) → (𝑎 ·o 𝑑) = (𝑑 ·o 𝑎))
6462, 63sylan2 284 . . . . . . . . . . 11 ((𝑎 ∈ ω ∧ 𝑑N) → (𝑎 ·o 𝑑) = (𝑑 ·o 𝑎))
65 pinn 7258 . . . . . . . . . . . 12 (𝑏N𝑏 ∈ ω)
66 nnmcom 6465 . . . . . . . . . . . 12 ((𝑏 ∈ ω ∧ 𝑐 ∈ ω) → (𝑏 ·o 𝑐) = (𝑐 ·o 𝑏))
6765, 66sylan 281 . . . . . . . . . . 11 ((𝑏N𝑐 ∈ ω) → (𝑏 ·o 𝑐) = (𝑐 ·o 𝑏))
6864, 67eqeqan12d 2186 . . . . . . . . . 10 (((𝑎 ∈ ω ∧ 𝑑N) ∧ (𝑏N𝑐 ∈ ω)) → ((𝑎 ·o 𝑑) = (𝑏 ·o 𝑐) ↔ (𝑑 ·o 𝑎) = (𝑐 ·o 𝑏)))
6968an42s 584 . . . . . . . . 9 (((𝑎 ∈ ω ∧ 𝑏N) ∧ (𝑐 ∈ ω ∧ 𝑑N)) → ((𝑎 ·o 𝑑) = (𝑏 ·o 𝑐) ↔ (𝑑 ·o 𝑎) = (𝑐 ·o 𝑏)))
7061, 69syl 14 . . . . . . . 8 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → ((𝑎 ·o 𝑑) = (𝑏 ·o 𝑐) ↔ (𝑑 ·o 𝑎) = (𝑐 ·o 𝑏)))
7150, 70mpbid 146 . . . . . . 7 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → (𝑑 ·o 𝑎) = (𝑐 ·o 𝑏))
7271eqcomd 2176 . . . . . 6 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))
7347, 49, 72jca32 308 . . . . 5 (((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → ((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
74732eximi 1594 . . . 4 (∃𝑐𝑑((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → ∃𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
75742eximi 1594 . . 3 (∃𝑎𝑏𝑐𝑑((𝑓 ∈ (ω × N) ∧ 𝑔 ∈ (ω × N)) ∧ ((𝑓 = ⟨𝑎, 𝑏⟩ ∧ 𝑔 = ⟨𝑐, 𝑑⟩) ∧ (𝑎 ·o 𝑑) = (𝑏 ·o 𝑐))) → ∃𝑎𝑏𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
7645, 75syl 14 . 2 (𝑓 ~Q0 𝑔 → ∃𝑎𝑏𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
77 exrot4 1684 . . 3 (∃𝑎𝑏𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) ↔ ∃𝑐𝑑𝑎𝑏((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
78 19.42vv 1904 . . . . 5 (∃𝑎𝑏((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) ↔ ((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
79782exbii 1599 . . . 4 (∃𝑐𝑑𝑎𝑏((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) ↔ ∃𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
80 19.42vv 1904 . . . . 5 (∃𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) ↔ ((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑐𝑑𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
81 opeq12 3765 . . . . . . . . . 10 ((𝑧 = 𝑐𝑤 = 𝑑) → ⟨𝑧, 𝑤⟩ = ⟨𝑐, 𝑑⟩)
8281eqeq2d 2182 . . . . . . . . 9 ((𝑧 = 𝑐𝑤 = 𝑑) → (𝑔 = ⟨𝑧, 𝑤⟩ ↔ 𝑔 = ⟨𝑐, 𝑑⟩))
8382anbi1d 462 . . . . . . . 8 ((𝑧 = 𝑐𝑤 = 𝑑) → ((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ↔ (𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩)))
84 simpl 108 . . . . . . . . . 10 ((𝑧 = 𝑐𝑤 = 𝑑) → 𝑧 = 𝑐)
8584oveq1d 5865 . . . . . . . . 9 ((𝑧 = 𝑐𝑤 = 𝑑) → (𝑧 ·o 𝑢) = (𝑐 ·o 𝑢))
86 simpr 109 . . . . . . . . . 10 ((𝑧 = 𝑐𝑤 = 𝑑) → 𝑤 = 𝑑)
8786oveq1d 5865 . . . . . . . . 9 ((𝑧 = 𝑐𝑤 = 𝑑) → (𝑤 ·o 𝑣) = (𝑑 ·o 𝑣))
8885, 87eqeq12d 2185 . . . . . . . 8 ((𝑧 = 𝑐𝑤 = 𝑑) → ((𝑧 ·o 𝑢) = (𝑤 ·o 𝑣) ↔ (𝑐 ·o 𝑢) = (𝑑 ·o 𝑣)))
8983, 88anbi12d 470 . . . . . . 7 ((𝑧 = 𝑐𝑤 = 𝑑) → (((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑐 ·o 𝑢) = (𝑑 ·o 𝑣))))
90 opeq12 3765 . . . . . . . . . 10 ((𝑣 = 𝑎𝑢 = 𝑏) → ⟨𝑣, 𝑢⟩ = ⟨𝑎, 𝑏⟩)
9190eqeq2d 2182 . . . . . . . . 9 ((𝑣 = 𝑎𝑢 = 𝑏) → (𝑓 = ⟨𝑣, 𝑢⟩ ↔ 𝑓 = ⟨𝑎, 𝑏⟩))
9291anbi2d 461 . . . . . . . 8 ((𝑣 = 𝑎𝑢 = 𝑏) → ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ↔ (𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩)))
93 simpr 109 . . . . . . . . . 10 ((𝑣 = 𝑎𝑢 = 𝑏) → 𝑢 = 𝑏)
9493oveq2d 5866 . . . . . . . . 9 ((𝑣 = 𝑎𝑢 = 𝑏) → (𝑐 ·o 𝑢) = (𝑐 ·o 𝑏))
95 simpl 108 . . . . . . . . . 10 ((𝑣 = 𝑎𝑢 = 𝑏) → 𝑣 = 𝑎)
9695oveq2d 5866 . . . . . . . . 9 ((𝑣 = 𝑎𝑢 = 𝑏) → (𝑑 ·o 𝑣) = (𝑑 ·o 𝑎))
9794, 96eqeq12d 2185 . . . . . . . 8 ((𝑣 = 𝑎𝑢 = 𝑏) → ((𝑐 ·o 𝑢) = (𝑑 ·o 𝑣) ↔ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎)))
9892, 97anbi12d 470 . . . . . . 7 ((𝑣 = 𝑎𝑢 = 𝑏) → (((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑐 ·o 𝑢) = (𝑑 ·o 𝑣)) ↔ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))))
9989, 98cbvex4v 1923 . . . . . 6 (∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑐𝑑𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎)))
100 eleq1 2233 . . . . . . . . . 10 (𝑥 = 𝑔 → (𝑥 ∈ (ω × N) ↔ 𝑔 ∈ (ω × N)))
101100anbi1d 462 . . . . . . . . 9 (𝑥 = 𝑔 → ((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ↔ (𝑔 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N))))
102 eqeq1 2177 . . . . . . . . . . . 12 (𝑥 = 𝑔 → (𝑥 = ⟨𝑧, 𝑤⟩ ↔ 𝑔 = ⟨𝑧, 𝑤⟩))
103102anbi1d 462 . . . . . . . . . . 11 (𝑥 = 𝑔 → ((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩)))
104103anbi1d 462 . . . . . . . . . 10 (𝑥 = 𝑔 → (((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
1051044exbidv 1863 . . . . . . . . 9 (𝑥 = 𝑔 → (∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
106101, 105anbi12d 470 . . . . . . . 8 (𝑥 = 𝑔 → (((𝑥 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((𝑔 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
107 eleq1 2233 . . . . . . . . . 10 (𝑦 = 𝑓 → (𝑦 ∈ (ω × N) ↔ 𝑓 ∈ (ω × N)))
108107anbi2d 461 . . . . . . . . 9 (𝑦 = 𝑓 → ((𝑔 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ↔ (𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N))))
109 eqeq1 2177 . . . . . . . . . . . 12 (𝑦 = 𝑓 → (𝑦 = ⟨𝑣, 𝑢⟩ ↔ 𝑓 = ⟨𝑣, 𝑢⟩))
110109anbi2d 461 . . . . . . . . . . 11 (𝑦 = 𝑓 → ((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ↔ (𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩)))
111110anbi1d 462 . . . . . . . . . 10 (𝑦 = 𝑓 → (((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
1121114exbidv 1863 . . . . . . . . 9 (𝑦 = 𝑓 → (∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)) ↔ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
113108, 112anbi12d 470 . . . . . . . 8 (𝑦 = 𝑓 → (((𝑔 ∈ (ω × N) ∧ 𝑦 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) ↔ ((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣)))))
1142, 1, 106, 113, 17brab 4255 . . . . . . 7 (𝑔 ~Q0 𝑓 ↔ ((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))))
115114biimpri 132 . . . . . 6 (((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑧𝑤𝑣𝑢((𝑔 = ⟨𝑧, 𝑤⟩ ∧ 𝑓 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 ·o 𝑢) = (𝑤 ·o 𝑣))) → 𝑔 ~Q0 𝑓)
11699, 115sylan2br 286 . . . . 5 (((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑐𝑑𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) → 𝑔 ~Q0 𝑓)
11780, 116sylbi 120 . . . 4 (∃𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ∃𝑎𝑏((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) → 𝑔 ~Q0 𝑓)
11879, 117sylbi 120 . . 3 (∃𝑐𝑑𝑎𝑏((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) → 𝑔 ~Q0 𝑓)
11977, 118sylbi 120 . 2 (∃𝑎𝑏𝑐𝑑((𝑔 ∈ (ω × N) ∧ 𝑓 ∈ (ω × N)) ∧ ((𝑔 = ⟨𝑐, 𝑑⟩ ∧ 𝑓 = ⟨𝑎, 𝑏⟩) ∧ (𝑐 ·o 𝑏) = (𝑑 ·o 𝑎))) → 𝑔 ~Q0 𝑓)
12076, 119syl 14 1 (𝑓 ~Q0 𝑔𝑔 ~Q0 𝑓)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wex 1485  wcel 2141  cop 3584   class class class wbr 3987  ωcom 4572   × cxp 4607  (class class class)co 5850   ·o comu 6390  Ncnpi 7221   ~Q0 ceq0 7235
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-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4102  ax-sep 4105  ax-nul 4113  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-iinf 4570
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-iun 3873  df-br 3988  df-opab 4049  df-mpt 4050  df-tr 4086  df-id 4276  df-iord 4349  df-on 4351  df-suc 4354  df-iom 4573  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-ov 5853  df-oprab 5854  df-mpo 5855  df-1st 6116  df-2nd 6117  df-recs 6281  df-irdg 6346  df-oadd 6396  df-omul 6397  df-ni 7253  df-enq0 7373
This theorem is referenced by:  enq0er  7384
  Copyright terms: Public domain W3C validator