Metamath Proof Explorer


Theorem unhe1

Description: The union of two relations hereditary in a class is also hereditary in a class. (Contributed by RP, 28-Mar-2020)

Ref Expression
Assertion unhe1 ⊢ R hereditary A ∧ S hereditary A → R ∪ S hereditary A

Proof

Step Hyp Ref Expression
1 df-he ⊢ R hereditary A ↔ R A ⊆ A
2 df-he ⊢ S hereditary A ↔ S A ⊆ A
3 imaundir ⊢ R ∪ S A = R A ∪ S A
4 unss ⊢ R A ⊆ A ∧ S A ⊆ A ↔ R A ∪ S A ⊆ A
5 4 biimpi ⊢ R A ⊆ A ∧ S A ⊆ A → R A ∪ S A ⊆ A
6 3 5 eqsstrid ⊢ R A ⊆ A ∧ S A ⊆ A → R ∪ S A ⊆ A
7 1 2 6 syl2anb ⊢ R hereditary A ∧ S hereditary A → R ∪ S A ⊆ A
8 df-he ⊢ R ∪ S hereditary A ↔ R ∪ S A ⊆ A
9 7 8 sylibr ⊢ R hereditary A ∧ S hereditary A → R ∪ S hereditary A