Reputation: 7102
pow_succ_r
in Coq.Arith.PeanoNat.Require Import Coq.Arith.PeanoNat.
Print pow_succ_r.
I get the following error:
pow_succ_r not a defined object.
Upvotes: 2
Views: 64
Reputation: 1263
Notice the line Module Nat
near the top of the documentation. It means that the subsequent declarations are inside the Nat
module. So, you can access the symbol as Nat.pow_succ_r
.
In general, if you are looking for a symbol, use the Locate
command:
Locate pow_succ_r.
(*
Constant
Coq.Arith.PeanoNat.Nat.pow_succ_r
(shorter name to refer to it in current context is Nat.pow_succ_r)
*)
Upvotes: 2