Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ofrco Structured version   Visualization version   GIF version

Theorem ofrco 33304
Description: Function relation between function compositions. (Contributed by Thierry Arnoux, 15-Jan-2026.)
Hypotheses
Ref Expression
ofrco.1 (𝜑 → 𝐹 Fn 𝐴)
ofrco.2 (𝜑 → 𝐺 Fn 𝐴)
ofrco.3 (𝜑 → 𝐻:𝐶⟶𝐴)
ofrco.4 (𝜑 → 𝐴 ∈ 𝑉)
ofrco.5 (𝜑 → 𝐶 ∈ 𝑊)
ofrco.6 (𝜑 → 𝐹 ∘r 𝑅𝐺)
Assertion
Ref Expression
ofrco (𝜑 → (𝐹 ∘ 𝐻) ∘r 𝑅(𝐺 ∘ 𝐻))

Proof of Theorem ofrco
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 6915 . . . . 5 (𝑦 = (𝐻‘𝑥) → (𝐹‘𝑦) = (𝐹‘(𝐻‘𝑥)))
2 fveq2 6915 . . . . 5 (𝑦 = (𝐻‘𝑥) → (𝐺‘𝑦) = (𝐺‘(𝐻‘𝑥)))
31, 2breq12d 5120 . . . 4 (𝑦 = (𝐻‘𝑥) → ((𝐹‘𝑦)𝑅(𝐺‘𝑦) ↔ (𝐹‘(𝐻‘𝑥))𝑅(𝐺‘(𝐻‘𝑥))))
4 ofrco.6 . . . . . 6 (𝜑 → 𝐹 ∘r 𝑅𝐺)
5 ofrco.1 . . . . . . 7 (𝜑 → 𝐹 Fn 𝐴)
6 ofrco.2 . . . . . . 7 (𝜑 → 𝐺 Fn 𝐴)
7 ofrco.4 . . . . . . 7 (𝜑 → 𝐴 ∈ 𝑉)
8 inidm 4125 . . . . . . 7 (𝐴 ∩ 𝐴) = 𝐴
9 eqidd 2767 . . . . . . 7 ((𝜑 ∧ 𝑦 ∈ 𝐴) → (𝐹‘𝑦) = (𝐹‘𝑦))
10 eqidd 2767 . . . . . . 7 ((𝜑 ∧ 𝑦 ∈ 𝐴) → (𝐺‘𝑦) = (𝐺‘𝑦))
115, 6, 7, 7, 8, 9, 10ofrfval 7734 . . . . . 6 (𝜑 → (𝐹 ∘r 𝑅𝐺 ↔ ∀𝑦 ∈ 𝐴 (𝐹‘𝑦)𝑅(𝐺‘𝑦)))
124, 11mpbid 235 . . . . 5 (𝜑 → ∀𝑦 ∈ 𝐴 (𝐹‘𝑦)𝑅(𝐺‘𝑦))
1312adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ∀𝑦 ∈ 𝐴 (𝐹‘𝑦)𝑅(𝐺‘𝑦))
14 ofrco.3 . . . . 5 (𝜑 → 𝐻:𝐶⟶𝐴)
1514ffvelcdmda 7115 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶) → (𝐻‘𝑥) ∈ 𝐴)
163, 13, 15rspcdva 3580 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐶) → (𝐹‘(𝐻‘𝑥))𝑅(𝐺‘(𝐻‘𝑥)))
1716ralrimiva 3161 . 2 (𝜑 → ∀𝑥 ∈ 𝐶 (𝐹‘(𝐻‘𝑥))𝑅(𝐺‘(𝐻‘𝑥)))
18 fnfco 6776 . . . 4 ((𝐹 Fn 𝐴 ∧ 𝐻:𝐶⟶𝐴) → (𝐹 ∘ 𝐻) Fn 𝐶)
195, 14, 18syl2anc 596 . . 3 (𝜑 → (𝐹 ∘ 𝐻) Fn 𝐶)
20 fnfco 6776 . . . 4 ((𝐺 Fn 𝐴 ∧ 𝐻:𝐶⟶𝐴) → (𝐺 ∘ 𝐻) Fn 𝐶)
216, 14, 20syl2anc 596 . . 3 (𝜑 → (𝐺 ∘ 𝐻) Fn 𝐶)
22 ofrco.5 . . 3 (𝜑 → 𝐶 ∈ 𝑊)
23 inidm 4125 . . 3 (𝐶 ∩ 𝐶) = 𝐶
2414adantr 486 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶) → 𝐻:𝐶⟶𝐴)
25 simpr 490 . . . 4 ((𝜑 ∧ 𝑥 ∈ 𝐶) → 𝑥 ∈ 𝐶)
2624, 25fvco3d 7016 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ((𝐹 ∘ 𝐻)‘𝑥) = (𝐹‘(𝐻‘𝑥)))
2724, 25fvco3d 7016 . . 3 ((𝜑 ∧ 𝑥 ∈ 𝐶) → ((𝐺 ∘ 𝐻)‘𝑥) = (𝐺‘(𝐻‘𝑥)))
2819, 21, 22, 22, 23, 26, 27ofrfval 7734 . 2 (𝜑 → ((𝐹 ∘ 𝐻) ∘r 𝑅(𝐺 ∘ 𝐻) ↔ ∀𝑥 ∈ 𝐶 (𝐹‘(𝐻‘𝑥))𝑅(𝐺‘(𝐻‘𝑥))))
2917, 28mpbird 260 1 (𝜑 → (𝐹 ∘ 𝐻) ∘r 𝑅(𝐺 ∘ 𝐻))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ∀wral 3083   class class class wbr 5107   ∘ ccom 5661   Fn wfn 6560  ⟶wf 6561  ‘cfv 6565   ∘r cofr 7723
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ofr 7725
This theorem is used by:  mplvrpmrhm  34291
  Copyright terms: Public domain W3C validator