Goal:
  
  G : t
  invG : invariants G
  acG : acyclic_no_loop G
  x : V.t
  y : V.t
  hx : VSet.In x (V G)
  hy : VSet.In y (V G)
  nxy : Z
  hxy : (lsp G x y <= Some nxy)%nbar
  k : nat
  H : 0 <= 0
  ============================
   (k = match Z.of_nat k with
        | Z.pos p => Pos.to_nat p
        | _ => 0%nat
        end)


DEBUG:Going to execute:
case not_locked_false_eq_true; Ltac.assumption
Level 1: Backtrace:

In environment
G : t
invG : invariants G
acG : acyclic_no_loop G
x, y : V.t
hx : VSet.In x (V G)
hy : VSet.In y (V G)
nxy : Z
hxy : (lsp G x y <= Some nxy)%nbar
k : nat
H : 0 <= 0
Unable to unify
 "match Z.of_nat k with
  | Z.pos p => Pos.to_nat p
  | _ => 0%nat
  end"
with "k".
Level 0: Backtrace:

In environment
G : t
invG : invariants G
acG : acyclic_no_loop G
x, y : V.t
hx : VSet.In x (V G)
hy : VSet.In y (V G)
nxy : Z
hxy : (lsp G x y <= Some nxy)%nbar
k : nat
H : 0 <= 0
Unable to unify
 "match Z.of_nat k with
  | Z.pos p => Pos.to_nat p
  | _ => 0%nat
  end"
with "k".
Level 0: Backtrace:

No applicable tactic.
Level 0: Backtrace:

No applicable tactic.