Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
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
Iris
stdpp
Commits
db8b426e
Commit
db8b426e
authored
1 month ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Fix comment that is messed up.
parent
dc158f6f
No related branches found
No related tags found
1 merge request
!594
split up list.v into smaller files
Pipeline
#119733
passed
1 month ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
stdpp/list_relations.v
+3
-3
3 additions, 3 deletions
stdpp/list_relations.v
with
3 additions
and
3 deletions
stdpp/list_relations.v
+
3
−
3
View file @
db8b426e
...
@@ -65,9 +65,9 @@ Global Hint Extern 0 (_ ⊆+ _) => reflexivity : core.
...
@@ -65,9 +65,9 @@ Global Hint Extern 0 (_ ⊆+ _) => reflexivity : core.
(** * Basic tactics on lists *)
(** * Basic tactics on lists *)
(** These are used already in this file so we cannot have them in [list_tactics]. *)
(** These are used already in this file so we cannot have them in [list_tactics]. *)
(** The tactic [discriminate_list] discharges a goal if
it submseteq
(** The tactic [discriminate_list] discharges a goal if
there is a hypothesis
a list equality involving [(::)] and [(++)] of two lists that have a different
[l1 = l2] where [l1] and [l2] have different lengths. The tactic is guaranteed
length as one of its hypotheses
. *)
to work if [l1] and [l2] contain solely [ [] ], [(::)] and [(++)]
. *)
Tactic
Notation
"discriminate_list"
hyp
(
H
)
:=
Tactic
Notation
"discriminate_list"
hyp
(
H
)
:=
apply
(
f_equal
length
)
in
H
;
apply
(
f_equal
length
)
in
H
;
repeat
(
csimpl
in
H
||
rewrite
length_app
in
H
);
exfalso
;
lia
.
repeat
(
csimpl
in
H
||
rewrite
length_app
in
H
);
exfalso
;
lia
.
...
...
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