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

Proof of Theorem finxpreclem3
StepHypRef Expression
1 df-ov 6880 . 2 (𝑁𝐹𝑋) = (𝐹‘⟨𝑁, 𝑋⟩)
2 finxpreclem3.1 . . . 4 𝐹 = (𝑛 ∈ ω, 𝑥 ∈ V ↦ if((𝑛 = 1𝑜𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)))
32a1i 11 . . 3 (((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝐹 = (𝑛 ∈ ω, 𝑥 ∈ V ↦ if((𝑛 = 1𝑜𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩))))
4 eqeq1 2817 . . . . . . 7 (𝑛 = 𝑁 → (𝑛 = 1𝑜𝑁 = 1𝑜))
5 eleq1 2880 . . . . . . 7 (𝑥 = 𝑋 → (𝑥𝑈𝑋𝑈))
64, 5bi2anan9 622 . . . . . 6 ((𝑛 = 𝑁𝑥 = 𝑋) → ((𝑛 = 1𝑜𝑥𝑈) ↔ (𝑁 = 1𝑜𝑋𝑈)))
7 eleq1 2880 . . . . . . . 8 (𝑥 = 𝑋 → (𝑥 ∈ (V × 𝑈) ↔ 𝑋 ∈ (V × 𝑈)))
87adantl 469 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → (𝑥 ∈ (V × 𝑈) ↔ 𝑋 ∈ (V × 𝑈)))
9 unieq 4645 . . . . . . . . 9 (𝑛 = 𝑁 𝑛 = 𝑁)
109adantr 468 . . . . . . . 8 ((𝑛 = 𝑁𝑥 = 𝑋) → 𝑛 = 𝑁)
11 fveq2 6411 . . . . . . . . 9 (𝑥 = 𝑋 → (1st𝑥) = (1st𝑋))
1211adantl 469 . . . . . . . 8 ((𝑛 = 𝑁𝑥 = 𝑋) → (1st𝑥) = (1st𝑋))
1310, 12opeq12d 4610 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → ⟨ 𝑛, (1st𝑥)⟩ = ⟨ 𝑁, (1st𝑋)⟩)
14 opeq12 4604 . . . . . . 7 ((𝑛 = 𝑁𝑥 = 𝑋) → ⟨𝑛, 𝑥⟩ = ⟨𝑁, 𝑋⟩)
158, 13, 14ifbieq12d 4313 . . . . . 6 ((𝑛 = 𝑁𝑥 = 𝑋) → if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩) = if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩))
166, 15ifbieq2d 4311 . . . . 5 ((𝑛 = 𝑁𝑥 = 𝑋) → if((𝑛 = 1𝑜𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = if((𝑁 = 1𝑜𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)))
17 sssucid 6021 . . . . . . . . . . . . 13 1𝑜 ⊆ suc 1𝑜
18 df-2o 7800 . . . . . . . . . . . . 13 2𝑜 = suc 1𝑜
1917, 18sseqtr4i 3842 . . . . . . . . . . . 12 1𝑜 ⊆ 2𝑜
20 1on 7806 . . . . . . . . . . . . . 14 1𝑜 ∈ On
2118, 20sucneqoni 33532 . . . . . . . . . . . . 13 2𝑜 ≠ 1𝑜
2221necomi 3039 . . . . . . . . . . . 12 1𝑜 ≠ 2𝑜
23 df-pss 3792 . . . . . . . . . . . 12 (1𝑜 ⊊ 2𝑜 ↔ (1𝑜 ⊆ 2𝑜 ∧ 1𝑜 ≠ 2𝑜))
2419, 22, 23mpbir2an 693 . . . . . . . . . . 11 1𝑜 ⊊ 2𝑜
25 ssnpss 3915 . . . . . . . . . . 11 (2𝑜 ⊆ 1𝑜 → ¬ 1𝑜 ⊊ 2𝑜)
2624, 25mt2 191 . . . . . . . . . 10 ¬ 2𝑜 ⊆ 1𝑜
27 sseq2 3831 . . . . . . . . . 10 (𝑁 = 1𝑜 → (2𝑜𝑁 ↔ 2𝑜 ⊆ 1𝑜))
2826, 27mtbiri 318 . . . . . . . . 9 (𝑁 = 1𝑜 → ¬ 2𝑜𝑁)
2928con2i 136 . . . . . . . 8 (2𝑜𝑁 → ¬ 𝑁 = 1𝑜)
3029intnanrd 479 . . . . . . 7 (2𝑜𝑁 → ¬ (𝑁 = 1𝑜𝑋𝑈))
3130iffalsed 4297 . . . . . 6 (2𝑜𝑁 → if((𝑁 = 1𝑜𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)) = if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩))
32 iftrue 4292 . . . . . 6 (𝑋 ∈ (V × 𝑈) → if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩) = ⟨ 𝑁, (1st𝑋)⟩)
3331, 32sylan9eq 2867 . . . . 5 ((2𝑜𝑁𝑋 ∈ (V × 𝑈)) → if((𝑁 = 1𝑜𝑋𝑈), ∅, if(𝑋 ∈ (V × 𝑈), ⟨ 𝑁, (1st𝑋)⟩, ⟨𝑁, 𝑋⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
3416, 33sylan9eqr 2869 . . . 4 (((2𝑜𝑁𝑋 ∈ (V × 𝑈)) ∧ (𝑛 = 𝑁𝑥 = 𝑋)) → if((𝑛 = 1𝑜𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
3534adantlll 700 . . 3 ((((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) ∧ (𝑛 = 𝑁𝑥 = 𝑋)) → if((𝑛 = 1𝑜𝑥𝑈), ∅, if(𝑥 ∈ (V × 𝑈), ⟨ 𝑛, (1st𝑥)⟩, ⟨𝑛, 𝑥⟩)) = ⟨ 𝑁, (1st𝑋)⟩)
36 simpll 774 . . 3 (((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝑁 ∈ ω)
37 elex 3413 . . . 4 (𝑋 ∈ (V × 𝑈) → 𝑋 ∈ V)
3837adantl 469 . . 3 (((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → 𝑋 ∈ V)
39 opex 5129 . . . 4 𝑁, (1st𝑋)⟩ ∈ V
4039a1i 11 . . 3 (((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ ∈ V)
413, 35, 36, 38, 40ovmpt2d 7021 . 2 (((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → (𝑁𝐹𝑋) = ⟨ 𝑁, (1st𝑋)⟩)
421, 41syl5reqr 2862 1 (((𝑁 ∈ ω ∧ 2𝑜𝑁) ∧ 𝑋 ∈ (V × 𝑈)) → ⟨ 𝑁, (1st𝑋)⟩ = (𝐹‘⟨𝑁, 𝑋⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 197  wa 384   = wceq 1637  wcel 2157  wne 2985  Vcvv 3398  wss 3776  wpss 3777  c0 4123  ifcif 4286  cop 4383   cuni 4637   × cxp 5316  suc csuc 5945  cfv 6104  (class class class)co 6877  cmpt2 6879  ωcom 7298  1st c1st 7399  1𝑜c1o 7792  2𝑜c2o 7793
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1877  ax-4 1894  ax-5 2001  ax-6 2069  ax-7 2105  ax-8 2159  ax-9 2166  ax-10 2186  ax-11 2202  ax-12 2215  ax-13 2422  ax-ext 2791  ax-sep 4982  ax-nul 4990  ax-pr 5103  ax-un 7182
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 866  df-3or 1101  df-3an 1102  df-tru 1641  df-ex 1860  df-nf 1864  df-sb 2062  df-mo 2635  df-eu 2638  df-clab 2800  df-cleq 2806  df-clel 2809  df-nfc 2944  df-ne 2986  df-ral 3108  df-rex 3109  df-rab 3112  df-v 3400  df-sbc 3641  df-dif 3779  df-un 3781  df-in 3783  df-ss 3790  df-pss 3792  df-nul 4124  df-if 4287  df-pw 4360  df-sn 4378  df-pr 4380  df-tp 4382  df-op 4384  df-uni 4638  df-br 4852  df-opab 4914  df-tr 4954  df-id 5226  df-eprel 5231  df-po 5239  df-so 5240  df-fr 5277  df-we 5279  df-xp 5324  df-rel 5325  df-cnv 5326  df-co 5327  df-dm 5328  df-ord 5946  df-on 5947  df-suc 5949  df-iota 6067  df-fun 6106  df-fv 6112  df-ov 6880  df-oprab 6881  df-mpt2 6882  df-1o 7799  df-2o 7800
This theorem is referenced by:  finxpreclem4  33549
  Copyright terms: Public domain W3C validator