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

Theorem finxpreclem3 36808
Description: Lemma for ↑↑ recursion theorems. (Contributed by ML, 20-Oct-2020.)
Hypothesis
Ref Expression
finxpreclem3.1 𝐹 = (𝑛 ∈ ω, 𝑥 ∈ V ↦ if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)))
Assertion
Ref Expression
finxpreclem3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ = (𝐹‘⟨𝑁, 𝑋⟩))
Distinct variable groups:   𝑛,𝑁,𝑥   𝑈,𝑛,𝑥   𝑛,𝑋,𝑥
Allowed substitution hints:   𝐹(𝑥,𝑛)

Proof of Theorem finxpreclem3
StepHypRef Expression
1 finxpreclem3.1 . . . 4 𝐹 = (𝑛 ∈ ω, 𝑥 ∈ V ↦ if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)))
21a1i 11 . . 3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝐹 = (𝑛 ∈ ω, 𝑥 ∈ V ↦ if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩))))
3 eqeq1 2731 . . . . . . 7 (𝑛 = 𝑁 → (𝑛 = 1o𝑁 = 1o))
4 eleq1 2816 . . . . . . 7 (𝑥 = 𝑋 → (𝑥𝑈𝑋𝑈))
53, 4bi2anan9 637 . . . . . 6 ((𝑛 = 𝑁𝑥 = 𝑋) → ((𝑛 = 1o𝑥𝑈) ↔ (𝑁 = 1o𝑋𝑈)))
6 eleq1 2816 . . . . . . . 8 (𝑥 = 𝑋 → (𝑥 ∈ (V × 𝑈) ↔ 𝑋 ∈ (V × 𝑈)))
76adantl 481 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → (𝑥 ∈ (V × 𝑈) ↔ 𝑋 ∈ (V × 𝑈)))
8 unieq 4914 . . . . . . . . 9 (𝑛 = 𝑁 𝑛 = 𝑁)
98adantr 480 . . . . . . . 8 ((𝑛 = 𝑁𝑥 = 𝑋) → 𝑛 = 𝑁)
10 fveq2 6891 . . . . . . . . 9 (𝑥 = 𝑋 → (1st𝑥) = (1st𝑋))
1110adantl 481 . . . . . . . 8 ((𝑛 = 𝑁𝑥 = 𝑋) → (1st𝑥) = (1st𝑋))
129, 11opeq12d 4877 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → ⟨ 𝑛, (1st𝑥)⟩ = ⟨ 𝑁, (1st𝑋)⟩)
13 opeq12 4871 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → ⟨𝑛, 𝑥⟩ = ⟨𝑁, 𝑋⟩)
147, 12, 13ifbieq12d 4552 . . . . . 6 ((𝑛 = 𝑁𝑥 = 𝑋) → if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩) = if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩))
155, 14ifbieq2d 4550 . . . . 5 ((𝑛 = 𝑁𝑥 = 𝑋) → if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = if((𝑁 = 1o𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)))
16 sssucid 6443 . . . . . . . . . . . . 13 1o ⊆ suc 1o
17 df-2o 8481 . . . . . . . . . . . . 13 2o = suc 1o
1816, 17sseqtrri 4015 . . . . . . . . . . . 12 1o ⊆ 2o
19 1on 8492 . . . . . . . . . . . . . 14 1o ∈ On
2017, 19sucneqoni 36781 . . . . . . . . . . . . 13 2o ≠ 1o
2120necomi 2990 . . . . . . . . . . . 12 1o ≠ 2o
22 df-pss 3963 . . . . . . . . . . . 12 (1o ⊊ 2o ↔ (1o ⊆ 2o ∧ 1o ≠ 2o))
2318, 21, 22mpbir2an 710 . . . . . . . . . . 11 1o ⊊ 2o
24 ssnpss 4099 . . . . . . . . . . 11 (2o ⊆ 1o → ¬ 1o ⊊ 2o)
2523, 24mt2 199 . . . . . . . . . 10 ¬ 2o ⊆ 1o
26 sseq2 4004 . . . . . . . . . 10 (𝑁 = 1o → (2o𝑁 ↔ 2o ⊆ 1o))
2725, 26mtbiri 327 . . . . . . . . 9 (𝑁 = 1o → ¬ 2o𝑁)
2827con2i 139 . . . . . . . 8 (2o𝑁 → ¬ 𝑁 = 1o)
2928intnanrd 489 . . . . . . 7 (2o𝑁 → ¬ (𝑁 = 1o𝑋𝑈))
3029iffalsed 4535 . . . . . 6 (2o𝑁 → if((𝑁 = 1o𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)) = if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩))
31 iftrue 4530 . . . . . 6 (𝑋 ∈ (V × 𝑈) → if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩) = ⟨ 𝑁, (1st𝑋)⟩)
3230, 31sylan9eq 2787 . . . . 5 ((2o𝑁𝑋 ∈ (V × 𝑈)) → if((𝑁 = 1o𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
3315, 32sylan9eqr 2789 . . . 4 (((2o𝑁𝑋 ∈ (V × 𝑈)) ∧ (𝑛 = 𝑁𝑥 = 𝑋)) → if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
3433adantlll 717 . . 3 ((((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) ∧ (𝑛 = 𝑁𝑥 = 𝑋)) → if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
35 simpll 766 . . 3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝑁 ∈ ω)
36 elex 3488 . . . 4 (𝑋 ∈ (V × 𝑈) → 𝑋 ∈ V)
3736adantl 481 . . 3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝑋 ∈ V)
38 opex 5460 . . . 4 𝑁, (1st𝑋)⟩ ∈ V
3938a1i 11 . . 3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ ∈ V)
402, 34, 35, 37, 39ovmpod 7567 . 2 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → (𝑁𝐹𝑋) = ⟨ 𝑁, (1st𝑋)⟩)
41 df-ov 7417 . 2 (𝑁𝐹𝑋) = (𝐹‘⟨𝑁, 𝑋⟩)
4240, 41eqtr3di 2782 1 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ = (𝐹‘⟨𝑁, 𝑋⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1534  wcel 2099  wne 2935  Vcvv 3469  wss 3944  wpss 3945  c0 4318  ifcif 4524  cop 4630   cuni 4903   × cxp 5670  suc csuc 6365  cfv 6542  (class class class)co 7414  cmpo 7416  ωcom 7864  1st c1st 7985  1oc1o 8473  2oc2o 8474
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2164  ax-ext 2698  ax-sep 5293  ax-nul 5300  ax-pr 5423  ax-un 7734
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3or 1086  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2529  df-eu 2558  df-clab 2705  df-cleq 2719  df-clel 2805  df-nfc 2880  df-ne 2936  df-ral 3057  df-rex 3066  df-rab 3428  df-v 3471  df-sbc 3775  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-pss 3963  df-nul 4319  df-if 4525  df-pw 4600  df-sn 4625  df-pr 4627  df-op 4631  df-uni 4904  df-br 5143  df-opab 5205  df-tr 5260  df-id 5570  df-eprel 5576  df-po 5584  df-so 5585  df-fr 5627  df-we 5629  df-xp 5678  df-rel 5679  df-cnv 5680  df-co 5681  df-dm 5682  df-ord 6366  df-on 6367  df-suc 6369  df-iota 6494  df-fun 6544  df-fv 6550  df-ov 7417  df-oprab 7418  df-mpo 7419  df-1o 8480  df-2o 8481
This theorem is referenced by:  finxpreclem4  36809
  Copyright terms: Public domain W3C validator