Users' Mathboxes Mathbox for Rohan Ridenour < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  grucollcld Structured version   Visualization version   GIF version

Theorem grucollcld 43009
Description: A Grothendieck universe contains the output of a collection operation whenever its left input is a relation on the universe, and its right input is in the universe. (Contributed by Rohan Ridenour, 11-Aug-2023.)
Hypotheses
Ref Expression
grucollcld.1 (𝜑𝐺 ∈ Univ)
grucollcld.2 (𝜑𝐹 ⊆ (𝐺 × 𝐺))
grucollcld.3 (𝜑𝐴𝐺)
Assertion
Ref Expression
grucollcld (𝜑 → (𝐹 Coll 𝐴) ∈ 𝐺)

Proof of Theorem grucollcld
Dummy variables 𝑥 𝑧 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfcoll2 43001 . 2 (𝐹 Coll 𝐴) = 𝑥𝐴 Scott {𝑦𝑥𝐹𝑦}
2 grucollcld.1 . . 3 (𝜑𝐺 ∈ Univ)
3 grucollcld.3 . . 3 (𝜑𝐴𝐺)
4 simpr 485 . . . . . 6 (((𝜑𝑥𝐴) ∧ Scott {𝑦𝑥𝐹𝑦} = ∅) → Scott {𝑦𝑥𝐹𝑦} = ∅)
52ad2antrr 724 . . . . . . 7 (((𝜑𝑥𝐴) ∧ Scott {𝑦𝑥𝐹𝑦} = ∅) → 𝐺 ∈ Univ)
63ad2antrr 724 . . . . . . 7 (((𝜑𝑥𝐴) ∧ Scott {𝑦𝑥𝐹𝑦} = ∅) → 𝐴𝐺)
75, 6gru0eld 42978 . . . . . 6 (((𝜑𝑥𝐴) ∧ Scott {𝑦𝑥𝐹𝑦} = ∅) → ∅ ∈ 𝐺)
84, 7eqeltrd 2833 . . . . 5 (((𝜑𝑥𝐴) ∧ Scott {𝑦𝑥𝐹𝑦} = ∅) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
9 neq0 4345 . . . . . . 7 (¬ Scott {𝑦𝑥𝐹𝑦} = ∅ ↔ ∃𝑧 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦})
102ad2antrr 724 . . . . . . . . . 10 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → 𝐺 ∈ Univ)
11 breq2 5152 . . . . . . . . . . . . . 14 (𝑦 = 𝑧 → (𝑥𝐹𝑦𝑥𝐹𝑧))
1211elscottab 42993 . . . . . . . . . . . . 13 (𝑧 ∈ Scott {𝑦𝑥𝐹𝑦} → 𝑥𝐹𝑧)
1312adantl 482 . . . . . . . . . . . 12 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → 𝑥𝐹𝑧)
14 grucollcld.2 . . . . . . . . . . . . . 14 (𝜑𝐹 ⊆ (𝐺 × 𝐺))
1514ad2antrr 724 . . . . . . . . . . . . 13 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → 𝐹 ⊆ (𝐺 × 𝐺))
1615ssbrd 5191 . . . . . . . . . . . 12 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → (𝑥𝐹𝑧𝑥(𝐺 × 𝐺)𝑧))
1713, 16mpd 15 . . . . . . . . . . 11 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → 𝑥(𝐺 × 𝐺)𝑧)
18 brxp 5725 . . . . . . . . . . . 12 (𝑥(𝐺 × 𝐺)𝑧 ↔ (𝑥𝐺𝑧𝐺))
1918simprbi 497 . . . . . . . . . . 11 (𝑥(𝐺 × 𝐺)𝑧𝑧𝐺)
2017, 19syl 17 . . . . . . . . . 10 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → 𝑧𝐺)
21 simpr 485 . . . . . . . . . 10 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦})
2210, 20, 21gruscottcld 42998 . . . . . . . . 9 (((𝜑𝑥𝐴) ∧ 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦}) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
2322expcom 414 . . . . . . . 8 (𝑧 ∈ Scott {𝑦𝑥𝐹𝑦} → ((𝜑𝑥𝐴) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺))
2423exlimiv 1933 . . . . . . 7 (∃𝑧 𝑧 ∈ Scott {𝑦𝑥𝐹𝑦} → ((𝜑𝑥𝐴) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺))
259, 24sylbi 216 . . . . . 6 (¬ Scott {𝑦𝑥𝐹𝑦} = ∅ → ((𝜑𝑥𝐴) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺))
2625impcom 408 . . . . 5 (((𝜑𝑥𝐴) ∧ ¬ Scott {𝑦𝑥𝐹𝑦} = ∅) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
278, 26pm2.61dan 811 . . . 4 ((𝜑𝑥𝐴) → Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
2827ralrimiva 3146 . . 3 (𝜑 → ∀𝑥𝐴 Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
29 gruiun 10793 . . 3 ((𝐺 ∈ Univ ∧ 𝐴𝐺 ∧ ∀𝑥𝐴 Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺) → 𝑥𝐴 Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
302, 3, 28, 29syl3anc 1371 . 2 (𝜑 𝑥𝐴 Scott {𝑦𝑥𝐹𝑦} ∈ 𝐺)
311, 30eqeltrid 2837 1 (𝜑 → (𝐹 Coll 𝐴) ∈ 𝐺)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1541  wex 1781  wcel 2106  {cab 2709  wral 3061  wss 3948  c0 4322   ciun 4997   class class class wbr 5148   × cxp 5674  Univcgru 10784  Scott cscott 42984   Coll ccoll 42999
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-rep 5285  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7724  ax-reg 9586  ax-inf2 9635  ax-ac2 10457
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-rmo 3376  df-reu 3377  df-rab 3433  df-v 3476  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-pss 3967  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-int 4951  df-iun 4999  df-iin 5000  df-br 5149  df-opab 5211  df-mpt 5232  df-tr 5266  df-id 5574  df-eprel 5580  df-po 5588  df-so 5589  df-fr 5631  df-se 5632  df-we 5633  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-pred 6300  df-ord 6367  df-on 6368  df-lim 6369  df-suc 6370  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-isom 6552  df-riota 7364  df-ov 7411  df-oprab 7412  df-mpo 7413  df-om 7855  df-1st 7974  df-2nd 7975  df-frecs 8265  df-wrecs 8296  df-recs 8370  df-rdg 8409  df-1o 8465  df-er 8702  df-map 8821  df-en 8939  df-dom 8940  df-sdom 8941  df-fin 8942  df-tc 9731  df-r1 9758  df-rank 9759  df-card 9933  df-cf 9935  df-acn 9936  df-ac 10110  df-wina 10678  df-ina 10679  df-gru 10785  df-scott 42985  df-coll 43000
This theorem is referenced by:  grumnudlem  43034
  Copyright terms: Public domain W3C validator