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
234c17e9
Commit
234c17e9
authored
4 years ago
by
gabrielhdt
Browse files
Options
Downloads
Patches
Plain Diff
ad-hoc polymorphism is prenex
parent
774f46e6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
encodings/ad_hoc.lp
+12
-6
12 additions, 6 deletions
encodings/ad_hoc.lp
encodings/prenex.lp
+4
-1
4 additions, 1 deletion
encodings/prenex.lp
with
16 additions
and
7 deletions
encodings/ad_hoc.lp
+
12
−
6
View file @
234c17e9
require open personoj.encodings.lhol
personoj.encodings.pvs_cert
personoj.encodings.subtype
personoj.encodings.equality
// Prenex ad-hoc polymorphism
require open
personoj.encodings.lhol
personoj.encodings.pvs_cert
personoj.encodings.equality
personoj.encodings.prenex
personoj.encodings.subtype
symbol forall_sub: Set ⇒ (Set ⇒ Set) ⇒ Set
rule η (forall_sub &T &C) → ∀U: Set, ε (U ⊑ &T) ⇒ η (&C U)
symbol forallah_scheme: Set ⇒ (Set ⇒ Scheme) ⇒ Scheme
rule χ (forallah_scheme &T &C) → ∀U: Set, ε (U ⊑ &T) ⇒ χ (&C U)
symbol forallah_bool: Set ⇒ (Set ⇒ Bool) ⇒ Bool
rule ε (forallah_bool &T &C) → ∀U: Set, ε (U ⊑ &T) ⇒ ε (&C U)
This diff is collapsed.
Click to expand it.
encodings/prenex.lp
+
4
−
1
View file @
234c17e9
require open personoj.encodings.lhol personoj.encodings.pvs_cert
// Prenex polymorphism
require open
personoj.encodings.lhol
personoj.encodings.pvs_cert
set declared "χ"
set declared "∇"
...
...
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