Skip to content

Commit

Permalink
Generalize MHCOL Module Type over any MMemSetoid
Browse files Browse the repository at this point in the history
  • Loading branch information
zoickx committed Feb 2, 2022
1 parent 9b31f8a commit ce0211c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions coq/MSigmaHCOL/MSigmaHCOL.v
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Require Import Helix.MSigmaHCOL.CType.
Require Import Helix.MSigmaHCOL.RasCT.
Require Import Helix.MSigmaHCOL.RasCarrierA.
Require Import Helix.MSigmaHCOL.MemoryOfR.
Import MMemoryOfR.

Require Import Helix.Tactics.HelixTactics.

Expand All @@ -43,7 +42,7 @@ Require Import MathClasses.implementations.peano_naturals.

Import Monoid.

Module Type MTMSHCOL (CT:CType).
Module Type MTMSHCOL (CT:CType) (Import CM:MMemSetoid(CT)).

Record MSHOperator {i o: nat} : Type
:= mkMSHOperator {
Expand Down Expand Up @@ -112,7 +111,7 @@ Module MMSHCOL'
with Definition CTypeEquiv := CarrierAe
with Definition CTypeSetoid := CarrierAsetoid)
(Import CM:MMemSetoid CT)
<: MTMSHCOL(CT).
<: MTMSHCOL(CT)(CM).

Open Scope nat_scope.

Expand Down

0 comments on commit ce0211c

Please sign in to comment.