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

Theorem eqinf 9504
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 9462 . . 3 inf(𝐵, 𝐴, 𝑅) = sup(𝐵, 𝐴, ◡𝑅)
2 infexd.1 . . . . . 6 (𝜑 → 𝑅 Or 𝐴)
3 cnvso 6309 . . . . . 6 (𝑅 Or 𝐴 ↔ ◡𝑅 Or 𝐴)
42, 3sylib 221 . . . . 5 (𝜑 → ◡𝑅 Or 𝐴)
54eqsup 9475 . . . 4 (𝜑 → ((𝐶 ∈ 𝐴 ∧ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)) → sup(𝐵, 𝐴, ◡𝑅) = 𝐶))
6 brcnvg 5864 . . . . . . . . . . . 12 ((𝐶 ∈ 𝐴 ∧ 𝑦 ∈ V) → (𝐶◡𝑅𝑦 ↔ 𝑦𝑅𝐶))
76bicomd 226 . . . . . . . . . . 11 ((𝐶 ∈ 𝐴 ∧ 𝑦 ∈ V) → (𝑦𝑅𝐶 ↔ 𝐶◡𝑅𝑦))
87elvd 3460 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (𝑦𝑅𝐶 ↔ 𝐶◡𝑅𝑦))
98notbid 321 . . . . . . . . 9 (𝐶 ∈ 𝐴 → (¬ 𝑦𝑅𝐶 ↔ ¬ 𝐶◡𝑅𝑦))
109ralbidv 3189 . . . . . . . 8 (𝐶 ∈ 𝐴 → (∀𝑦 ∈ 𝐵 ¬ 𝑦𝑅𝐶 ↔ ∀𝑦 ∈ 𝐵 ¬ 𝐶◡𝑅𝑦))
11 vex 3458 . . . . . . . . . . . 12 𝑦 ∈ V
12 brcnvg 5864 . . . . . . . . . . . 12 ((𝑦 ∈ V ∧ 𝐶 ∈ 𝐴) → (𝑦◡𝑅𝐶 ↔ 𝐶𝑅𝑦))
1311, 12mpan 703 . . . . . . . . . . 11 (𝐶 ∈ 𝐴 → (𝑦◡𝑅𝐶 ↔ 𝐶𝑅𝑦))
1413bicomd 226 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (𝐶𝑅𝑦 ↔ 𝑦◡𝑅𝐶))
15 vex 3458 . . . . . . . . . . . . . 14 𝑧 ∈ V
1611, 15brcnv 5867 . . . . . . . . . . . . 13 (𝑦◡𝑅𝑧 ↔ 𝑧𝑅𝑦)
1716a1i 11 . . . . . . . . . . . 12 (𝐶 ∈ 𝐴 → (𝑦◡𝑅𝑧 ↔ 𝑧𝑅𝑦))
1817bicomd 226 . . . . . . . . . . 11 (𝐶 ∈ 𝐴 → (𝑧𝑅𝑦 ↔ 𝑦◡𝑅𝑧))
1918rexbidv 3190 . . . . . . . . . 10 (𝐶 ∈ 𝐴 → (∃𝑧 ∈ 𝐵 𝑧𝑅𝑦 ↔ ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧))
2014, 19imbi12d 347 . . . . . . . . 9 (𝐶 ∈ 𝐴 → ((𝐶𝑅𝑦 → ∃𝑧 ∈ 𝐵 𝑧𝑅𝑦) ↔ (𝑦◡𝑅𝐶 → ∃𝑧 ∈ 𝐵 𝑦◡𝑅𝑧)))
2120ralbidv 3189 . . . . . . . 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 2810 . 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 2147  ∀wral 3080  ∃wrex 3090  Vcvv 3454   class class class wbr 5106   Or wor 5562  ◡ccnv 5654  supcsup 9459  infcinf 9460
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-pr 5395
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-po 5563  df-so 5564  df-cnv 5663  df-iota 6512  df-riota 7400  df-sup 9461  df-inf 9462
This theorem is used by:  eqinfd  9505  infxr  46583
  Copyright terms: Public domain W3C validator