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

Theorem iseqeq2 9379
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 915 . . . . . . 7 (( + = 𝑄𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → + = 𝑄)
21oveqd 5557 . . . . . 6 (( + = 𝑄𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦𝑄(𝐹‘(𝑥 + 1))))
32opeq2d 3584 . . . . 5 (( + = 𝑄𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩)
43mpt2eq3dva 5597 . . . 4 ( + = 𝑄 → (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩))
5 freceq1 6010 . . . 4 ((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩) → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
64, 5syl 14 . . 3 ( + = 𝑄 → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
76rneqd 4591 . 2 ( + = 𝑄 → ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
8 df-iseq 9376 . 2 seq𝑀( + , 𝐹, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
9 df-iseq 9376 . 2 seq𝑀(𝑄, 𝐹, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦𝑄(𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
107, 8, 93eqtr4g 2113 1 ( + = 𝑄 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀(𝑄, 𝐹, 𝑆))
Colors of variables: wff set class
Syntax hints:  wi 4  w3a 896   = wceq 1259  wcel 1409  cop 3406  ran crn 4374  cfv 4930  (class class class)co 5540  cmpt2 5542  freccfrec 6008  1c1 6948   + caddc 6950  cuz 8569  seqcseq 9375
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 103  ax-ia2 104  ax-ia3 105  ax-io 640  ax-5 1352  ax-7 1353  ax-gen 1354  ax-ie1 1398  ax-ie2 1399  ax-8 1411  ax-10 1412  ax-11 1413  ax-i12 1414  ax-bndl 1415  ax-4 1416  ax-17 1435  ax-i9 1439  ax-ial 1443  ax-i5r 1444  ax-ext 2038
This theorem depends on definitions:  df-bi 114  df-3an 898  df-tru 1262  df-nf 1366  df-sb 1662  df-clab 2043  df-cleq 2049  df-clel 2052  df-nfc 2183  df-ral 2328  df-rex 2329  df-v 2576  df-un 2950  df-in 2952  df-ss 2959  df-sn 3409  df-pr 3410  df-op 3412  df-uni 3609  df-br 3793  df-opab 3847  df-mpt 3848  df-cnv 4381  df-dm 4383  df-rn 4384  df-res 4385  df-iota 4895  df-fv 4938  df-ov 5543  df-oprab 5544  df-mpt2 5545  df-recs 5951  df-frec 6009  df-iseq 9376
This theorem is referenced by:  resqrex  9853
  Copyright terms: Public domain W3C validator