Skip to content

Commit

Permalink
Merge pull request #83 from coq-community/hb_gt_160_primproj
Browse files Browse the repository at this point in the history
Adapt to HB > 1.6.0 (use of primitive projections)
  • Loading branch information
proux01 authored Nov 21, 2023
2 parents 27e918b + c1e3224 commit 89b84d5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions refinements/seqmx.v
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@ End seqmx_op.
Parametricity isSub.axioms_.
Parametricity SubType.axioms_ as axioms___R.
Parametricity subType.
Definition eqtype_isSub_mixin_noprimproj_R T₁ T₂ (T_R : T₁ -> T₂ -> Type)
(P₁ : pred T₁) (P₂ : pred T₂)
(P_R : forall (t₁ : T₁) (t₂ : T₂), T_R t₁ t₂ -> bool_R (P₁ t₁) (P₂ t₂))
S₁ S₂ (S_R : S₁ -> S₂ -> Type)
(a₁ : SubType.axioms_ P₁ S₁) (a₂ : SubType.axioms_ P₂ S₂)
(a_R : axioms___R P_R S_R a₁ a₂) :=
match a_R in axioms___R _ _ a₁ a₂
return axioms__R P_R S_R (let (m) := a₁ in m) (let (m) := a₂ in m) with
| @axioms___R_Class_R _ _ _ _ _ _ _ _ _ _ _ eqtype_isSub_mixin_R =>
eqtype_isSub_mixin_R
end.
Realizer SubType.eqtype_isSub_mixin as eqtype_isSub_mixin :=
eqtype_isSub_mixin_noprimproj_R.
Parametricity ord_enum_eq.
Parametricity seqmx_of_fun.
Parametricity mkseqmx_ord.
Expand Down

0 comments on commit 89b84d5

Please sign in to comment.