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

Theorem seqomlem4 8091
Description: Lemma for seqω. (Contributed by Stefan O'Rear, 1-Nov-2014.) (Revised by Mario Carneiro, 23-Jun-2015.)
Hypothesis
Ref Expression
seqomlem.a 𝑄 = rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩)
Assertion
Ref Expression
seqomlem4 (𝐴 ∈ ω → ((𝑄 “ ω)‘suc 𝐴) = (𝐴𝐹((𝑄 “ ω)‘𝐴)))
Distinct variable groups:   𝑄,𝑖,𝑣   𝐴,𝑖,𝑣   𝑖,𝐹,𝑣
Allowed substitution hints:   𝐼(𝑣,𝑖)

Proof of Theorem seqomlem4
StepHypRef Expression
1 peano2 7604 . . . . . . 7 (𝐴 ∈ ω → suc 𝐴 ∈ ω)
21fvresd 6692 . . . . . 6 (𝐴 ∈ ω → ((𝑄 ↾ ω)‘suc 𝐴) = (𝑄‘suc 𝐴))
3 frsuc 8074 . . . . . . . 8 (𝐴 ∈ ω → ((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘suc 𝐴) = ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘𝐴)))
41fvresd 6692 . . . . . . . . 9 (𝐴 ∈ ω → ((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘suc 𝐴) = (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩)‘suc 𝐴))
5 seqomlem.a . . . . . . . . . 10 𝑄 = rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩)
65fveq1i 6673 . . . . . . . . 9 (𝑄‘suc 𝐴) = (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩)‘suc 𝐴)
74, 6syl6eqr 2876 . . . . . . . 8 (𝐴 ∈ ω → ((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘suc 𝐴) = (𝑄‘suc 𝐴))
8 fvres 6691 . . . . . . . . . 10 (𝐴 ∈ ω → ((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘𝐴) = (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩)‘𝐴))
95fveq1i 6673 . . . . . . . . . 10 (𝑄𝐴) = (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩)‘𝐴)
108, 9syl6eqr 2876 . . . . . . . . 9 (𝐴 ∈ ω → ((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘𝐴) = (𝑄𝐴))
1110fveq2d 6676 . . . . . . . 8 (𝐴 ∈ ω → ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘((rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)‘𝐴)) = ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘(𝑄𝐴)))
123, 7, 113eqtr3d 2866 . . . . . . 7 (𝐴 ∈ ω → (𝑄‘suc 𝐴) = ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘(𝑄𝐴)))
135seqomlem1 8088 . . . . . . . 8 (𝐴 ∈ ω → (𝑄𝐴) = ⟨𝐴, (2nd ‘(𝑄𝐴))⟩)
1413fveq2d 6676 . . . . . . 7 (𝐴 ∈ ω → ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘(𝑄𝐴)) = ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘⟨𝐴, (2nd ‘(𝑄𝐴))⟩))
15 df-ov 7161 . . . . . . . 8 (𝐴(𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)(2nd ‘(𝑄𝐴))) = ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘⟨𝐴, (2nd ‘(𝑄𝐴))⟩)
16 fvex 6685 . . . . . . . . . 10 (2nd ‘(𝑄𝐴)) ∈ V
17 suceq 6258 . . . . . . . . . . . 12 (𝑖 = 𝐴 → suc 𝑖 = suc 𝐴)
18 oveq1 7165 . . . . . . . . . . . 12 (𝑖 = 𝐴 → (𝑖𝐹𝑣) = (𝐴𝐹𝑣))
1917, 18opeq12d 4813 . . . . . . . . . . 11 (𝑖 = 𝐴 → ⟨suc 𝑖, (𝑖𝐹𝑣)⟩ = ⟨suc 𝐴, (𝐴𝐹𝑣)⟩)
20 oveq2 7166 . . . . . . . . . . . 12 (𝑣 = (2nd ‘(𝑄𝐴)) → (𝐴𝐹𝑣) = (𝐴𝐹(2nd ‘(𝑄𝐴))))
2120opeq2d 4812 . . . . . . . . . . 11 (𝑣 = (2nd ‘(𝑄𝐴)) → ⟨suc 𝐴, (𝐴𝐹𝑣)⟩ = ⟨suc 𝐴, (𝐴𝐹(2nd ‘(𝑄𝐴)))⟩)
22 eqid 2823 . . . . . . . . . . 11 (𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩) = (𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)
23 opex 5358 . . . . . . . . . . 11 ⟨suc 𝐴, (𝐴𝐹(2nd ‘(𝑄𝐴)))⟩ ∈ V
2419, 21, 22, 23ovmpo 7312 . . . . . . . . . 10 ((𝐴 ∈ ω ∧ (2nd ‘(𝑄𝐴)) ∈ V) → (𝐴(𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)(2nd ‘(𝑄𝐴))) = ⟨suc 𝐴, (𝐴𝐹(2nd ‘(𝑄𝐴)))⟩)
2516, 24mpan2 689 . . . . . . . . 9 (𝐴 ∈ ω → (𝐴(𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)(2nd ‘(𝑄𝐴))) = ⟨suc 𝐴, (𝐴𝐹(2nd ‘(𝑄𝐴)))⟩)
26 fvres 6691 . . . . . . . . . . . . . . . . 17 (𝐴 ∈ ω → ((𝑄 ↾ ω)‘𝐴) = (𝑄𝐴))
2726, 13eqtrd 2858 . . . . . . . . . . . . . . . 16 (𝐴 ∈ ω → ((𝑄 ↾ ω)‘𝐴) = ⟨𝐴, (2nd ‘(𝑄𝐴))⟩)
28 frfnom 8072 . . . . . . . . . . . . . . . . . 18 (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω) Fn ω
295reseq1i 5851 . . . . . . . . . . . . . . . . . . 19 (𝑄 ↾ ω) = (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω)
3029fneq1i 6452 . . . . . . . . . . . . . . . . . 18 ((𝑄 ↾ ω) Fn ω ↔ (rec((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩), ⟨∅, ( I ‘𝐼)⟩) ↾ ω) Fn ω)
3128, 30mpbir 233 . . . . . . . . . . . . . . . . 17 (𝑄 ↾ ω) Fn ω
32 fnfvelrn 6850 . . . . . . . . . . . . . . . . 17 (((𝑄 ↾ ω) Fn ω ∧ 𝐴 ∈ ω) → ((𝑄 ↾ ω)‘𝐴) ∈ ran (𝑄 ↾ ω))
3331, 32mpan 688 . . . . . . . . . . . . . . . 16 (𝐴 ∈ ω → ((𝑄 ↾ ω)‘𝐴) ∈ ran (𝑄 ↾ ω))
3427, 33eqeltrrd 2916 . . . . . . . . . . . . . . 15 (𝐴 ∈ ω → ⟨𝐴, (2nd ‘(𝑄𝐴))⟩ ∈ ran (𝑄 ↾ ω))
35 df-ima 5570 . . . . . . . . . . . . . . 15 (𝑄 “ ω) = ran (𝑄 ↾ ω)
3634, 35eleqtrrdi 2926 . . . . . . . . . . . . . 14 (𝐴 ∈ ω → ⟨𝐴, (2nd ‘(𝑄𝐴))⟩ ∈ (𝑄 “ ω))
37 df-br 5069 . . . . . . . . . . . . . 14 (𝐴(𝑄 “ ω)(2nd ‘(𝑄𝐴)) ↔ ⟨𝐴, (2nd ‘(𝑄𝐴))⟩ ∈ (𝑄 “ ω))
3836, 37sylibr 236 . . . . . . . . . . . . 13 (𝐴 ∈ ω → 𝐴(𝑄 “ ω)(2nd ‘(𝑄𝐴)))
395seqomlem2 8089 . . . . . . . . . . . . . 14 (𝑄 “ ω) Fn ω
40 fnbrfvb 6720 . . . . . . . . . . . . . 14 (((𝑄 “ ω) Fn ω ∧ 𝐴 ∈ ω) → (((𝑄 “ ω)‘𝐴) = (2nd ‘(𝑄𝐴)) ↔ 𝐴(𝑄 “ ω)(2nd ‘(𝑄𝐴))))
4139, 40mpan 688 . . . . . . . . . . . . 13 (𝐴 ∈ ω → (((𝑄 “ ω)‘𝐴) = (2nd ‘(𝑄𝐴)) ↔ 𝐴(𝑄 “ ω)(2nd ‘(𝑄𝐴))))
4238, 41mpbird 259 . . . . . . . . . . . 12 (𝐴 ∈ ω → ((𝑄 “ ω)‘𝐴) = (2nd ‘(𝑄𝐴)))
4342eqcomd 2829 . . . . . . . . . . 11 (𝐴 ∈ ω → (2nd ‘(𝑄𝐴)) = ((𝑄 “ ω)‘𝐴))
4443oveq2d 7174 . . . . . . . . . 10 (𝐴 ∈ ω → (𝐴𝐹(2nd ‘(𝑄𝐴))) = (𝐴𝐹((𝑄 “ ω)‘𝐴)))
4544opeq2d 4812 . . . . . . . . 9 (𝐴 ∈ ω → ⟨suc 𝐴, (𝐴𝐹(2nd ‘(𝑄𝐴)))⟩ = ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩)
4625, 45eqtrd 2858 . . . . . . . 8 (𝐴 ∈ ω → (𝐴(𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)(2nd ‘(𝑄𝐴))) = ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩)
4715, 46syl5eqr 2872 . . . . . . 7 (𝐴 ∈ ω → ((𝑖 ∈ ω, 𝑣 ∈ V ↦ ⟨suc 𝑖, (𝑖𝐹𝑣)⟩)‘⟨𝐴, (2nd ‘(𝑄𝐴))⟩) = ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩)
4812, 14, 473eqtrd 2862 . . . . . 6 (𝐴 ∈ ω → (𝑄‘suc 𝐴) = ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩)
492, 48eqtrd 2858 . . . . 5 (𝐴 ∈ ω → ((𝑄 ↾ ω)‘suc 𝐴) = ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩)
50 fnfvelrn 6850 . . . . . 6 (((𝑄 ↾ ω) Fn ω ∧ suc 𝐴 ∈ ω) → ((𝑄 ↾ ω)‘suc 𝐴) ∈ ran (𝑄 ↾ ω))
5131, 1, 50sylancr 589 . . . . 5 (𝐴 ∈ ω → ((𝑄 ↾ ω)‘suc 𝐴) ∈ ran (𝑄 ↾ ω))
5249, 51eqeltrrd 2916 . . . 4 (𝐴 ∈ ω → ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩ ∈ ran (𝑄 ↾ ω))
5352, 35eleqtrrdi 2926 . . 3 (𝐴 ∈ ω → ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩ ∈ (𝑄 “ ω))
54 df-br 5069 . . 3 (suc 𝐴(𝑄 “ ω)(𝐴𝐹((𝑄 “ ω)‘𝐴)) ↔ ⟨suc 𝐴, (𝐴𝐹((𝑄 “ ω)‘𝐴))⟩ ∈ (𝑄 “ ω))
5553, 54sylibr 236 . 2 (𝐴 ∈ ω → suc 𝐴(𝑄 “ ω)(𝐴𝐹((𝑄 “ ω)‘𝐴)))
56 fnbrfvb 6720 . . 3 (((𝑄 “ ω) Fn ω ∧ suc 𝐴 ∈ ω) → (((𝑄 “ ω)‘suc 𝐴) = (𝐴𝐹((𝑄 “ ω)‘𝐴)) ↔ suc 𝐴(𝑄 “ ω)(𝐴𝐹((𝑄 “ ω)‘𝐴))))
5739, 1, 56sylancr 589 . 2 (𝐴 ∈ ω → (((𝑄 “ ω)‘suc 𝐴) = (𝐴𝐹((𝑄 “ ω)‘𝐴)) ↔ suc 𝐴(𝑄 “ ω)(𝐴𝐹((𝑄 “ ω)‘𝐴))))
5855, 57mpbird 259 1 (𝐴 ∈ ω → ((𝑄 “ ω)‘suc 𝐴) = (𝐴𝐹((𝑄 “ ω)‘𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1537  wcel 2114  Vcvv 3496  c0 4293  cop 4575   class class class wbr 5068   I cid 5461  ran crn 5558  cres 5559  cima 5560  suc csuc 6195   Fn wfn 6352  cfv 6357  (class class class)co 7158  cmpo 7160  ωcom 7582  2nd c2nd 7690  reccrdg 8047
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-om 7583  df-2nd 7692  df-wrecs 7949  df-recs 8010  df-rdg 8048
This theorem is referenced by:  seqomsuc  8095
  Copyright terms: Public domain W3C validator