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

Theorem norec2ov 28400
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 7454 . . 3 (𝐴𝐹𝐵) = (𝐹‘⟨𝐴, 𝐵⟩)
2 opelxp 5694 . . . 4 (⟨𝐴, 𝐵⟩ ∈ (No × No) ↔ (𝐴 ∈ No ∧ 𝐵 ∈ No))
3 eqid 2763 . . . . . . 7 {⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} = {⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))}
4 eqid 2763 . . . . . . 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 28394 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (No × No) ∧ 𝑏 ∈ (No × No) ∧ (((1st ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (1st ‘𝑏) ∨ (1st ‘𝑎) = (1st ‘𝑏)) ∧ ((2nd ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (2nd ‘𝑏) ∨ (2nd ‘𝑎) = (2nd ‘𝑏)) ∧ 𝑎 ≠ 𝑏))} Fr (No × No)
63, 4noxpordpo 28393 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (No × No) ∧ 𝑏 ∈ (No × No) ∧ (((1st ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (1st ‘𝑏) ∨ (1st ‘𝑎) = (1st ‘𝑏)) ∧ ((2nd ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (2nd ‘𝑏) ∨ (2nd ‘𝑎) = (2nd ‘𝑏)) ∧ 𝑎 ≠ 𝑏))} Po (No × No)
73, 4noxpordse 28395 . . . . . 6 {⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (No × No) ∧ 𝑏 ∈ (No × No) ∧ (((1st ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (1st ‘𝑏) ∨ (1st ‘𝑎) = (1st ‘𝑏)) ∧ ((2nd ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (2nd ‘𝑏) ∨ (2nd ‘𝑎) = (2nd ‘𝑏)) ∧ 𝑎 ≠ 𝑏))} Se (No × No)
85, 6, 73pm3.2i 1358 . . . . 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 28392 . . . . . . 7 norec2 (𝐺) = frecs({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (No × No) ∧ 𝑏 ∈ (No × No) ∧ (((1st ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (1st ‘𝑏) ∨ (1st ‘𝑎) = (1st ‘𝑏)) ∧ ((2nd ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (2nd ‘𝑏) ∨ (2nd ‘𝑎) = (2nd ‘𝑏)) ∧ 𝑎 ≠ 𝑏))}, (No × No), 𝐺)
119, 10eqtri 2786 . . . . . 6 𝐹 = frecs({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (No × No) ∧ 𝑏 ∈ (No × No) ∧ (((1st ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (1st ‘𝑏) ∨ (1st ‘𝑎) = (1st ‘𝑏)) ∧ ((2nd ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (2nd ‘𝑏) ∨ (2nd ‘𝑎) = (2nd ‘𝑏)) ∧ 𝑎 ≠ 𝑏))}, (No × No), 𝐺)
1211fpr2 8360 . . . . 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 703 . . . 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, 14eqtrid 2810 . 2 ((𝐴 ∈ No ∧ 𝐵 ∈ No) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵⟩𝐺(𝐹 ↾ Pred({⟨𝑎, 𝑏⟩ ∣ (𝑎 ∈ (No × No) ∧ 𝑏 ∈ (No × No) ∧ (((1st ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (1st ‘𝑏) ∨ (1st ‘𝑎) = (1st ‘𝑏)) ∧ ((2nd ‘𝑎){⟨𝑐, 𝑑⟩ ∣ 𝑐 ∈ ((L‘𝑑) ∪ (R‘𝑑))} (2nd ‘𝑏) ∨ (2nd ‘𝑎) = (2nd ‘𝑏)) ∧ 𝑎 ≠ 𝑏))}, (No × No), ⟨𝐴, 𝐵⟩))))
163, 4noxpordpred 28396 . . . 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 5986 . . 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 7467 . 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 2798 1 ((𝐴 ∈ No ∧ 𝐵 ∈ No) → (𝐴𝐹𝐵) = (⟨𝐴, 𝐵⟩𝐺(𝐹 ↾ (((((L‘𝐴) ∪ (R‘𝐴)) ∪ {𝐴}) × (((L‘𝐵) ∪ (R‘𝐵)) ∪ {𝐵})) ∖ {⟨𝐴, 𝐵⟩}))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959   ∖ cdif 4048   ∪ cun 4152  {csn 4588  ⟨cop 4840   class class class wbr 5108  {copab 5173   Po wpo 5564   Fr wfr 5608   Se wse 5609   × cxp 5656   ↾ cres 5660  Predcpred 6329  ‘cfv 6566  (class class class)co 7451  1st c1st 8033  2nd c2nd 8034  frecscfrecs 8336  Nocsur 28054  Lcleft 28268  Rcright 28269   norec2 cnorec2 28391
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-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  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-tp 4593  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-se 5612  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-1o 8514  df-2o 8515  df-no 28057  df-lts 28058  df-bday 28059  df-slts 28201  df-cuts 28203  df-made 28270  df-old 28271  df-left 28273  df-right 28274  df-norec2 28392
This theorem is used by:  addsval  28405  mulsval  28552
  Copyright terms: Public domain W3C validator