Skip to content

Commit 1fff6f4

Browse files
authored
Adapt to lambdapi PR1182 + some renamings and fixes (#29)
- 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
1 parent fe8c175 commit 1fff6f4

File tree

7 files changed

+382
-274
lines changed

7 files changed

+382
-274
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
on:
22
pull_request:
3-
types: [opened, synchronize, edited, reopened]
3+
types: [opened, synchronize, reopened]
44
push:
55
workflow_dispatch:
66
jobs:
77
build:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
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]
12-
# lambdapi.2.3.0 dependencies require ocaml < 5.0.0
11+
lambdapi-version: [lambdapi] #,lambdapi.2.5.1,lambdapi.2.5.0,lambdapi.2.4.1,lambdapi.2.4.0,lambdapi.2.3.1]
1312
runs-on: ubuntu-latest
1413
steps:
1514
- name: Check out library
1615
uses: actions/checkout@v4
1716
- name: Install ocaml and opam
1817
uses: ocaml/setup-ocaml@v3
1918
with:
20-
ocaml-compiler: 4.14.1
19+
ocaml-compiler: 5.2.1
20+
# lambdapi.2.3.0 dependencies require ocaml < 5.0.0
2121
- name: Install required libraries
2222
run: sudo apt-get install -y libev-dev
2323
- name: Setup opam (when testing the development version of lambdapi)

CHANGES.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
55

66
## Unreleased
77

8+
### Added
9+
10+
- HOL: Set constructor ⤳ for quantifying over function types
11+
- Impred: Set constructor o for quantifying over propositions
12+
- Epsilon: Hilbert's ε operator
813
- List: add iota and indexes
9-
- Bool: declare istrue as a coercion
10-
- Add files for higher-order logic:
11-
HOL: Set constructor ⤳ for quantifying over function types
12-
Impred: Set constructor o for quantifying over propositions
13-
Epsilon: Hilbert's ε operator
1414
- Set: add ι:Set
15+
- Pos, Z: add printing to decimal notation
16+
17+
### Changed
18+
19+
- Z: rename × into *, and ~ into —
20+
- Z: add parsing from decimal notation
21+
- Nat: rename 0 into _0, and -1 into ∸1
1522
- Bool: declare istrue as injective
1623

24+
### Fixed
25+
26+
- Z: missing notation for ≥
27+
1728
## 1.1.0 (2024-06-21)
1829

1930
- Classic: classical logic

List.lp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ end;
309309

310310
symbol nilp [a] lis0 (@size a l);
311311

312-
opaque symbol size_behead [a] (l:𝕃 a) : π (size (behead l) = size l -1) ≔
312+
opaque symbol size_behead [a] (l:𝕃 a) : π (size (behead l) = size l 1) ≔
313313
begin
314314
assume a; induction
315315
{ reflexivity; }

0 commit comments

Comments
 (0)