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 33697
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 7159 . . 3 (𝐴𝐹𝐵) = (𝐹‘⟨𝐴, 𝐵⟩)
2 opelxp 5564 . . . 4 (⟨𝐴, 𝐵⟩ ∈ ( No × No ) ↔ (𝐴 No 𝐵 No ))
3 eqid 2758 . . . . . . 7 {⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} = {⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))}
4 eqid 2758 . . . . . . 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 33691 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Fr ( No × No )
63, 4noxpordpo 33690 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Po ( No × No )
73, 4noxpordse 33692 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))} Se ( No × No )
85, 6, 73pm3.2i 1336 . . . . 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 33689 . . . . . . 7 norec2 (𝐺) = frecs({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), 𝐺)
119, 10eqtri 2781 . . . . . 6 𝐹 = frecs({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), 𝐺)
1211fpr2 33415 . . . . 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 689 . . . 4 (⟨𝐴, 𝐵⟩ ∈ ( No × No ) → (𝐹‘⟨𝐴, 𝐵⟩) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
142, 13sylbir 238 . . 3 ((𝐴 No 𝐵 No ) → (𝐹‘⟨𝐴, 𝐵⟩) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
151, 14syl5eq 2805 . 2 ((𝐴 No 𝐵 No ) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ ( No × No ) ∧ 𝑏 ∈ ( No × No ) ∧ (((1st𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (1st𝑏) ∨ (1st𝑎) = (1st𝑏)) ∧ ((2nd𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ (( L ‘𝑑) ∪ ( R ‘𝑑))} (2nd𝑏) ∨ (2nd𝑎) = (2nd𝑏)) ∧ 𝑎𝑏))}, ( No × No ), ⟨𝐴, 𝐵⟩))))
163, 4noxpordpred 33693 . . . 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 5828 . . 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 7172 . 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 2793 1 ((𝐴 No 𝐵 No ) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵𝐺(𝐹 ↾ ((((( L ‘𝐴) ∪ ( R ‘𝐴)) ∪ {𝐴}) × ((( L ‘𝐵) ∪ ( R ‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩}))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wo 844  w3a 1084   = wceq 1538  wcel 2111  wne 2951  cdif 3857  cun 3858  {csn 4525  cop 4531   class class class wbr 5036  {copab 5098   Po wpo 5445   Fr wfr 5484   Se wse 5485   × cxp 5526  cres 5530  Predcpred 6130  cfv 6340  (class class class)co 7156  1st c1st 7697  2nd c2nd 7698  frecscfrecs 33392   No csur 33441   L cleft 33624   R cright 33625   norec2 cnorec2 33688
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 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-rep 5160  ax-sep 5173  ax-nul 5180  ax-pow 5238  ax-pr 5302  ax-un 7465
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-reu 3077  df-rmo 3078  df-rab 3079  df-v 3411  df-sbc 3699  df-csb 3808  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-pss 3879  df-nul 4228  df-if 4424  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4802  df-int 4842  df-iun 4888  df-br 5037  df-opab 5099  df-mpt 5117  df-tr 5143  df-id 5434  df-eprel 5439  df-po 5447  df-so 5448  df-fr 5487  df-se 5488  df-we 5489  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-res 5540  df-ima 5541  df-pred 6131  df-ord 6177  df-on 6178  df-suc 6180  df-iota 6299  df-fun 6342  df-fn 6343  df-f 6344  df-f1 6345  df-fo 6346  df-f1o 6347  df-fv 6348  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-1st 7699  df-2nd 7700  df-wrecs 7963  df-recs 8024  df-1o 8118  df-2o 8119  df-frecs 33393  df-no 33444  df-slt 33445  df-bday 33446  df-sslt 33574  df-scut 33576  df-made 33626  df-old 33627  df-left 33629  df-right 33630  df-norec2 33689
This theorem is referenced by:  addsov  33710
  Copyright terms: Public domain W3C validator