Theorem modmod | index | src |

theorem modmod (a m n: nat): $ m || n -> a % n % m = a % m $;
StepHypRefExpression
1 id
m || n -> m || n
2 eqmmod
mod(n): a % n = a
3 2 a1i
m || n -> mod(n): a % n = a
4 1, 3 dvdeqm
m || n -> mod(m): a % n = a
5 4 conv eqm
m || n -> a % n % m = a % m

Axiom use

axs_prop_calc (ax_1, ax_2, ax_3, ax_mp, itru), axs_pred_calc (ax_gen, ax_4, ax_5, ax_6, ax_7, ax_10, ax_11, ax_12), axs_set (elab, ax_8), axs_the (theid, the0), axs_peano (peano1, peano2, peano5, addeq, muleq, add0, addS, mul0, mulS)