Metamath Proof Explorer


Theorem cossididresb

Description: When B is single-valued (see cocnv2ssid ) and A is injective (see cocnv1ssid ) , the composition ( B o. A ) is included in the identity relation if and only if ( A o. B ) includes the identity relation restricted to ( dom B i^i ran A ) . (Contributed by BJ, 8-Nov-2026)

Ref Expression
Assertion cossididresb ⊢ B ∘ B -1 ⊆ I ∧ A -1 ∘ A ⊆ I → B ∘ A ⊆ I ↔ I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B

Proof

Step Hyp Ref Expression
1 cossididres ⊢ B ∘ A ⊆ I → I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B
2 cnvss ⊢ I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B → I ↾ dom ⁡ B ∩ ran ⁡ A -1 ⊆ A ∘ B -1
3 cnvresid ⊢ I ↾ dom ⁡ B ∩ ran ⁡ A -1 = I ↾ dom ⁡ B ∩ ran ⁡ A
4 cnvco ⊢ A ∘ B -1 = B -1 ∘ A -1
5 2 3 4 3sstr3g ⊢ I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B → I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ B -1 ∘ A -1
6 cossidmid ⊢ B ∘ B -1 ⊆ I ∧ A -1 ∘ A ⊆ I → I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ B -1 ∘ A -1 → B ∘ A ⊆ I
7 5 6 syl5 ⊢ B ∘ B -1 ⊆ I ∧ A -1 ∘ A ⊆ I → I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B → B ∘ A ⊆ I
8 1 7 impbid2 ⊢ B ∘ B -1 ⊆ I ∧ A -1 ∘ A ⊆ I → B ∘ A ⊆ I ↔ I ↾ dom ⁡ B ∩ ran ⁡ A ⊆ A ∘ B