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
Merge requests
!15
Provide a pretty-printer for [nat].
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Provide a pretty-printer for [nat].
archived_projects/coq-stdpp:prettynat
into
master
Overview
8
Commits
2
Pipelines
0
Changes
2
Merged
Ghost User
requested to merge
archived_projects/coq-stdpp:prettynat
into
master
7 years ago
Overview
8
Commits
2
Pipelines
0
Changes
2
Expand
Pretty-print nat; this simply reduced to the N pretty printer.
0
0
Merge request reports
Compare
master
version 1
173b3078
7 years ago
master (base)
and
latest version
latest version
e8560422
2 commits,
7 years ago
version 1
173b3078
1 commit,
7 years ago
2 files
+
13
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
theories/numbers.v
+
8
−
0
Options
@@ -347,6 +347,14 @@ Proof.
Qed
.
Close
Scope
Z_scope
.
(** * Injectivity of casts *)
Instance
N_of_nat_inj
:
Inj
(
=
)
(
=
)
N
.
of_nat
:=
Nat2N
.
inj
.
Instance
nat_of_N_inj
:
Inj
(
=
)
(
=
)
N
.
to_nat
:=
N2Nat
.
inj
.
Instance
nat_of_pos_inj
:
Inj
(
=
)
(
=
)
Pos
.
to_nat
:=
Pos2Nat
.
inj
.
Instance
pos_of_Snat_inj
:
Inj
(
=
)
(
=
)
Pos
.
of_succ_nat
:=
SuccNat2Pos
.
inj
.
Instance
Z_of_N_inj
:
Inj
(
=
)
(
=
)
Z
.
of_N
:=
N2Z
.
inj
.
(* Add others here. *)
(** * Notations and properties of [Qc] *)
Open
Scope
Qc_scope
.
Delimit
Scope
Qc_scope
with
Qc
.
Loading