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
39ec05c3
Commit
39ec05c3
authored
5 years ago
by
gabrielhdt
Browse files
Options
Downloads
Patches
Plain Diff
rewriting on types
parent
a5ccfe2d
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/subtype.lp
+5
-8
5 additions, 8 deletions
adlib/cert_f/subtype.lp
with
5 additions
and
8 deletions
adlib/cert_f/subtype.lp
+
5
−
8
View file @
39ec05c3
...
...
@@ -2,14 +2,11 @@ require open encodings.cert_f
adlib.cert_f.booleans
set flag "print_implicits" on
rule ePsub &A _ ⊑ &A → true
and (ePsub &A &P) ⊑ (ePsub &B &Q) →
let asb ≔ &A ⊑ &B in
asb ∧
(@forall &A
(λx, imp (&P x)
(&Q (↑ &B _ x))))
// FIXME the rewriting generates a new TCC in the cast
rule Term (ePsub &A _ ⊑ &A) → Term bool
and Term ((ePsub &A &P) ⊑ (ePsub &B &Q)) →
∀(pr: Term (&A ⊑ &B)) (x: Term &A),
Term (&P x) ⇒ Term (&Q (↑ &B pr x))
// FIXME 'File "src/basics.ml", line 116 character 36-42: Assertion failed'
symbol refl eA: Term (eA ⊑ eA)
symbol carrier eA P: Term (ePsub eA P ⊑ eA)
...
...
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