Skip to content

Commit

Permalink
Merge pull request #142 from jwiegley/johnw/cayley
Browse files Browse the repository at this point in the history
Notational simplifications in Cayley.v
  • Loading branch information
jwiegley authored Mar 28, 2024
2 parents 5ff107d + e11f4b5 commit b36a2a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Construction/Cayley.v
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Program Instance Cayley : Category := {
hom := fun x y =>
{ f : ∀ r, (y ~> r) → (x ~> r)
& Proper (forall_relation (fun _ => respectful equiv equiv)) f ∧
r k, f r k ≈ k ∘ f _ id[y] };
(r : C) (k : y ~> r), f r k ≈ k ∘ f _ id };
homset := fun x y => {| equiv := fun f g => ∀ r k, `1 f r k ≈ `1 g r k |};
id := fun _ => (fun _ => Datatypes.id; _);
compose := fun x y z f g => (fun r k => `1 g r (`1 f r k); _)
Expand Down Expand Up @@ -67,7 +67,7 @@ Defined.

Program Instance From_Cayley : Cayley ⟶ C := {
fobj := fun x => x;
fmap := fun x y f => `1 f y (@id C y);
fmap := fun _ y f => `1 f y (@id C y);
}.

Context `{Cayley}.
Expand Down

0 comments on commit b36a2a2

Please sign in to comment.