Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
why3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Why3
why3
Commits
d2779fd2
Commit
d2779fd2
authored
13 years ago
by
Jean-Christophe Filliâtre
Browse files
Options
Downloads
Patches
Plain Diff
more lemmas about num_of
parent
093fbc36
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/int.why
+13
-2
13 additions, 2 deletions
theories/int.why
with
13 additions
and
2 deletions
theories/int.why
+
13
−
2
View file @
d2779fd2
...
...
@@ -169,7 +169,7 @@ theory NumOfParam
axiom Num_of_right_no_add :
forall p : param, a b : int.
a < b -> not pr p (b-1) -> num_of p a b = num_of p a (b-1)
a < b -> not
(
pr p (b-1)
)
-> num_of p a b = num_of p a (b-1)
axiom Num_of_right_add :
forall p : param, a b : int.
a < b -> pr p (b-1) -> num_of p a b = 1 + num_of p a (b-1)
...
...
@@ -203,10 +203,21 @@ theory NumOfParam
(* by Num_of_append and Num_of_non_negative *)
lemma num_of_strictly_increasing:
forall p
: param, i j k l
: int.
forall p: param, i j k l: int.
i <= j <= k < l -> pr p k -> num_of p i j < num_of p i l
(* by Num_of_append and num_of_increasing *)
lemma num_of_change_any:
forall p1 p2: param, a b: int.
(forall j: int. a <= j < b -> pr p1 j -> pr p2 j) ->
num_of p2 a b >= num_of p1 a b
lemma num_of_change_some:
forall p1 p2: param, a b i: int. a <= i < b ->
(forall j: int. a <= j < b -> pr p1 j -> pr p2 j) ->
not (pr p1 i) -> pr p2 i ->
num_of p2 a b > num_of p1 a b
end
theory NumOf
...
...
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