Tactic to check that a named hypothesis has a given type and/or value.
-
guard_hyp h : t
checks the type up to reducible defeq, -
guard_hyp h :~ t
checks the type up to default defeq, -
guard_hyp h :ₛ t
checks the type up to syntactic equality, -
guard_hyp h :ₐ t
checks the type up to alpha equality. -
guard_hyp h := v
checks value up to reducible defeq, -
guard_hyp h :=~ v
checks value up to default defeq, -
guard_hyp h :=ₛ v
checks value up to syntactic equality, -
guard_hyp h :=ₐ v
checks the value up to alpha equality.
The value v
is elaborated using the type of h
as the expected type.