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 44825
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 7963 . . . 4 (𝑌 ∈ V → ◡𝑌 ∈ V)
3 cnvexg 7963 . . . 4 (◡𝑌 ∈ V → ◡◡𝑌 ∈ V)
41, 2, 33syl 19 . . 3 (𝜑 → ◡◡𝑌 ∈ V)
5 clrellem.rel . . . . . 6 (𝜑 → Rel 𝑋)
6 dfrel2 6194 . . . . . 6 (Rel 𝑋 ↔ ◡◡𝑋 = 𝑋)
75, 6sylib 221 . . . . 5 (𝜑 → ◡◡𝑋 = 𝑋)
8 clrellem.sup . . . . . 6 (𝜑 → 𝑋 ⊆ 𝑌)
9 cnvss 5858 . . . . . 6 (𝑋 ⊆ 𝑌 → ◡𝑋 ⊆ ◡𝑌)
10 cnvss 5858 . . . . . 6 (◡𝑋 ⊆ ◡𝑌 → ◡◡𝑋 ⊆ ◡◡𝑌)
118, 9, 103syl 19 . . . . 5 (𝜑 → ◡◡𝑋 ⊆ ◡◡𝑌)
127, 11eqsstrrd 3948 . . . 4 (𝜑 → 𝑋 ⊆ ◡◡𝑌)
13 clrellem.maj . . . 4 (𝜑 → 𝜒)
14 relcnv 6113 . . . . 5 Rel ◡◡𝑌
1514a1i 11 . . . 4 (𝜑 → Rel ◡◡𝑌)
1612, 13, 15jca31 524 . . 3 (𝜑 → ((𝑋 ⊆ ◡◡𝑌 ∧ 𝜒) ∧ Rel ◡◡𝑌))
17 clrellem.sub . . . . 5 (𝑥 = ◡◡𝑌 → (𝜓 ↔ 𝜒))
1817cleq2lem 44811 . . . 4 (𝑥 = ◡◡𝑌 → ((𝑋 ⊆ 𝑥 ∧ 𝜓) ↔ (𝑋 ⊆ ◡◡𝑌 ∧ 𝜒)))
19 releq 5759 . . . 4 (𝑥 = ◡◡𝑌 → (Rel 𝑥 ↔ Rel ◡◡𝑌))
2018, 19anbi12d 644 . . 3 (𝑥 = ◡◡𝑌 → (((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥) ↔ ((𝑋 ⊆ ◡◡𝑌 ∧ 𝜒) ∧ Rel ◡◡𝑌)))
214, 16, 20spcedv 3556 . 2 (𝜑 → ∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥))
22 releq 5759 . . . 4 (𝑦 = 𝑥 → (Rel 𝑦 ↔ Rel 𝑥))
2322rexab2 3660 . . 3 (∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦 ↔ ∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥))
2423biimpri 231 . 2 (∃𝑥((𝑋 ⊆ 𝑥 ∧ 𝜓) ∧ Rel 𝑥) → ∃𝑦 ∈ {𝑥 ∣ (𝑋 ⊆ 𝑥 ∧ 𝜓)}Rel 𝑦)
25 relint 5803 . 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 2147  {cab 2741  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900  ∩ cint 4910  ◡ccnv 5655  Rel wrel 5661
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 5253  ax-pow 5332  ax-pr 5396  ax-un 7778
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 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  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-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iin 4957  df-br 5107  df-opab 5172  df-xp 5662  df-rel 5663  df-cnv 5664  df-dm 5666  df-rn 5667
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator