Section eq_dec.
Local Ltac t := hnf; decide equality; auto.
Let eq_dec_type := type_eq.
Let eq_dec_float := Float.eq_dec.
Let eq_dec_float32 := Float32.eq_dec.
Let eq_dec_int := Int.eq_dec.
Let eq_dec_int64 := Int64.eq_dec.
Let eq_dec_ident := ident_eq.
Let eq_dec_signature := signature_eq.
Let eq_dec_attr : EqDec attr. repeat t. Qed.
Let eq_dec_signedness : EqDec signedness. t. Qed.
Let eq_dec_intsize : EqDec intsize. t. Qed.
Let eq_dec_floatsize : EqDec floatsize. t. Qed.
Let eq_dec_Z : EqDec Z. repeat t. Qed.
Let eq_dec_calling_convention : EqDec calling_convention. repeat t. Qed.
Let eq_dec_option_ident := option_eq (ident_eq).
Let eq_dec_option_Z : EqDec (option Z). repeat t. Qed.
Let eq_dec_typelist : EqDec typelist. repeat t. Qed.

Lemma eq_dec_expr : EqDec expr.