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

Theorem eqinf 9455
Description: Sufficient condition for an element to be equal to the infimum. (Contributed by AV, 2-Sep-2020.)
Hypothesis
Ref Expression
infexd.1 (𝜑 → 𝑅 Or 𝐴)
Assertion
Ref Expression
eqinf (𝜑 → ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) → inf(𝐵, 𝐴, 𝑅) = 𝐶))
Distinct variable groups:   𝑦,𝐴,𝑧   𝑦,𝐵,𝑧   𝑦,𝑅,𝑧   𝑦,𝐶,𝑧
Allowed substitution hints:   𝜑(𝑦, 𝑧)

Proof of Theorem eqinf
StepHypRef Expression
1 df-inf 9413 . . 3 inf(𝐵, 𝐴, 𝑅) = sup(𝐵, 𝐴, ◡𝑅)
2 infexd.1 . . . . . 6 (𝜑 → 𝑅 Or 𝐴)
3 cnvso 6280 . . . . . 6 (𝑅 Or 𝐴 ↔ ◡𝑅 Or 𝐴)
42, 3sylib 221 . . . . 5 (𝜑 → ◡𝑅 Or 𝐴)
54eqsup 9426 . . . 4 (𝜑 → ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)) → sup(𝐵, 𝐴, ◡𝑅) = 𝐶))
6 brcnvg 5853 . . . . . . . . . . . 12 ((𝐶 ∈ 𝐴 ∧ 𝑦 ∈ V) → (𝐶◡𝑅𝑦 ↔ 𝑦𝑅𝐶))
76bicomd 226 . . . . . . . . . . 11 ((𝐶 ∈ 𝐴 ∧ 𝑦 ∈ V) → (𝑦𝑅𝐶 ↔ 𝐶◡𝑅𝑦))
87elvd 3456 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (𝑦𝑅𝐶 ↔ 𝐶◡𝑅𝑦))
98notbid 321 . . . . . . . . 9 (𝐶 ∈ 𝐴 → (¬ 𝑦𝑅𝐶 ↔ ¬ 𝐶◡𝑅𝑦))
109ralbidv 3185 . . . . . . . 8 (𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ↔ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦))
11 vex 3454 . . . . . . . . . . . 12 𝑦 ∈ V
12 brcnvg 5853 . . . . . . . . . . . 12 ((𝑦 ∈ V ∧ 𝐶 ∈ 𝐴) → (𝑦◡𝑅𝐶 ↔ 𝐶𝑅𝑦))
1311, 12mpan 703 . . . . . . . . . . 11 (𝐶 ∈ 𝐴 → (𝑦◡𝑅𝐶 ↔ 𝐶𝑅𝑦))
1413bicomd 226 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (𝐶𝑅𝑦 ↔ 𝑦◡𝑅𝐶))
15 vex 3454 . . . . . . . . . . . . . 14 𝑧 ∈ V
1611, 15brcnv 5856 . . . . . . . . . . . . 13 (𝑦◡𝑅𝑧 ↔ 𝑧𝑅𝑦)
1716a1i 11 . . . . . . . . . . . 12 (𝐶 ∈ 𝐴 → (𝑦◡𝑅𝑧 ↔ 𝑧𝑅𝑦))
1817bicomd 226 . . . . . . . . . . 11 (𝐶 ∈ 𝐴 → (𝑧𝑅𝑦 ↔ 𝑦◡𝑅𝑧))
1918rexbidv 3186 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (∃𝑧 ∈ 𝐵 𝑧𝑅𝑦 ↔ ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))
2014, 19imbi12d 347 . . . . . . . . 9 (𝐶 ∈ 𝐴 → ((𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦) ↔ (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2120ralbidv 3185 . . . . . . . 8 (𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦) ↔ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2210, 21anbi12d 644 . . . . . . 7 (𝐶 ∈ 𝐴 → ((∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) ↔ (∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))))
2322pm5.32i 585 . . . . . 6 ((𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))) ↔ (𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))))
24 3anass 1111 . . . . . 6 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) ↔ (𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))))
25 3anass 1111 . . . . . 6 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)) ↔ (𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))))
2623, 24, 253bitr4i 306 . . . . 5 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) ↔ (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2726biimpi 219 . . . 4 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) → (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
285, 27impel 515 . . 3 ((𝜑 ∧ (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))) → sup(𝐵, 𝐴, ◡𝑅) = 𝐶)
291, 28eqtrid 2807 . 2 ((𝜑 ∧ (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))) → inf(𝐵, 𝐴, 𝑅) = 𝐶)
3029ex 418 1 (𝜑 → ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) → inf(𝐵, 𝐴, 𝑅) = 𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ∀wral 3076  ∃wrex 3086  Vcvv 3450   class class class wbr 5102   Or wor 5554  ◡ccnv 5646  supcsup 9410  infcinf 9411
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2732  ax-sep 5248  ax-pr 5390
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 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-po 5555  df-so 5556  df-cnv 5655  df-iota 6483  df-riota 7365  df-sup 9412  df-inf 9413
This theorem is used by:  eqinfd  9456  infxr  46300
  Copyright terms: Public domain W3C validator