-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finished v0.2 of the technical report
- Loading branch information
ugeorge
committed
Aug 9, 2019
1 parent
65fca3b
commit ab3de16
Showing
16 changed files
with
244 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.stack-work/ | ||
aesa-deep.cabal | ||
*~ | ||
*~ | ||
PC* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ packages: | |
- . | ||
- ../forsyde-atom-extensions | ||
# - ../forsyde-deep-extensions | ||
# - ../../forsyde/forsyde-deep | ||
- ../aesa-atom | ||
|
||
extra-deps: | ||
|
@@ -16,4 +17,4 @@ extra-deps: | |
- git: [email protected]:forsyde/forsyde-atom.git | ||
commit: 76b0c8b07047180cdef2a58c696e5245e7db3ce3 | ||
- git: [email protected]:ugeorge/forsyde-deep.git | ||
commit: 39b89c2addaa1eeedee97c4cc2ea8e2fa180f257 | ||
commit: 482a972e3f99c627c01181c071bc2d0c91591878 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
### Properties | ||
|
||
Here we test that the ForSyDe-Deep version of PC$^{(4)}$ is the same | ||
as PC$^{(3)}$ defined in the third phase. | ||
|
||
> {-# LANGUAGE PackageImports #-} | ||
> module TestR4 where | ||
> | ||
> import "forsyde-atom-extensions" ForSyDe.Atom.MoC.SY as SY | ||
> import Test.QuickCheck | ||
> import ForSyDe.Deep | ||
> | ||
> import Generators (largeSySigs, cpxFixed20) | ||
> import AESA.PC.R3 as R3 | ||
> import AESA.PC.R4 as R4 | ||
|
||
The property | ||
$$ | ||
\forall c \in \mathbb{C} \Rightarrow | ||
\Sigma(\mathtt{procPCSys} (\overline{c})) = | ||
\Sigma(\mathtt{procPCSys'}(\overline{c})) | ||
$$ {#eq:prop_refine4_equiv} | ||
|
||
is tested by the QuickCheck program | ||
|
||
> prop_refine4_equiv = forAll (largeSySigs cpxFixed20) | ||
> $ \s -> all (\(a,b) -> a == b) $ zip | ||
> (simulate R3.procPCSys $ SY.fromSignal s) | ||
> (simulate R4.procPCSys' $ SY.fromSignal s) | ||
|
||
As all tests are passing (check the project's `README` file on how to run tests), | ||
hence we can conclude that PC$^{(4)}$ is a good replacement for the AESA PC stage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.