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

Theorem ordtypecbv 9206
Description: Lemma for ordtype 9221. (Contributed by Mario Carneiro, 26-Jun-2015.)
Hypotheses
Ref Expression
ordtypelem.1 𝐹 = recs(𝐺)
ordtypelem.2 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
ordtypelem.3 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
Assertion
Ref Expression
ordtypecbv recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))) = 𝐹
Distinct variable groups:   𝑓,𝑟,𝑠,𝑢,𝑣,𝐶   ,𝑗,𝑢,𝑣,𝑤,𝑓,𝑖,𝑦,𝑅,𝑟,𝑠   𝐴,,𝑗,𝑟,𝑠,𝑢,𝑣,𝑤,𝑦
Allowed substitution hints:   𝐴(𝑓,𝑖)   𝐶(𝑦,𝑤,,𝑖,𝑗)   𝐹(𝑦,𝑤,𝑣,𝑢,𝑓,,𝑖,𝑗,𝑠,𝑟)   𝐺(𝑦,𝑤,𝑣,𝑢,𝑓,,𝑖,𝑗,𝑠,𝑟)

Proof of Theorem ordtypecbv
StepHypRef Expression
1 ordtypelem.1 . 2 𝐹 = recs(𝐺)
2 ordtypelem.3 . . . 4 𝐺 = ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣))
3 breq1 5073 . . . . . . . . . 10 (𝑢 = 𝑟 → (𝑢𝑅𝑣𝑟𝑅𝑣))
43notbid 317 . . . . . . . . 9 (𝑢 = 𝑟 → (¬ 𝑢𝑅𝑣 ↔ ¬ 𝑟𝑅𝑣))
54cbvralvw 3372 . . . . . . . 8 (∀𝑢𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟𝐶 ¬ 𝑟𝑅𝑣)
6 breq2 5074 . . . . . . . . . 10 (𝑣 = 𝑠 → (𝑟𝑅𝑣𝑟𝑅𝑠))
76notbid 317 . . . . . . . . 9 (𝑣 = 𝑠 → (¬ 𝑟𝑅𝑣 ↔ ¬ 𝑟𝑅𝑠))
87ralbidv 3120 . . . . . . . 8 (𝑣 = 𝑠 → (∀𝑟𝐶 ¬ 𝑟𝑅𝑣 ↔ ∀𝑟𝐶 ¬ 𝑟𝑅𝑠))
95, 8syl5bb 282 . . . . . . 7 (𝑣 = 𝑠 → (∀𝑢𝐶 ¬ 𝑢𝑅𝑣 ↔ ∀𝑟𝐶 ¬ 𝑟𝑅𝑠))
109cbvriotavw 7222 . . . . . 6 (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣) = (𝑠𝐶𝑟𝐶 ¬ 𝑟𝑅𝑠)
11 ordtypelem.2 . . . . . . . . 9 𝐶 = {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤}
12 breq1 5073 . . . . . . . . . . . 12 (𝑗 = 𝑖 → (𝑗𝑅𝑤𝑖𝑅𝑤))
1312cbvralvw 3372 . . . . . . . . . . 11 (∀𝑗 ∈ ran 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran 𝑖𝑅𝑤)
14 breq2 5074 . . . . . . . . . . . 12 (𝑤 = 𝑦 → (𝑖𝑅𝑤𝑖𝑅𝑦))
1514ralbidv 3120 . . . . . . . . . . 11 (𝑤 = 𝑦 → (∀𝑖 ∈ ran 𝑖𝑅𝑤 ↔ ∀𝑖 ∈ ran 𝑖𝑅𝑦))
1613, 15syl5bb 282 . . . . . . . . . 10 (𝑤 = 𝑦 → (∀𝑗 ∈ ran 𝑗𝑅𝑤 ↔ ∀𝑖 ∈ ran 𝑖𝑅𝑦))
1716cbvrabv 3416 . . . . . . . . 9 {𝑤𝐴 ∣ ∀𝑗 ∈ ran 𝑗𝑅𝑤} = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑖𝑅𝑦}
1811, 17eqtri 2766 . . . . . . . 8 𝐶 = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑖𝑅𝑦}
19 rneq 5834 . . . . . . . . . 10 ( = 𝑓 → ran = ran 𝑓)
2019raleqdv 3339 . . . . . . . . 9 ( = 𝑓 → (∀𝑖 ∈ ran 𝑖𝑅𝑦 ↔ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦))
2120rabbidv 3404 . . . . . . . 8 ( = 𝑓 → {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑖𝑅𝑦} = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2218, 21eqtrid 2790 . . . . . . 7 ( = 𝑓𝐶 = {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦})
2322raleqdv 3339 . . . . . . 7 ( = 𝑓 → (∀𝑟𝐶 ¬ 𝑟𝑅𝑠 ↔ ∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2422, 23riotaeqbidv 7215 . . . . . 6 ( = 𝑓 → (𝑠𝐶𝑟𝐶 ¬ 𝑟𝑅𝑠) = (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2510, 24eqtrid 2790 . . . . 5 ( = 𝑓 → (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣) = (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
2625cbvmptv 5183 . . . 4 ( ∈ V ↦ (𝑣𝐶𝑢𝐶 ¬ 𝑢𝑅𝑣)) = (𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
272, 26eqtri 2766 . . 3 𝐺 = (𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))
28 recseq 8176 . . 3 (𝐺 = (𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)) → recs(𝐺) = recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))))
2927, 28ax-mp 5 . 2 recs(𝐺) = recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠)))
301, 29eqtr2i 2767 1 recs((𝑓 ∈ V ↦ (𝑠 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦}∀𝑟 ∈ {𝑦𝐴 ∣ ∀𝑖 ∈ ran 𝑓 𝑖𝑅𝑦} ¬ 𝑟𝑅𝑠))) = 𝐹
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1539  wral 3063  {crab 3067  Vcvv 3422   class class class wbr 5070  cmpt 5153  ran crn 5581  crio 7211  recscrecs 8172
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-xp 5586  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-iota 6376  df-fv 6426  df-riota 7212  df-ov 7258  df-frecs 8068  df-wrecs 8099  df-recs 8173
This theorem is referenced by:  oicl  9218  oif  9219  oiiso2  9220  ordtype  9221  oiiniseg  9222  ordtype2  9223
  Copyright terms: Public domain W3C validator