Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Fengmin Zhu
RefinedC
Commits
fa57fa4d
Commit
fa57fa4d
authored
Nov 05, 2020
by
Michael Sammler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove precondition
parent
81812750
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
theories/lithium/simpl_instances.v
theories/lithium/simpl_instances.v
+2
-2
No files found.
theories/lithium/simpl_instances.v
View file @
fa57fa4d
...
...
@@ -177,8 +177,8 @@ Proof. split; naive_solver lia. Qed.
Global
Instance
simpl_and_S
n
m
`
{!
ContainsProtected
n
}
:
SimplAndRel
(=)
(
S
n
)
(
m
)
(
λ
T
,
(
m
>
0
)%
nat
∧
n
=
pred
m
∧
T
).
Proof
.
split
;
destruct
n
;
naive_solver
lia
.
Qed
.
Global
Instance
simpl_and_Z_of_nat
n
m
`
{!
CanSolve
(
0
≤
m
)}
`
{!
ContainsProtected
n
}
:
SimplAndRel
(=)
(
Z
.
of_nat
n
)
(
m
)
(
λ
T
,
n
=
Z
.
to_nat
m
∧
T
).
Global
Instance
simpl_and_Z_of_nat
n
m
`
{!
ContainsProtected
n
}
:
SimplAndRel
(=)
(
Z
.
of_nat
n
)
(
m
)
(
λ
T
,
0
≤
m
∧
n
=
Z
.
to_nat
m
∧
T
).
Proof
.
unfold
CanSolve
in
*.
split
;
naive_solver
lia
.
Qed
.
Global
Instance
simpl_in_nil
{
A
}
(
x
:
A
)
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment