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

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

Proof of Theorem iseqeq3
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 938 . . . . . . . 8 ((𝐹 = 𝐺𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → 𝐹 = 𝐺)
21fveq1d 5200 . . . . . . 7 ((𝐹 = 𝐺𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → (𝐹‘(𝑥 + 1)) = (𝐺‘(𝑥 + 1)))
32oveq2d 5548 . . . . . 6 ((𝐹 = 𝐺𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → (𝑦 + (𝐹‘(𝑥 + 1))) = (𝑦 + (𝐺‘(𝑥 + 1))))
43opeq2d 3577 . . . . 5 ((𝐹 = 𝐺𝑥 ∈ (ℤ𝑀) ∧ 𝑦𝑆) → ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩ = ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩)
54mpt2eq3dva 5589 . . . 4 (𝐹 = 𝐺 → (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩))
6 fveq1 5197 . . . . 5 (𝐹 = 𝐺 → (𝐹𝑀) = (𝐺𝑀))
76opeq2d 3577 . . . 4 (𝐹 = 𝐺 → ⟨𝑀, (𝐹𝑀)⟩ = ⟨𝑀, (𝐺𝑀)⟩)
8 freceq1 6002 . . . . 5 ((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩) → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩))
9 freceq2 6003 . . . . 5 (⟨𝑀, (𝐹𝑀)⟩ = ⟨𝑀, (𝐺𝑀)⟩ → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐺𝑀)⟩))
108, 9sylan9eq 2133 . . . 4 (((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩) = (𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩) ∧ ⟨𝑀, (𝐹𝑀)⟩ = ⟨𝑀, (𝐺𝑀)⟩) → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐺𝑀)⟩))
115, 7, 10syl2anc 403 . . 3 (𝐹 = 𝐺 → frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐺𝑀)⟩))
1211rneqd 4581 . 2 (𝐹 = 𝐺 → ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐺𝑀)⟩))
13 df-iseq 9432 . 2 seq𝑀( + , 𝐹, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐹‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐹𝑀)⟩)
14 df-iseq 9432 . 2 seq𝑀( + , 𝐺, 𝑆) = ran frec((𝑥 ∈ (ℤ𝑀), 𝑦𝑆 ↦ ⟨(𝑥 + 1), (𝑦 + (𝐺‘(𝑥 + 1)))⟩), ⟨𝑀, (𝐺𝑀)⟩)
1512, 13, 143eqtr4g 2138 1 (𝐹 = 𝐺 → seq𝑀( + , 𝐹, 𝑆) = seq𝑀( + , 𝐺, 𝑆))
Colors of variables: wff set class
Syntax hints:  wi 4  w3a 919   = wceq 1284  wcel 1433  cop 3401  ran crn 4364  cfv 4922  (class class class)co 5532  cmpt2 5534  freccfrec 6000  1c1 6982   + caddc 6984  cuz 8619  seqcseq 9431
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 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-v 2603  df-un 2977  df-in 2979  df-ss 2986  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-br 3786  df-opab 3840  df-mpt 3841  df-cnv 4371  df-dm 4373  df-rn 4374  df-res 4375  df-iota 4887  df-fv 4930  df-ov 5535  df-oprab 5536  df-mpt2 5537  df-recs 5943  df-frec 6001  df-iseq 9432
This theorem is referenced by:  expival  9478  sumeq1  10192
  Copyright terms: Public domain W3C validator