Section HENKIN.
#[local] Infix "=~=" := is_similar_to : type_scope.
Context {L : language}.
#[local] Notation L' := (augmented_language L Henkin_constants).
#[local] Notation hatom := (ivar + Henkin_constants)%type.
#[local] Notation hsubst := (hatom -> trm L').
#[local] Existing Instance constant_symbols_sim.
#[local] Existing Instance trm_sim.
#[local] Existing Instance trms_sim.
#[local] Existing Instance frm_sim.
#[local] Existing Instance frms_sim.
#[local] Opaque Nat.mul Nat.div "mod".
Context {enum_frm_L' : isEnumerable (frm L')}.
Fixpoint addHenkin (X : ensemble (frm L')) (n : nat) {struct n} : ensemble (frm L') :=
match n with
| O => X
| S n => E.insert (nth_Henkin_axiom n) (addHenkin X n)
end.
Definition AddHenkin (X : ensemble (frm L')) : ensemble (frm L') :=
union_f (addHenkin X).
#[local] Hint Resolve fact1_of_1_2_8 fact2_of_1_2_8 fact3_of_1_2_8 fact4_of_1_2_8 fact5_of_1_2_8 lemma1_of_1_2_11 : core.

Lemma Th_X_equiconsistent_Th_AddHenkin (X : ensemble (frm L'))
(HC_free : forall A : frm L', forall c : Henkin_constants, A \in X -> HC_occurs_in_frm c A = false)
: equiconsistent (Th X) (Th (AddHenkin X)).