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
3a3769fa
Commit
3a3769fa
authored
5 years ago
by
gabrielhdt
Browse files
Options
Downloads
Patches
Plain Diff
reduction of fst on opair
parent
3f7dda1c
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
encodings/cert_f.lp
+2
-2
2 additions, 2 deletions
encodings/cert_f.lp
with
2 additions
and
2 deletions
encodings/cert_f.lp
+
2
−
2
View file @
3a3769fa
...
...
@@ -60,8 +60,6 @@ constant symbol snd {T: Univ Type} {P: Term T ⇒ Univ Prop}
symbol pair {T: Univ Type} (P: Term T ⇒ Univ Prop) (M: Term T):
Term (P M) ⇒ Term (Psub P)
rule fst (pair _ &M _) → &M
// opair is a pair forgetting its snd argument
protected symbol opair (T: Univ Type) (P: Term T ⇒ Univ Prop) (M: Term T):
Term (Psub P)
...
...
@@ -69,6 +67,8 @@ protected symbol opair (T: Univ Type) (P: Term T ⇒ Univ Prop) (M: Term T):
// Two pairs are convertible if their first element is
rule pair {&T} &P &M _ → opair &T &P &M
rule fst (opair _ _ &M) → &M
// The subtype relation
symbol subtype: Term uType ⇒ Term uType ⇒ Term uProp
set infix left 6 "⊑" ≔ subtype
...
...
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