Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Refinedrust Dev
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
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
Lennard Gäher
Refinedrust Dev
Commits
1d434b81
Verified
Commit
1d434b81
authored
3 weeks ago
by
Lennard Gäher
Browse files
Options
Downloads
Patches
Plain Diff
fix trait inclusion
parent
06e7a80b
No related branches found
No related tags found
No related merge requests found
Pipeline
#117247
passed
3 weeks ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/rust_typing/automation/solvers.v
+4
-4
4 additions, 4 deletions
theories/rust_typing/automation/solvers.v
with
4 additions
and
4 deletions
theories/rust_typing/automation/solvers.v
+
4
−
4
View file @
1d434b81
...
...
@@ -3455,11 +3455,11 @@ Ltac find_trait_term cont :=
strip_applied_params
a
(
hnil
id
)
ltac
:
(
fun
a
acc
=>
is_projection
a
;
match
a
with
|
(
?
c1
?
c2
)
?
d
=>
|
?
c1
?
d
=>
(
*
d
should
be
the
spec
parameter
*
)
is_var
d
;
(
*
c2
is
the
implicit
params
parameter
*
)
is_var
c2
;
(
*
is_var
c2
;
*
)
cont
c1
d
acc
end
)
end
...
...
@@ -3470,9 +3470,9 @@ Ltac prove_trait_incl_for trait_spec trait_proj appspec cont :=
lazymatch
goal
with
|
H
:
trait_incl_marker
(
?
incl
trait_spec
?
spec2
)
|-
_
=>
let
H2
:=
fresh
in
let
t1
:=
constr
:
(
trait_proj
_
trait_spec
)
in
let
t1
:=
constr
:
(
trait_proj
trait_spec
)
in
let
t1
:=
apply_term_het
constr
:
(
t1
)
constr
:
(
appspec
)
in
let
t2
:=
constr
:
(
trait_proj
_
spec2
)
in
let
t2
:=
constr
:
(
trait_proj
spec2
)
in
let
t2
:=
apply_term_het
constr
:
(
t2
)
constr
:
(
appspec
)
in
assert
(
function_subtype
t1
t2
)
as
H2
;
[
rewrite
trait_incl_marker_unfold
in
H
;
apply
H
|
cont
H2
]
...
...
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