Skip to content

Commit

Permalink
Made substInPaths slightly more general by allowing A and B to be dif…
Browse files Browse the repository at this point in the history
…ferent levels (#1076)
  • Loading branch information
kesleta authored Oct 31, 2023
1 parent b822ba9 commit b3738bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cubical/Foundations/Transport.agda
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ overPathFunct p q =

-- substition over families of paths
-- theorem 2.11.3 in The Book
substInPaths : {ℓ} {A B : Type ℓ} {a a' : A}
substInPaths : {ℓ ℓ'} {A : Type ℓ} {B : Type ℓ'} {a a' : A}
(f g : A B) (p : a ≡ a') (q : f a ≡ g a)
subst (λ x f x ≡ g x) p q ≡ sym (cong f p) ∙ q ∙ cong g p
substInPaths {a = a} f g p q =
Expand Down

0 comments on commit b3738bf

Please sign in to comment.