Skip to content

Commit e04f271

Browse files
authored
simplify requires (now recursive) (#46)
1 parent 286df3e commit e04f271

File tree

14 files changed

+19
-34
lines changed

14 files changed

+19
-34
lines changed

β€Ž.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
lambdapi-version: [lambdapi,lambdapi.2.6.0] #,lambdapi.2.5.1,lambdapi.2.5.0,lambdapi.2.4.1,lambdapi.2.4.0,lambdapi.2.3.1]
11+
lambdapi-version: [lambdapi,lambdapi.3.0.0] #lambdapi.2.6.0,lambdapi.2.5.1,lambdapi.2.5.0,lambdapi.2.4.1,lambdapi.2.4.0,lambdapi.2.3.1]
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Check out library
1515
uses: actions/checkout@v4
1616
- name: Install ocaml and opam
1717
uses: ocaml/setup-ocaml@v3
1818
with:
19-
ocaml-compiler: 5.2.1
19+
ocaml-compiler: 5.3.0
2020
# lambdapi.2.3.0 dependencies require ocaml < 5.0.0
2121
- name: Install required libraries
2222
run: sudo apt-get install -y libev-dev

β€ŽBool.lp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Library on booleans. */
22

3-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL Stdlib.Eq;
3+
require open Stdlib.FOL Stdlib.Eq;
44

55
inductive 𝔹 : TYPE ≔ // `dB or \BbbB
66
| true : 𝔹

β€ŽCHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file.
33
The format is based on [Keep a Changelog](https://keepachangelog.com/),
44
and this project adheres to [Semantic Versioning](https://semver.org/).
55

6-
## Unreleased
6+
## 1.3.0
77

88
### Added
99

β€ŽClassic.lp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// classical logic
22

3-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL;
3+
require open Stdlib.FOL;
44

55
symbol em p : Ο€ (p ∨ Β¬ p); // excluded middle
66

β€ŽComp.lp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
By Quentin Garchery (May 2021). */
44

5-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL Stdlib.Eq
6-
Stdlib.Bool;
5+
require open Stdlib.Bool;
76

87
inductive Comp : TYPE ≔
98
| Eq : Comp

β€ŽEpsilon.lp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL;
1+
require open Stdlib.FOL;
22

33
symbol Ξ΅ [a:Set] : (Ο„ a β†’ Prop) β†’ Ο„ a;
44
symbol Ξ΅α΅’ [a:Set] (p:Ο„ a β†’ Prop) : Ο€ (βˆƒ p) β†’ Ο€ (p (Ξ΅ p));

β€ŽFunExt.lp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require open Stdlib.Set Stdlib.Prop Stdlib.Eq Stdlib.FOL Stdlib.HOL;
2-
3-
symbol funExt [a b] (f g : Ο„ (a β€³ b)) : Ο€(`βˆ€ x, f x = g x) β†’ Ο€(f = g);
1+
require open Stdlib.Eq Stdlib.HOL;
42

3+
symbol funExt [a b] (f g : Ο„ (a β€³ b)) : (Ξ  x, Ο€(f x = g x)) β†’ Ο€(f = g);

β€ŽList.lp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ protected with nosimpl.
197197
An example of use can be found in fingraph theorem orbitPcycle.
198198
*/
199199

200-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL Stdlib.Eq
201-
Stdlib.Nat Stdlib.Bool Stdlib.Prod;
200+
require open Stdlib.Nat Stdlib.Prod;
202201

203202
(a:Set) inductive 𝕃:TYPE ≔
204203
| β–‘ : 𝕃 a // \Box

β€ŽNat.lp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ expnMn : (m1 * m2) ^ n = ... The operands of other operators are selected
8888
using the l/r suffixes.
8989
*/
9090

91-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL Stdlib.Eq Stdlib.Bool;
91+
require open Stdlib.Bool;
9292

9393
inductive β„• : TYPE ≔
9494
| _0 : β„•

β€ŽPos.lp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
by Quentin Garchery (May 2021). */
44

5-
require open Stdlib.Set Stdlib.Prop Stdlib.FOL Stdlib.Eq
6-
Stdlib.Nat Stdlib.Bool Stdlib.Comp;
5+
require open Stdlib.Nat Stdlib.Comp;
76

87
inductive β„™ : TYPE ≔
98
| I : β„™ β†’ β„™

0 commit comments

Comments
Β (0)