ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  iseqeq2 GIF version

Theorem iseqeq2 9742
Description: Equality theorem for the sequence builder operation. (Contributed by Jim Kingdon, 30-May-2020.)
Assertion
Ref Expression
iseqeq2 ( + = 𝑄 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀(𝑄, 𝐹, 𝑆))

Proof of Theorem iseqeq2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 939 . . . . . . 7 (( + = 𝑄𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → + = 𝑄)
21oveqd 5606 . . . . . 6 (( + = 𝑄𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦𝑄(𝐹‘(𝑥 + 1))))
32opeq2d 3603 . . . . 5 (( + = 𝑄𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩)
43mpt2eq3dva 5646 . . . 4 ( + = 𝑄 → (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩))
5 freceq1 6087 . . . 4 ((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩) → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
64, 5syl 14 . . 3 ( + = 𝑄 → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
76rneqd 4620 . 2 ( + = 𝑄 → ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
8 df-iseq 9739 . 2 seq𝑀( + , 𝐹, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
9 df-iseq 9739 . 2 seq𝑀(𝑄, 𝐹, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
107, 8, 93eqtr4g 2140 1 ( + = 𝑄 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀(𝑄, 𝐹, 𝑆))
Colors of variables: wff set class
Syntax hints:  wi 4  w3a 920   = wceq 1285  wcel 1434  cop 3425  ran crn 4400  cfv 4967  (class class class)co 5589  cmpt2 5591  freccfrec 6085  1c1 7252   + caddc 7254  cuz 8912  seqcseq 9738
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2065
This theorem depends on definitions:  df-bi 115  df-3an 922  df-tru 1288  df-nf 1391  df-sb 1688  df-clab 2070  df-cleq 2076  df-clel 2079  df-nfc 2212  df-ral 2358  df-rex 2359  df-v 2614  df-un 2988  df-in 2990  df-ss 2997  df-sn 3428  df-pr 3429  df-op 3431  df-uni 3628  df-br 3812  df-opab 3866  df-mpt 3867  df-cnv 4407  df-dm 4409  df-rn 4410  df-res 4411  df-iota 4932  df-fv 4975  df-ov 5592  df-oprab 5593  df-mpt2 5594  df-recs 6000  df-frec 6086  df-iseq 9739
This theorem is referenced by:  resqrex  10284
  Copyright terms: Public domain W3C validator