Definition
- With where and is Prime Number
- Let
Proof of Metric
Showing non-negative
- By defn of , and are both in , thus,
Showing is symmetric
- Let
- Then, and
- Both, and minimize the same set, thus they are equal
Showing
- First observe, is equivalent to or
- We know that Integer Modulo p is a Field
- As the additive inverse is unique,
- Similarly,
- Note that we proved both sides, as all conjunctions are Biconditional Statements.
Showing Triangle Inequality