We are assuming that a formula π(x,y) with 2 free variables defines a function means that for every x there is a unique y such that π(x,y).
We assume that the axiom schema of Successor cardinals and the axiom schema of Ordinal inaccessibility are the result of replacing "f is a definable function" by "π(x,y)
defines a function", replacing "π(π)=πΎ" by π(π,πΎ), and replacing πΌβ€π(π½) by "there is a b such that π(π½,b) and πΌβ€b".
We note that the axiom schema of Successor cardinals, is an immediate consequence of the axiom schema of Ordinal inaccessibility.(Suppose that π(x,y) defines a function and c ia an ordinal.
By Ordinal inaccessibility, there is an ordinal πΌ with the property that βπ½<c:π(π½,b)-->("b is not an ordinal" or b<πΌ). Then Β¬βπΎ<(πΌ+1)βπ<c:π(π,πΎ), since Β¬π(π,πΌ) for all π<c.)
Z + Ranks + Ordinal inaccessibility has the same consequences as Z + Ranks + Ordinal Replacement.
Proof: Suppose Ordinal Replacement holds, π(x,y) defines a function, πΎ is an ordinal, and for every ordinal πΌ (βπ½<πΎβb:πΌβ€bβ§π(π½,b)). Let π(x,y) be the formula ("x is an ordinal" and "y is an ordinal" and π(x,y)) or ("x is an ordinal" and (βt(π(x,y)-->"t is not an ordinal") and y=0) or ("x is not an ordinal" and y=x). By Ordinal Replacement βπ΅βπ¦(π¦βπ΅ββπ₯βπΎπ(π₯,π¦)). But then every ordinal is in UB. Now suppose Ordinal inaccessibility holds, π(x,y) is a formula in two free variables x,y, βπ₯[πππππππ(π₯)ββ!π¦(πππππππ(π¦)β§π(π₯,π¦))], and A is a set of ordinals. Let π(x,y) be the formula ("x is an ordinal" and "y is an ordinal" and π(x,y)) or ("x is not an ordinal" and x=y). Then π(x,y) defines a function. By Ordinal inaccessibility, there is an ordinal πΌ with the property βπ½<(UA)βb(π(π½,b)-->b<πΌ). Then there is a set B such that
bβB<-->bβπΌβ§βπ₯βπ΄(π(x,b)). Therefore Ordinal Replacement holds.
If ZF is consistent then Z + Ranks + Ordinal inaccessibility + Choice does not prove Replacement.
Proof: See the answer of Joel David Hamkins to "Is full Replacement provable in Z + Ordinal Replacement?". (His argument shows that in a model of ZFC, β¨ππ1,ββ© satisfies Z + Ranks + Ordinal Replacement + Choice but not all instancess of Replacement.)