You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should this be a corollary of something about All P xs implies All P ys whenever ys is a subset of xs?
Indeed, and this appears twice in the library:
Data.List.Relation.Unary.All.Properties.anti-mono : xs Subset.⊆ ys → All P ys → All P xs (and Sublist is a stronger property than Subset)
Data.List.Relation.Binary.Sublist.Propositional.Properties.All-resp-⊆ : {P : Pred A ℓ} → (All P) Respects _⊇_ and this should (added: perhaps?) be refactored to a proof in ...Sublist.Setoid.Properties, under assumptions that P respects the underlying Setoid equality?