Skip to content

Commit

Permalink
Merge pull request #787 from ppedrot/template-no-sup-constraint
Browse files Browse the repository at this point in the history
Adapt w.r.t. coq/coq#19228.
  • Loading branch information
andrew-appel authored Aug 9, 2024
2 parents 6c978e6 + 108091c commit 1ba625a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions floyd/jmeq_lemmas.v
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ Lemma eq_JMeq: forall A (x y: A), x=y -> JMeq x y.
Proof. intros. subst. apply JMeq_refl.
Qed.

Lemma list_func_JMeq: forall {A: Type} {B: Type} {C: Type} (a: list A) (b: list B) (f: forall X, list X -> C), @eq Type A B -> JMeq a b -> f A a = f B b.
Lemma list_func_JMeq: forall {A: Type} {B: Type} {C: Type} (a: list A) (b: list B) (f: forall X : Type, list X -> C), @eq Type A B -> JMeq a b -> f A a = f B b.
Proof.
intros.
destruct H0 as [? ?].
Expand All @@ -373,7 +373,7 @@ Proof.
auto.
Qed.

Lemma list_func_JMeq': forall {A: Type} {B: Type} (a: list A) (b: list B) (a': A) (b': B) (f: forall X, list X -> X -> X), JMeq a b -> JMeq a' b' -> JMeq (f A a a') (f B b b').
Lemma list_func_JMeq': forall {A: Type} {B: Type} (a: list A) (b: list B) (a': A) (b': B) (f: forall X : Type, list X -> X -> X), JMeq a b -> JMeq a' b' -> JMeq (f A a a') (f B b b').
Proof.
intros.
destruct H as [?H ?H], H0 as [?H ?H].
Expand Down

0 comments on commit 1ba625a

Please sign in to comment.