Skip to content

Commit

Permalink
Adapt to lambdapi PR1182 + some renamings and fixes (#29)
Browse files Browse the repository at this point in the history
- Z: rename × into *, and ~ into —
- Z: add parsing from decimal notation
- Nat: rename 0 into _0, and -1 into ∸1
- Z: fix missing notation for ≥
- Pos, Z: add printing to decimal notation
  • Loading branch information
fblanqui authored Jan 25, 2025
1 parent fe8c175 commit 1fff6f4
Show file tree
Hide file tree
Showing 7 changed files with 382 additions and 274 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
on:
pull_request:
types: [opened, synchronize, edited, reopened]
types: [opened, synchronize, reopened]
push:
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
lambdapi-version: [lambdapi,lambdapi.2.5.1,lambdapi.2.5.0,lambdapi.2.4.1,lambdapi.2.4.0,lambdapi.2.3.1,lambdapi.2.3.0]
# lambdapi.2.3.0 dependencies require ocaml < 5.0.0
lambdapi-version: [lambdapi] #,lambdapi.2.5.1,lambdapi.2.5.0,lambdapi.2.4.1,lambdapi.2.4.0,lambdapi.2.3.1]
runs-on: ubuntu-latest
steps:
- name: Check out library
uses: actions/checkout@v4
- name: Install ocaml and opam
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.1
ocaml-compiler: 5.2.1
# lambdapi.2.3.0 dependencies require ocaml < 5.0.0
- name: Install required libraries
run: sudo apt-get install -y libev-dev
- name: Setup opam (when testing the development version of lambdapi)
Expand Down
21 changes: 16 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

## Unreleased

### Added

- HOL: Set constructor ⤳ for quantifying over function types
- Impred: Set constructor o for quantifying over propositions
- Epsilon: Hilbert's ε operator
- List: add iota and indexes
- Bool: declare istrue as a coercion
- Add files for higher-order logic:
HOL: Set constructor ⤳ for quantifying over function types
Impred: Set constructor o for quantifying over propositions
Epsilon: Hilbert's ε operator
- Set: add ι:Set
- Pos, Z: add printing to decimal notation

### Changed

- Z: rename × into *, and ~ into —
- Z: add parsing from decimal notation
- Nat: rename 0 into _0, and -1 into ∸1
- Bool: declare istrue as injective

### Fixed

- Z: missing notation for ≥

## 1.1.0 (2024-06-21)

- Classic: classical logic
Expand Down
2 changes: 1 addition & 1 deletion List.lp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ end;

symbol nilp [a] l ≔ is0 (@size a l);

opaque symbol size_behead [a] (l:𝕃 a) : π (size (behead l) = size l -1) ≔
opaque symbol size_behead [a] (l:𝕃 a) : π (size (behead l) = size l 1) ≔
begin
assume a; induction
{ reflexivity; }
Expand Down
Loading

0 comments on commit 1fff6f4

Please sign in to comment.