Skip to content

Commit

Permalink
Adapt w.r.t. coq/coq#19228.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedrot committed Jul 27, 2024
1 parent c103289 commit 66684bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Instance/Shapes.v
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Fixpoint vec `(x : Trie a s) : Vector.t a (size s) :=
| Joins _ k xs => concat (map (vec ∘ k) (vec xs))
end.

Program Fixpoint trie `(x : Vector.t a (size s)) : Trie a s :=
Program Fixpoint trie {a : Type} `(x : Vector.t a (size s)) : Trie a s :=
match s with
| Bottom => Unit
| Top => Id (@hd a 0 x)
Expand All @@ -143,7 +143,7 @@ Program Fixpoint trie `(x : Vector.t a (size s)) : Trie a s :=
(trie (group (size s) (size t) x))
end.

Fixpoint vec_trie `(x : Vector.t a (size s)) : vec (trie x) = x.
Fixpoint vec_trie {a : Type} `(x : Vector.t a (size s)) : vec (trie x) = x.
Proof.
induction s; simpl in *.
- now induction x using case0.
Expand Down

0 comments on commit 66684bf

Please sign in to comment.