Metamath Proof Explorer


Theorem cossididres

Description: If a composition is included in the identity relation, then the reverse composition includes the identity relation restricted to the appropriate class. (Contributed by BJ, 7-Nov-2026)

Ref Expression
Assertion cossididres ⊢ B ∘ A ⊆ I → I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B

Proof

Step Hyp Ref Expression
1 dmres ⊢ dom ⁡ B ↾ ran ⁡ A = ran ⁡ A ∩ dom ⁡ B
2 incom ⊢ ran ⁡ A ∩ dom ⁡ B = dom ⁡ B ∩ ran ⁡ A
3 1 2 eqtri ⊢ dom ⁡ B ↾ ran ⁡ A = dom ⁡ B ∩ ran ⁡ A
4 3 reseq2i ⊢ I ↾ dom ⁡ B ↾ ran ⁡ A = I ↾ dom ⁡ B ∩ ran ⁡ A
5 idresdmsscocnv1 ⊢ I ↾ dom ⁡ B ↾ ran ⁡ A ⊆ B ↾ ran ⁡ A -1 ∘ B ↾ ran ⁡ A
6 4 5 eqsstrri ⊢ I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ B ↾ ran ⁡ A -1 ∘ B ↾ ran ⁡ A
7 cossidres1 ⊢ B ∘ A ⊆ I → B ↾ ran ⁡ A ⊆ A -1
8 cnvss ⊢ B ↾ ran ⁡ A ⊆ A -1 → B ↾ ran ⁡ A -1 ⊆ A -1 -1
9 7 8 syl ⊢ B ∘ A ⊆ I → B ↾ ran ⁡ A -1 ⊆ A -1 -1
10 resss ⊢ B ↾ ran ⁡ A ⊆ B
11 10 a1i ⊢ B ∘ A ⊆ I → B ↾ ran ⁡ A ⊆ B
12 9 11 coss12d ⊢ B ∘ A ⊆ I → B ↾ ran ⁡ A -1 ∘ B ↾ ran ⁡ A ⊆ A -1 -1 ∘ B
13 cocnvcnv1 ⊢ A -1 -1 ∘ B = A ∘ B
14 12 13 sseqtrdi ⊢ B ∘ A ⊆ I → B ↾ ran ⁡ A -1 ∘ B ↾ ran ⁡ A ⊆ A ∘ B
15 6 14 sstrid ⊢ B ∘ A ⊆ I → I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B