├── .dockerignore ├── .github ├── ci.sh └── workflows │ └── ci.yaml ├── .gitignore ├── .gitmodules ├── Dockerfile ├── README.md ├── cabal.project ├── copilot-verifier-demo ├── .gitignore ├── LICENSE ├── copilot-verifier-demo.cabal ├── demo1-driver.c ├── demo2-driver.c └── src │ ├── Demo1.hs │ ├── Demo2.hs │ └── Demo3.hs └── copilot-verifier ├── CHANGELOG ├── LICENSE ├── README.md ├── copilot-verifier.cabal ├── examples └── Copilot │ └── Verifier │ ├── Examples.hs │ └── Examples │ ├── ShouldFail │ └── Partial │ │ ├── AbsIntMin.hs │ │ ├── AddSignedWrap.hs │ │ ├── DivByZero.hs │ │ ├── IndexOutOfBounds.hs │ │ ├── ModByZero.hs │ │ ├── MulSignedWrap.hs │ │ ├── ShiftLTooLarge.hs │ │ ├── ShiftRTooLarge.hs │ │ └── SubSignedWrap.hs │ └── ShouldPass │ ├── Arith.hs │ ├── Array.hs │ ├── ArrayGen.hs │ ├── ArrayOfStructs.hs │ ├── ArrayTriggerArgument.hs │ ├── Clock.hs │ ├── Counter.hs │ ├── Engine.hs │ ├── FPNegation.hs │ ├── FPOps.hs │ ├── Heater.hs │ ├── IntOps.hs │ ├── Partial │ ├── AbsIntMin.hs │ ├── AddSignedWrap.hs │ ├── DivByZero.hs │ ├── IndexOutOfBounds.hs │ ├── ModByZero.hs │ ├── MulSignedWrap.hs │ ├── ShiftLTooLarge.hs │ ├── ShiftRTooLarge.hs │ └── SubSignedWrap.hs │ ├── Structs.hs │ ├── UpdateArray.hs │ ├── UpdateStruct.hs │ ├── Voting.hs │ └── WCV.hs ├── exe └── VerifyExamples.hs ├── src └── Copilot │ ├── Verifier.hs │ └── Verifier │ ├── FloatMode.hs │ ├── Log.hs │ └── Solver.hs └── test └── Test.hs /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/.github/ci.sh -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/README.md -------------------------------------------------------------------------------- /cabal.project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/cabal.project -------------------------------------------------------------------------------- /copilot-verifier-demo/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/.gitignore -------------------------------------------------------------------------------- /copilot-verifier-demo/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/LICENSE -------------------------------------------------------------------------------- /copilot-verifier-demo/copilot-verifier-demo.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/copilot-verifier-demo.cabal -------------------------------------------------------------------------------- /copilot-verifier-demo/demo1-driver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/demo1-driver.c -------------------------------------------------------------------------------- /copilot-verifier-demo/demo2-driver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/demo2-driver.c -------------------------------------------------------------------------------- /copilot-verifier-demo/src/Demo1.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/src/Demo1.hs -------------------------------------------------------------------------------- /copilot-verifier-demo/src/Demo2.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/src/Demo2.hs -------------------------------------------------------------------------------- /copilot-verifier-demo/src/Demo3.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier-demo/src/Demo3.hs -------------------------------------------------------------------------------- /copilot-verifier/CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/CHANGELOG -------------------------------------------------------------------------------- /copilot-verifier/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/LICENSE -------------------------------------------------------------------------------- /copilot-verifier/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /copilot-verifier/copilot-verifier.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/copilot-verifier.cabal -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/AbsIntMin.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/AbsIntMin.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/AddSignedWrap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/AddSignedWrap.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/DivByZero.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/DivByZero.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/IndexOutOfBounds.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/IndexOutOfBounds.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/ModByZero.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/ModByZero.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/MulSignedWrap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/MulSignedWrap.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/ShiftLTooLarge.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/ShiftLTooLarge.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/ShiftRTooLarge.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/ShiftRTooLarge.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/SubSignedWrap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldFail/Partial/SubSignedWrap.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Arith.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Arith.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Array.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Array.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/ArrayGen.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/ArrayGen.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/ArrayOfStructs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/ArrayOfStructs.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/ArrayTriggerArgument.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/ArrayTriggerArgument.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Clock.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Clock.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Counter.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Counter.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Engine.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Engine.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/FPNegation.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/FPNegation.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/FPOps.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/FPOps.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Heater.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Heater.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/IntOps.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/IntOps.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/AbsIntMin.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/AbsIntMin.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/AddSignedWrap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/AddSignedWrap.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/DivByZero.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/DivByZero.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/IndexOutOfBounds.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/IndexOutOfBounds.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/ModByZero.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/ModByZero.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/MulSignedWrap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/MulSignedWrap.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/ShiftLTooLarge.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/ShiftLTooLarge.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/ShiftRTooLarge.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/ShiftRTooLarge.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/SubSignedWrap.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Partial/SubSignedWrap.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Structs.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Structs.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/UpdateArray.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/UpdateArray.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/UpdateStruct.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/UpdateStruct.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Voting.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/Voting.hs -------------------------------------------------------------------------------- /copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/WCV.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/examples/Copilot/Verifier/Examples/ShouldPass/WCV.hs -------------------------------------------------------------------------------- /copilot-verifier/exe/VerifyExamples.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/exe/VerifyExamples.hs -------------------------------------------------------------------------------- /copilot-verifier/src/Copilot/Verifier.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/src/Copilot/Verifier.hs -------------------------------------------------------------------------------- /copilot-verifier/src/Copilot/Verifier/FloatMode.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/src/Copilot/Verifier/FloatMode.hs -------------------------------------------------------------------------------- /copilot-verifier/src/Copilot/Verifier/Log.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/src/Copilot/Verifier/Log.hs -------------------------------------------------------------------------------- /copilot-verifier/src/Copilot/Verifier/Solver.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/src/Copilot/Verifier/Solver.hs -------------------------------------------------------------------------------- /copilot-verifier/test/Test.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Copilot-Language/copilot-verifier/HEAD/copilot-verifier/test/Test.hs --------------------------------------------------------------------------------