Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
personoj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
koizel
personoj
Commits
27d075c2
Commit
27d075c2
authored
5 years ago
by
gabrielhdt
Browse files
Options
Downloads
Patches
Plain Diff
as few type annotations as possible
parent
1d988439
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
adlib/cert_f/bootstrap.lp
+5
-4
5 additions, 4 deletions
adlib/cert_f/bootstrap.lp
with
5 additions
and
4 deletions
adlib/cert_f/bootstrap.lp
+
5
−
4
View file @
27d075c2
...
...
@@ -10,15 +10,15 @@ definition forall {T: Term uType} (P: Term T ⇒ Term bool) ≔ prod T P
definition bnot (P: Term uProp) ≔ prod P (λ _, false)
set prefix 5 "¬" ≔ bnot
definition band
(
P Q
: Term uProp)
≔ bnot (imp P (bnot Q))
definition band P Q ≔ bnot (imp P (bnot Q))
set infix 6 "∧" ≔ band
definition bor
(
P Q
: Term uProp)
≔ imp (bnot P) Q
definition bor P Q ≔ imp (bnot P) Q
set infix 5 "∨" ≔ bor
definition biff
(
P Q
: Term bool)
≔ (imp P Q) ∧ (imp Q P)
definition biff P Q ≔ (imp P Q) ∧ (imp Q P)
set infix 7 "⇔" ≔ biff
definition when
(
P Q
: Term uProp)
≔ imp Q P
definition when P Q ≔ imp Q P
set builtin "bot" ≔ false
set builtin "top" ≔ true
...
...
@@ -27,6 +27,7 @@ set builtin "and" ≔ band
set builtin "or" ≔ bor
set builtin "not" ≔ bnot
// Defined here because ⊑ needs it.
symbol eq {T: Term uType}: Term T ⇒ Term T ⇒ Term bool
set infix 5 "=" ≔ eq
// set builtin "eq" ≔ eq
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment