-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add files for using higher-order logic (#21)
- 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 constructor ι
- Loading branch information
Showing
5 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
require open Stdlib.Set Stdlib.Prop Stdlib.FOL; | ||
|
||
symbol ε [a:Set] : (τ a → Prop) → τ a; | ||
symbol εᵢ [a:Set] (p:τ a → Prop) : π (∃ p) → π (p (ε p)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require open Stdlib.Set; | ||
|
||
symbol ⤳ : Set → Set → Set; // \leadsto | ||
|
||
notation ⤳ infix right 20; | ||
|
||
rule τ ($x ⤳ $y) ↪ τ $x → τ $y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
require open Stdlib.Set Stdlib.Prop; | ||
|
||
symbol o : Set; | ||
|
||
rule τ o ↪ Prop; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters