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 37359
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 2744 . . . . . . 7 (𝑛 = 𝑁 → (𝑛 = 1o𝑁 = 1o))
4 eleq1 2832 . . . . . . 7 (𝑥 = 𝑋 → (𝑥𝑈𝑋𝑈))
53, 4bi2anan9 637 . . . . . 6 ((𝑛 = 𝑁𝑥 = 𝑋) → ((𝑛 = 1o𝑥𝑈) ↔ (𝑁 = 1o𝑋𝑈)))
6 eleq1 2832 . . . . . . . 8 (𝑥 = 𝑋 → (𝑥 ∈ (V × 𝑈) ↔ 𝑋 ∈ (V × 𝑈)))
76adantl 481 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → (𝑥 ∈ (V × 𝑈) ↔ 𝑋 ∈ (V × 𝑈)))
8 unieq 4942 . . . . . . . . 9 (𝑛 = 𝑁 𝑛 = 𝑁)
98adantr 480 . . . . . . . 8 ((𝑛 = 𝑁𝑥 = 𝑋) → 𝑛 = 𝑁)
10 fveq2 6920 . . . . . . . . 9 (𝑥 = 𝑋 → (1st𝑥) = (1st𝑋))
1110adantl 481 . . . . . . . 8 ((𝑛 = 𝑁𝑥 = 𝑋) → (1st𝑥) = (1st𝑋))
129, 11opeq12d 4905 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → ⟨ 𝑛, (1st𝑥)⟩ = ⟨ 𝑁, (1st𝑋)⟩)
13 opeq12 4899 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → ⟨𝑛, 𝑥⟩ = ⟨𝑁, 𝑋⟩)
147, 12, 13ifbieq12d 4576 . . . . . 6 ((𝑛 = 𝑁𝑥 = 𝑋) → if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩) = if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩))
155, 14ifbieq2d 4574 . . . . 5 ((𝑛 = 𝑁𝑥 = 𝑋) → if((𝑛 = 1o𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = if((𝑁 = 1o𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)))
16 sssucid 6475 . . . . . . . . . . . . 13 1o ⊆ suc 1o
17 df-2o 8523 . . . . . . . . . . . . 13 2o = suc 1o
1816, 17sseqtrri 4046 . . . . . . . . . . . 12 1o ⊆ 2o
19 1on 8534 . . . . . . . . . . . . . 14 1o ∈ On
2017, 19sucneqoni 37332 . . . . . . . . . . . . 13 2o ≠ 1o
2120necomi 3001 . . . . . . . . . . . 12 1o ≠ 2o
22 df-pss 3996 . . . . . . . . . . . 12 (1o ⊊ 2o ↔ (1o ⊆ 2o ∧ 1o ≠ 2o))
2318, 21, 22mpbir2an 710 . . . . . . . . . . 11 1o ⊊ 2o
24 ssnpss 4129 . . . . . . . . . . 11 (2o ⊆ 1o → ¬ 1o ⊊ 2o)
2523, 24mt2 200 . . . . . . . . . 10 ¬ 2o ⊆ 1o
26 sseq2 4035 . . . . . . . . . 10 (𝑁 = 1o → (2o𝑁 ↔ 2o ⊆ 1o))
2725, 26mtbiri 327 . . . . . . . . 9 (𝑁 = 1o → ¬ 2o𝑁)
2827con2i 139 . . . . . . . 8 (2o𝑁 → ¬ 𝑁 = 1o)
2928intnanrd 489 . . . . . . 7 (2o𝑁 → ¬ (𝑁 = 1o𝑋𝑈))
3029iffalsed 4559 . . . . . 6 (2o𝑁 → if((𝑁 = 1o𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)) = if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩))
31 iftrue 4554 . . . . . 6 (𝑋 ∈ (V × 𝑈) → if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩) = ⟨ 𝑁, (1st𝑋)⟩)
3230, 31sylan9eq 2800 . . . . 5 ((2o𝑁𝑋 ∈ (V × 𝑈)) → if((𝑁 = 1o𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
3315, 32sylan9eqr 2802 . . . 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 3509 . . . 4 (𝑋 ∈ (V × 𝑈) → 𝑋 ∈ V)
3736adantl 481 . . 3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝑋 ∈ V)
38 opex 5484 . . . 4 𝑁, (1st𝑋)⟩ ∈ V
3938a1i 11 . . 3 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ ∈ V)
402, 34, 35, 37, 39ovmpod 7602 . 2 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → (𝑁𝐹𝑋) = ⟨ 𝑁, (1st𝑋)⟩)
41 df-ov 7451 . 2 (𝑁𝐹𝑋) = (𝐹‘⟨𝑁, 𝑋⟩)
4240, 41eqtr3di 2795 1 (((𝑁 ∈ ω ∧ 2o𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ = (𝐹‘⟨𝑁, 𝑋⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1537  wcel 2108  wne 2946  Vcvv 3488  wss 3976  wpss 3977  c0 4352  ifcif 4548  cop 4654   cuni 4931   × cxp 5698  suc csuc 6397  cfv 6573  (class class class)co 7448  cmpo 7450  ωcom 7903  1st c1st 8028  1oc1o 8515  2oc2o 8516
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447  ax-un 7770
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3or 1088  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ne 2947  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-sbc 3805  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-pss 3996  df-nul 4353  df-if 4549  df-pw 4624  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-tr 5284  df-id 5593  df-eprel 5599  df-po 5607  df-so 5608  df-fr 5652  df-we 5654  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-ord 6398  df-on 6399  df-suc 6401  df-iota 6525  df-fun 6575  df-fv 6581  df-ov 7451  df-oprab 7452  df-mpo 7453  df-1o 8522  df-2o 8523
This theorem is referenced by:  finxpreclem4  37360
  Copyright terms: Public domain W3C validator