Suppose that I have a set of starting logical formulas (axioms) and some inference rules that produce new formulas from old ones. I am curious if there is an upper bound to the number of steps (number of times an inference rules has to be used) in the shortest proof of some decidable statement. Let $L$ be the function mapping formulas to minimal-proof-lengths.
Obviously, there can't be any computable function $g$ that maps each decidable formula $P$ to an upper bound for the minimum number of steps ($L(P) \leq g(P)$), because in that case an algorithm that would attempt to find proofs through brute force and stop when that maximum number of steps is exceeded would make it computable to verify if a statement is decidable, contradicting Godel's incompleteness theorem.
Instead, I am looking for a constant $c$ and a computable function $f$ (mapping all formulas to reals) such that $L(P) \leq cf(P)$ for all decidable $P$.
Edit: $c$ would be uncomputable
Does such a function exist?