Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
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
Model registry
Operate
Environments
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
Abel Nieto
Iris
Commits
c98c721b
Commit
c98c721b
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Rename misspelled `IAnom` into `IFresh` (`IAnon` is already in use).
parent
91dfd8b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theories/proofmode/intro_patterns.v
+2
-2
2 additions, 2 deletions
theories/proofmode/intro_patterns.v
theories/proofmode/ltac_tactics.v
+1
-1
1 addition, 1 deletion
theories/proofmode/ltac_tactics.v
theories/proofmode/tokens.v
+2
-2
2 additions, 2 deletions
theories/proofmode/tokens.v
with
5 additions
and
5 deletions
theories/proofmode/intro_patterns.v
+
2
−
2
View file @
c98c721b
...
@@ -4,7 +4,7 @@ Set Default Proof Using "Type".
...
@@ -4,7 +4,7 @@ Set Default Proof Using "Type".
Inductive
intro_pat
:=
Inductive
intro_pat
:=
|
IIdent
:
ident
→
intro_pat
|
IIdent
:
ident
→
intro_pat
|
I
Anom
:
intro_pat
|
I
Fresh
:
intro_pat
|
IDrop
:
intro_pat
|
IDrop
:
intro_pat
|
IFrame
:
intro_pat
|
IFrame
:
intro_pat
|
IList
:
list
(
list
intro_pat
)
→
intro_pat
|
IList
:
list
(
list
intro_pat
)
→
intro_pat
...
@@ -74,7 +74,7 @@ Fixpoint parse_go (ts : list token) (k : stack) : option stack :=
...
@@ -74,7 +74,7 @@ Fixpoint parse_go (ts : list token) (k : stack) : option stack :=
|
[]
=>
Some
k
|
[]
=>
Some
k
|
TName
"_"
::
ts
=>
parse_go
ts
(
StPat
IDrop
::
k
)
|
TName
"_"
::
ts
=>
parse_go
ts
(
StPat
IDrop
::
k
)
|
TName
s
::
ts
=>
parse_go
ts
(
StPat
(
IIdent
s
)
::
k
)
|
TName
s
::
ts
=>
parse_go
ts
(
StPat
(
IIdent
s
)
::
k
)
|
TAno
m
::
ts
=>
parse_go
ts
(
StPat
I
Anom
::
k
)
|
TAno
n
::
ts
=>
parse_go
ts
(
StPat
I
Fresh
::
k
)
|
TFrame
::
ts
=>
parse_go
ts
(
StPat
IFrame
::
k
)
|
TFrame
::
ts
=>
parse_go
ts
(
StPat
IFrame
::
k
)
|
TBracketL
::
ts
=>
parse_go
ts
(
StList
::
k
)
|
TBracketL
::
ts
=>
parse_go
ts
(
StList
::
k
)
|
TBar
::
ts
=>
parse_go
ts
(
StBar
::
k
)
|
TBar
::
ts
=>
parse_go
ts
(
StBar
::
k
)
...
...
This diff is collapsed.
Click to expand it.
theories/proofmode/ltac_tactics.v
+
1
−
1
View file @
c98c721b
...
@@ -1219,7 +1219,7 @@ Tactic Notation "iModCore" constr(H) :=
...
@@ -1219,7 +1219,7 @@ Tactic Notation "iModCore" constr(H) :=
(** * Basic destruct tactic *)
(** * Basic destruct tactic *)
Local
Ltac
iDestructHypGo
Hz
pat
:=
Local
Ltac
iDestructHypGo
Hz
pat
:=
lazymatch
pat
with
lazymatch
pat
with
|
I
Anom
=>
|
I
Fresh
=>
lazymatch
Hz
with
lazymatch
Hz
with
|
IAnon
_
=>
idtac
|
IAnon
_
=>
idtac
|
INamed
?Hz
=>
let
Hz'
:=
iFresh
in
iRename
Hz
into
Hz'
|
INamed
?Hz
=>
let
Hz'
:=
iFresh
in
iRename
Hz
into
Hz'
...
...
This diff is collapsed.
Click to expand it.
theories/proofmode/tokens.v
+
2
−
2
View file @
c98c721b
...
@@ -4,7 +4,7 @@ Set Default Proof Using "Type".
...
@@ -4,7 +4,7 @@ Set Default Proof Using "Type".
Inductive
token
:=
Inductive
token
:=
|
TName
:
string
→
token
|
TName
:
string
→
token
|
TNat
:
nat
→
token
|
TNat
:
nat
→
token
|
TAno
m
:
token
|
TAno
n
:
token
|
TFrame
:
token
|
TFrame
:
token
|
TBar
:
token
|
TBar
:
token
|
TBracketL
:
token
|
TBracketL
:
token
...
@@ -43,7 +43,7 @@ Definition cons_state (kn : state) (k : list token) : list token :=
...
@@ -43,7 +43,7 @@ Definition cons_state (kn : state) (k : list token) : list token :=
Fixpoint
tokenize_go
(
s
:
string
)
(
k
:
list
token
)
(
kn
:
state
)
:
list
token
:=
Fixpoint
tokenize_go
(
s
:
string
)
(
k
:
list
token
)
(
kn
:
state
)
:
list
token
:=
match
s
with
match
s
with
|
""
=>
reverse
(
cons_state
kn
k
)
|
""
=>
reverse
(
cons_state
kn
k
)
|
String
"?"
s
=>
tokenize_go
s
(
TAno
m
::
cons_state
kn
k
)
SNone
|
String
"?"
s
=>
tokenize_go
s
(
TAno
n
::
cons_state
kn
k
)
SNone
|
String
"$"
s
=>
tokenize_go
s
(
TFrame
::
cons_state
kn
k
)
SNone
|
String
"$"
s
=>
tokenize_go
s
(
TFrame
::
cons_state
kn
k
)
SNone
|
String
"["
s
=>
tokenize_go
s
(
TBracketL
::
cons_state
kn
k
)
SNone
|
String
"["
s
=>
tokenize_go
s
(
TBracketL
::
cons_state
kn
k
)
SNone
|
String
"]"
s
=>
tokenize_go
s
(
TBracketR
::
cons_state
kn
k
)
SNone
|
String
"]"
s
=>
tokenize_go
s
(
TBracketR
::
cons_state
kn
k
)
SNone
...
...
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