Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  norec2ov Structured version   Visualization version   GIF version

Theorem norec2ov 34159
Description: The value of the double-recursion surreal function. (Contributed by Scott Fenton, 20-Aug-2024.)
Hypothesis
Ref Expression
norec2.1 𝐹 = norec2 (𝐺)
Assertion
Ref Expression
norec2ov ((𝐴 No 𝐵 No ) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ ((((( L ‘𝐴) ∪ ( R ‘𝐴)) ∪ {𝐴}) × ((( L ‘𝐵) ∪ ( R ‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩}))))

Proof of Theorem norec2ov
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-ov 7310 . . 3 (𝐴𝐹𝐵) = (𝐹‘⟨𝐴, 𝐵⟩)
2 opelxp 5636 . . . 4 (⟨𝐴, 𝐵⟩ ∈ ( No × No ) ↔ (𝐴 No 𝐵 No ))
3 eqid 2736 . . . . . . 7 {⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} = {⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))}
4 eqid 2736 . . . . . . 7 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} = {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}
53, 4noxpordfr 34153 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Fr ( No × No )
63, 4noxpordpo 34152 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Po ( No × No )
73, 4noxpordse 34154 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Se ( No × No )
85, 6, 73pm3.2i 1339 . . . . 5 ({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Fr ( No × No ) ∧ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Po ( No × No ) ∧ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Se ( No × No ))
9 norec2.1 . . . . . . 7 𝐹 = norec2 (𝐺)
10 df-norec2 34151 . . . . . . 7 norec2 (𝐺) = frecs({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), 𝐺)
119, 10eqtri 2764 . . . . . 6 𝐹 = frecs({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), 𝐺)
1211fpr2 8151 . . . . 5 ((({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Fr ( No × No ) ∧ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Po ( No × No ) ∧ {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Se ( No × No )) ∧ ⟨𝐴, 𝐵⟩ ∈ ( No × No )) → (𝐹‘⟨𝐴, 𝐵⟩) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
138, 12mpan 688 . . . 4 (⟨𝐴, 𝐵⟩ ∈ ( No × No ) → (𝐹‘⟨𝐴, 𝐵⟩) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
142, 13sylbir 234 . . 3 ((𝐴 No 𝐵 No ) → (𝐹‘⟨𝐴, 𝐵⟩) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
151, 14eqtrid 2788 . 2 ((𝐴 No 𝐵 No ) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
163, 4noxpordpred 34155 . . . 4 ((𝐴 No 𝐵 No ) → Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩) = ((((( L ‘𝐴) ∪ ( R ‘𝐴)) ∪ {𝐴}) × ((( L ‘𝐵) ∪ ( R ‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩}))
1716reseq2d 5903 . . 3 ((𝐴 No 𝐵 No ) → (𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩)) = (𝐹 ↾ ((((( L ‘𝐴) ∪ ( R ‘𝐴)) ∪ {𝐴}) × ((( L ‘𝐵) ∪ ( R ‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩})))
1817oveq2d 7323 . 2 ((𝐴 No 𝐵 No ) → (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ ((((( L ‘𝐴) ∪ ( R ‘𝐴)) ∪ {𝐴}) × ((( L ‘𝐵) ∪ ( R ‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩}))))
1915, 18eqtrd 2776 1 ((𝐴 No 𝐵 No ) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ ((((( L ‘𝐴) ∪ ( R ‘𝐴)) ∪ {𝐴}) × ((( L ‘𝐵) ∪ ( R ‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  wo 845  w3a 1087   = wceq 1539  wcel 2104  wne 2941  cdif 3889  cun 3890  {csn 4565  cop 4571   class class class wbr 5081  {copab 5143   Po wpo 5512   Fr wfr 5552   Se wse 5553   × cxp 5598  cres 5602  Predcpred 6216  cfv 6458  (class class class)co 7307  1st c1st 7861  2nd c2nd 7862  frecscfrecs 8127   No csur 33888   L cleft 34074   R cright 34075   norec2 cnorec2 34150
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pow 5297  ax-pr 5361  ax-un 7620
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3or 1088  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-rmo 3285  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-pss 3911  df-nul 4263  df-if 4466  df-pw 4541  df-sn 4566  df-pr 4568  df-tp 4570  df-op 4572  df-uni 4845  df-int 4887  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-tr 5199  df-id 5500  df-eprel 5506  df-po 5514  df-so 5515  df-fr 5555  df-se 5556  df-we 5557  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-pred 6217  df-ord 6284  df-on 6285  df-suc 6287  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-riota 7264  df-ov 7310  df-oprab 7311  df-mpo 7312  df-1st 7863  df-2nd 7864  df-frecs 8128  df-wrecs 8159  df-recs 8233  df-1o 8328  df-2o 8329  df-no 33891  df-slt 33892  df-bday 33893  df-sslt 34021  df-scut 34023  df-made 34076  df-old 34077  df-left 34079  df-right 34080  df-norec2 34151
This theorem is referenced by:  addsval  34171
  Copyright terms: Public domain W3C validator