Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions PORTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [x] Isomorphisms
- [ ] `cmra_big_op.v`
- [ ] `coPset.v`
- [ ] coPset definition
- [ ] CMRA
- [x] coPset definition
- [x] CMRA
- [x] `cofe_solver.v`
- [ ] `csum.v`
- [ ] CMRA
Expand Down Expand Up @@ -62,7 +62,7 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [ ] CMRA
- [ ] Updates
- [ ] `gset.v`
- [ ] CMRA
- [x] CMRA
- [ ] Updates
- [ ] `list.v`
- Is this an instance of the `Heap` CMRA?
Expand Down Expand Up @@ -425,5 +425,3 @@ Some porting tasks will require other tasks as dependencies, the GitHub issues p
- [ ] `language.v`
- [ ] `ectx_language.v`
- [ ] `ectxi_language.v`


42 changes: 42 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
description = "Iris - Separation logic in Lean 4";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };

nativeBuildInputs = with pkgs; [
elan
];

buildInputs =
with pkgs;
lib.optionals stdenv.isDarwin [
libiconv
];

in
{
devShells.default = pkgs.mkShell {
inherit nativeBuildInputs buildInputs;

shellHook = ''
echo "Iris development environment"
echo "Lean: $(elan show 2>/dev/null | head -1 || echo 'not configured')"
'';
};
}
);
}
1 change: 1 addition & 0 deletions src/Iris/Algebra.lean
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Iris.Algebra.Agree
import Iris.Algebra.CMRA
import Iris.Algebra.COFESolver
import Iris.Algebra.CoPset
import Iris.Algebra.DFrac
import Iris.Algebra.Excl
import Iris.Algebra.Frac
Expand Down
Loading