Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inf: remove builtins #10

Merged
merged 4 commits into from
Jan 25, 2025
Merged
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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2

updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,22 +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.0, lambdapi.2.4.1, lambdapi.2.4.0, lambdapi.2.3.1, lambdapi.2.3.0, lambdapi.2.2.1, lambdapi.2.2.0, lambdapi.2.1.0, lambdapi.2.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, lambdapi.2.3.0, lambdapi.2.2.1, lambdapi.2.2.0, lambdapi.2.1.0, lambdapi.2.0.0]
runs-on: ubuntu-latest
steps:
- name: Check out library
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install ocaml and opam
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 4.14.0
ocaml-compiler: 4.14.2
# 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 for testing the development version
Expand Down
8 changes: 4 additions & 4 deletions U/Inf.lp
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
require open Logic.U.Set Logic.U.Prop;

constant symbol zero : El ι; builtin "0" ≔ zero;
constant symbol zero : El ι;

constant symbol succ : El ι → El ι; builtin "+1" ≔ succ;
constant symbol succ : El ι → El ι;

symbol pred : El ι → El ι;

rule pred 00
rule pred zerozero
with pred (succ $x) ↪ $x;

symbol positive : El ι → Prop;

rule positive 0 ↪ ⊥
rule positive zero ↪ ⊥
with positive (succ _) ↪ ⊤;
Loading