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

Theorem eqinf 9518
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 9476 . . 3 inf(𝐵, 𝐴, 𝑅) = sup(𝐵, 𝐴, ◡𝑅)
2 infexd.1 . . . . . 6 (𝜑 → 𝑅 Or 𝐴)
3 cnvso 6319 . . . . . 6 (𝑅 Or 𝐴 ↔ ◡𝑅 Or 𝐴)
42, 3sylib 221 . . . . 5 (𝜑 → ◡𝑅 Or 𝐴)
54eqsup 9489 . . . 4 (𝜑 → ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)) → sup(𝐵, 𝐴, ◡𝑅) = 𝐶))
6 brcnvg 5872 . . . . . . . . . . . 12 ((𝐶 ∈ 𝐴 ∧ 𝑦 ∈ V) → (𝐶◡𝑅𝑦 ↔ 𝑦𝑅𝐶))
76bicomd 226 . . . . . . . . . . 11 ((𝐶 ∈ 𝐴 ∧ 𝑦 ∈ V) → (𝑦𝑅𝐶 ↔ 𝐶◡𝑅𝑦))
87elvd 3462 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (𝑦𝑅𝐶 ↔ 𝐶◡𝑅𝑦))
98notbid 321 . . . . . . . . 9 (𝐶 ∈ 𝐴 → (¬ 𝑦𝑅𝐶 ↔ ¬ 𝐶◡𝑅𝑦))
109ralbidv 3195 . . . . . . . 8 (𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ↔ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦))
11 vex 3460 . . . . . . . . . . . 12 𝑦 ∈ V
12 brcnvg 5872 . . . . . . . . . . . 12 ((𝑦 ∈ V ∧ 𝐶 ∈ 𝐴) → (𝑦◡𝑅𝐶 ↔ 𝐶𝑅𝑦))
1311, 12mpan 703 . . . . . . . . . . 11 (𝐶 ∈ 𝐴 → (𝑦◡𝑅𝐶 ↔ 𝐶𝑅𝑦))
1413bicomd 226 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (𝐶𝑅𝑦 ↔ 𝑦◡𝑅𝐶))
15 vex 3460 . . . . . . . . . . . . . 14 𝑧 ∈ V
1611, 15brcnv 5875 . . . . . . . . . . . . 13 (𝑦◡𝑅𝑧 ↔ 𝑧𝑅𝑦)
1716a1i 11 . . . . . . . . . . . 12 (𝐶 ∈ 𝐴 → (𝑦◡𝑅𝑧 ↔ 𝑧𝑅𝑦))
1817bicomd 226 . . . . . . . . . . 11 (𝐶 ∈ 𝐴 → (𝑧𝑅𝑦 ↔ 𝑦◡𝑅𝑧))
1918rexbidv 3196 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (∃𝑧 ∈ 𝐵 𝑧𝑅𝑦 ↔ ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))
2014, 19imbi12d 347 . . . . . . . . 9 (𝐶 ∈ 𝐴 → ((𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦) ↔ (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2120ralbidv 3195 . . . . . . . 8 (𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦) ↔ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2210, 21anbi12d 644 . . . . . . 7 (𝐶 ∈ 𝐴 → ((∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) ↔ (∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))))
2322pm5.32i 585 . . . . . 6 ((𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))) ↔ (𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))))
24 3anass 1112 . . . . . 6 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) ↔ (𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))))
25 3anass 1112 . . . . . 6 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)) ↔ (𝐶 ∈ 𝐴 ∧ (∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))))
2623, 24, 253bitr4i 306 . . . . 5 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) ↔ (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2726biimpi 219 . . . 4 ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦)) → (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
285, 27impel 515 . . 3 ((𝜑 ∧ (𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ∧ ∀𝑦 ∈ 𝐴 (𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦))) → sup(𝐵, 𝐴, ◡𝑅) = 𝐶)
291, 28eqtrid 2816 . 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 1104   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096  Vcvv 3456   class class class wbr 5111   Or wor 5568  ◡ccnv 5660  supcsup 9473  infcinf 9474
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-po 5569  df-so 5570  df-cnv 5669  df-iota 6524  df-riota 7412  df-sup 9475  df-inf 9476
This theorem is used by:  eqinfd  9519  infxr  46728
  Copyright terms: Public domain W3C validator