From Undecidability.L Require Export L.
From Undecidability.L.Tactics Require Import LTactics GenEncode.

Encodings and extracted basic functions

Encoding of unit


Run TemplateProgram (tmGenEncode "unit_enc" unit).
Hint Resolve unit_enc_correct : Lrewrite.

Lemma size_unit_enc : size(enc tt) = 2.
Proof. cbv[enc registered_unit_enc size unit_enc]. lia. Qed.