elim b;
simplify;
[
- |*: alias id "lt_S_S" = "cic:/matita/algebra/finite_groups/lt_S_S.con".
- repeat (apply lt_S_S)
+ |*: repeat (apply lt_to_lt_S_S)
];
autobatch.
qed.
change in ⊢ (? ? ? (? (? % ?))) with (n16 \mod 16);
rewrite < mod_mod;
[ apply H;
- autobatch
+ unfold lt;
+ autobatch.
| autobatch
]
qed.
match plusex b1 b2 c with
[ couple r c' ⇒ b1 + b2 + nat_of_bool c = nat_of_exadecimal r + nat_of_bool c' * 16 ].
intros;
- elim c;
- elim b1;
- elim b2;
- normalize;
- reflexivity.
+ elim b1; (elim b2; (elim c; normalize; reflexivity)).
qed.
definition xpred ≝