Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  clrellem Structured version   Visualization version   GIF version

Theorem clrellem 44581
Description: When the property 𝜓 holds for a relation substituted for 𝑥, then the closure on that property is a relation if the base set is a relation. (Contributed by RP, 30-Jul-2020.)
Hypotheses
Ref Expression
clrellem.y (𝜑 → 𝑌 ∈ V)
clrellem.rel (𝜑 → Rel 𝑋)
clrellem.sub (𝑥 = ◡◡𝑌 → (𝜓 ↔ 𝜒))
clrellem.sup (𝜑 → 𝑋 ⊆ 𝑌)
clrellem.maj (𝜑 → 𝜒)
Assertion
Ref Expression
clrellem (𝜑 → Rel ∩ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)})
Distinct variable groups:   𝑥,𝑋   𝑥,𝑌   𝜑,𝑥   𝜒,𝑥
Allowed substitution hint:   𝜓(𝑥)

Proof of Theorem clrellem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 clrellem.y . . . 4 (𝜑 → 𝑌 ∈ V)
2 cnvexg 7925 . . . 4 (𝑌 ∈ V → ◡𝑌 ∈ V)
3 cnvexg 7925 . . . 4 (◡𝑌 ∈ V → ◡◡𝑌 ∈ V)
41, 2, 33syl 19 . . 3 (𝜑 → ◡◡𝑌 ∈ V)
5 clrellem.rel . . . . . 6 (𝜑 → Rel 𝑋)
6 dfrel2 6180 . . . . . 6 (Rel 𝑋 ↔ ◡◡𝑋 = 𝑋)
75, 6sylib 221 . . . . 5 (𝜑 → ◡◡𝑋 = 𝑋)
8 clrellem.sup . . . . . 6 (𝜑 → 𝑋 ⊆ 𝑌)
9 cnvss 5850 . . . . . 6 (𝑋 ⊆ 𝑌 → ◡𝑋 ⊆ ◡𝑌)
10 cnvss 5850 . . . . . 6 (◡𝑋 ⊆ ◡𝑌 → ◡◡𝑋 ⊆ ◡◡𝑌)
118, 9, 103syl 19 . . . . 5 (𝜑 → ◡◡𝑋 ⊆ ◡◡𝑌)
127, 11eqsstrrd 3966 . . . 4 (𝜑 → 𝑋 ⊆ ◡◡𝑌)
13 clrellem.maj . . . 4 (𝜑 → 𝜒)
14 relcnv 6098 . . . . 5 Rel ◡◡𝑌
1514a1i 11 . . . 4 (𝜑 → Rel ◡◡𝑌)
1612, 13, 15jca31 524 . . 3 (𝜑 → ((𝑋 ⊆ ◡◡𝑌 ∧ 𝜒) ∧ Rel ◡◡𝑌))
17 clrellem.sub . . . . 5 (𝑥 = ◡◡𝑌 → (𝜓 ↔ 𝜒))
1817cleq2lem 44567 . . . 4 (𝑥 = ◡◡𝑌 → ((𝑋 ⊆ 𝑥 ∧ 𝜓) ↔ (𝑋 ⊆ ◡◡𝑌 ∧ 𝜒)))
19 releq 5753 . . . 4 (𝑥 = ◡◡𝑌 → (Rel 𝑥 ↔ Rel ◡◡𝑌))
2018, 19anbi12d 644 . . 3 (𝑥 = ◡◡𝑌 → (((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥) ↔ ((𝑋 ⊆ ◡◡𝑌 ∧ 𝜒) ∧ Rel ◡◡𝑌)))
214, 16, 20spcedv 3553 . 2 (𝜑 → ∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥))
22 releq 5753 . . . 4 (𝑦 = 𝑥 → (Rel 𝑦 ↔ Rel 𝑥))
2322rexab2 3657 . . 3 (∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦 ↔ ∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥))
2423biimpri 231 . 2 (∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥) → ∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦)
25 relint 5797 . 2 (∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦 → Rel ∩ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)})
2621, 24, 253syl 19 1 (𝜑 → Rel ∩ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145  {cab 2739  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899  ∩ cint 4907  ◡ccnv 5650  Rel wrel 5656
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 2733  ax-sep 5249  ax-pow 5327  ax-pr 5391  ax-un 7740
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-int 4908  df-iin 4954  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-cnv 5659  df-dm 5661  df-rn 5662
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator