// Lean compiler output
// Module: Lean.Elab.Tactic.BVDecide.Frontend.BVDecide.ReifiedLemmas
// Imports: Lean.Elab.Tactic.BVDecide.Frontend.BVDecide.ReifiedBVLogical
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
lean_object* l_Lean_mkNatLit(lean_object*);
lean_object* l_Lean_Meta_mkAppOptM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfFalseLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__17;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__4;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__16;
lean_object* l_Lean_mkApp4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__19;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__8;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__1;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_LemmaM_addLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__11;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__14;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3;
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVPred_mkBinPred(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfFalseLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__13;
lean_object* l_Lean_Name_mkStr6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfTrueLemma___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__7;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__2;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkEvalExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__6;
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_ofPred(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6;
lean_object* lean_array_mk(lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__12;
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkGate(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfTrueLemma(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5;
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkBoolConst(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10;
static lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__18;
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Std", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("BVDecide", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Reflect", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Bool", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lemma_congr", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2;
x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3;
x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4;
x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5;
x_6 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__6;
x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_1, 1);
lean_inc(x_16);
lean_dec(x_1);
x_17 = lean_apply_6(x_16, x_10, x_11, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_19 = lean_ctor_get(x_17, 0);
lean_inc(x_3);
x_20 = l_Lean_Expr_const___override(x_2, x_3);
x_21 = lean_ctor_get(x_4, 0);
lean_inc(x_21);
lean_dec(x_4);
x_22 = l_Lean_mkNatLit(x_21);
x_23 = l_Lean_mkApp4(x_20, x_22, x_5, x_6, x_7);
x_24 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7;
x_25 = l_Lean_Expr_const___override(x_24, x_3);
x_26 = l_Lean_mkApp4(x_25, x_8, x_9, x_19, x_23);
lean_ctor_set(x_17, 0, x_26);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_27 = lean_ctor_get(x_17, 0);
x_28 = lean_ctor_get(x_17, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_17);
lean_inc(x_3);
x_29 = l_Lean_Expr_const___override(x_2, x_3);
x_30 = lean_ctor_get(x_4, 0);
lean_inc(x_30);
lean_dec(x_4);
x_31 = l_Lean_mkNatLit(x_30);
x_32 = l_Lean_mkApp4(x_29, x_31, x_5, x_6, x_7);
x_33 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7;
x_34 = l_Lean_Expr_const___override(x_33, x_3);
x_35 = l_Lean_mkApp4(x_34, x_8, x_9, x_27, x_32);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set(x_36, 1, x_28);
return x_36;
}
}
else
{
uint8_t x_37; 
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_37 = !lean_is_exclusive(x_17);
if (x_37 == 0)
{
return x_17;
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_38 = lean_ctor_get(x_17, 0);
x_39 = lean_ctor_get(x_17, 1);
lean_inc(x_39);
lean_inc(x_38);
lean_dec(x_17);
x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_38);
lean_ctor_set(x_40, 1, x_39);
return x_40;
}
}
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("BEq", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("beq", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__1;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("true", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__4;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Decidable", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("decide", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__7;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__8;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = lean_box(0);
x_3 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("false", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__11;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__12;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5;
x_3 = l_Lean_Expr_const___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("BitVec", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("if_false", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2;
x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3;
x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4;
x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15;
x_6 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__16;
x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6);
return x_7;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("if_true", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_1 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1;
x_2 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2;
x_3 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3;
x_4 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4;
x_5 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15;
x_6 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__18;
x_7 = l_Lean_Name_mkStr6(x_1, x_2, x_3, x_4, x_5, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; uint8_t x_17; 
x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkBoolConst(x_1, x_10, x_11, x_12, x_13, x_14, x_15);
if (x_1 == 0)
{
uint8_t x_281; 
x_281 = 0;
x_17 = x_281;
goto block_280;
}
else
{
uint8_t x_282; 
x_282 = 1;
x_17 = x_282;
goto block_280;
}
block_280:
{
lean_object* x_18; 
if (x_17 == 0)
{
lean_inc(x_9);
x_18 = x_9;
goto block_279;
}
else
{
lean_inc(x_8);
x_18 = x_8;
goto block_279;
}
block_279:
{
lean_object* x_19; 
if (x_17 == 0)
{
x_19 = x_5;
goto block_278;
}
else
{
lean_dec(x_5);
lean_inc(x_4);
x_19 = x_4;
goto block_278;
}
block_278:
{
lean_object* x_20; 
if (x_17 == 0)
{
lean_object* x_276; 
x_276 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__17;
x_20 = x_276;
goto block_275;
}
else
{
lean_object* x_277; 
x_277 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__19;
x_20 = x_277;
goto block_275;
}
block_275:
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; 
if (x_1 == 0)
{
lean_object* x_269; lean_object* x_270; lean_object* x_271; 
x_269 = lean_ctor_get(x_16, 0);
lean_inc(x_269);
x_270 = lean_ctor_get(x_16, 1);
lean_inc(x_270);
lean_dec(x_16);
x_271 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__13;
x_21 = x_271;
x_22 = x_269;
x_23 = x_270;
goto block_268;
}
else
{
lean_object* x_272; lean_object* x_273; lean_object* x_274; 
x_272 = lean_ctor_get(x_16, 0);
lean_inc(x_272);
x_273 = lean_ctor_get(x_16, 1);
lean_inc(x_273);
lean_dec(x_16);
x_274 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__14;
x_21 = x_274;
x_22 = x_272;
x_23 = x_273;
goto block_268;
}
block_268:
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_24 = lean_box(0);
lean_inc(x_21);
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_21);
lean_ctor_set(x_25, 1, x_24);
lean_inc(x_6);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_6);
lean_ctor_set(x_26, 1, x_25);
x_27 = lean_array_mk(x_26);
x_28 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__3;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_29 = l_Lean_Meta_mkAppM(x_28, x_27, x_11, x_12, x_13, x_14, x_23);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; uint8_t x_34; 
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
x_31 = lean_ctor_get(x_29, 1);
lean_inc(x_31);
lean_dec(x_29);
x_32 = 2;
lean_inc(x_6);
x_33 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkGate(x_2, x_22, x_6, x_21, x_32, x_10, x_11, x_12, x_13, x_14, x_31);
x_34 = !lean_is_exclusive(x_33);
if (x_34 == 0)
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_35 = lean_ctor_get(x_33, 0);
x_36 = lean_ctor_get(x_33, 1);
lean_inc(x_18);
lean_ctor_set_tag(x_33, 1);
lean_ctor_set(x_33, 1, x_24);
lean_ctor_set(x_33, 0, x_18);
lean_inc(x_7);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_7);
lean_ctor_set(x_37, 1, x_33);
x_38 = lean_array_mk(x_37);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_39 = l_Lean_Meta_mkAppM(x_28, x_38, x_11, x_12, x_13, x_14, x_36);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; 
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
x_41 = lean_ctor_get(x_39, 1);
lean_inc(x_41);
lean_dec(x_39);
x_42 = 0;
x_43 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVPred_mkBinPred(x_3, x_19, x_7, x_18, x_42, x_10, x_11, x_12, x_13, x_14, x_41);
x_44 = lean_ctor_get(x_43, 0);
lean_inc(x_44);
if (lean_obj_tag(x_44) == 0)
{
uint8_t x_45; 
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_45 = !lean_is_exclusive(x_43);
if (x_45 == 0)
{
lean_object* x_46; lean_object* x_47; 
x_46 = lean_ctor_get(x_43, 0);
lean_dec(x_46);
x_47 = lean_box(0);
lean_ctor_set(x_43, 0, x_47);
return x_43;
}
else
{
lean_object* x_48; lean_object* x_49; lean_object* x_50; 
x_48 = lean_ctor_get(x_43, 1);
lean_inc(x_48);
lean_dec(x_43);
x_49 = lean_box(0);
x_50 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_50, 0, x_49);
lean_ctor_set(x_50, 1, x_48);
return x_50;
}
}
else
{
lean_object* x_51; uint8_t x_52; 
x_51 = lean_ctor_get(x_43, 1);
lean_inc(x_51);
lean_dec(x_43);
x_52 = !lean_is_exclusive(x_44);
if (x_52 == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 
x_53 = lean_ctor_get(x_44, 0);
x_54 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_ofPred(x_53, x_10, x_11, x_12, x_13, x_14, x_51);
x_55 = lean_ctor_get(x_54, 0);
lean_inc(x_55);
x_56 = lean_ctor_get(x_54, 1);
lean_inc(x_56);
lean_dec(x_54);
x_57 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_30);
x_58 = l_Lean_Meta_mkEq(x_30, x_57, x_11, x_12, x_13, x_14, x_56);
if (lean_obj_tag(x_58) == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_59 = lean_ctor_get(x_58, 0);
lean_inc(x_59);
x_60 = lean_ctor_get(x_58, 1);
lean_inc(x_60);
lean_dec(x_58);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_40);
x_61 = l_Lean_Meta_mkEq(x_40, x_57, x_11, x_12, x_13, x_14, x_60);
if (lean_obj_tag(x_61) == 0)
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; 
x_62 = lean_ctor_get(x_61, 0);
lean_inc(x_62);
x_63 = lean_ctor_get(x_61, 1);
lean_inc(x_63);
lean_dec(x_61);
x_64 = l_Lean_mkArrow(x_59, x_62, x_13, x_14, x_63);
x_65 = !lean_is_exclusive(x_64);
if (x_65 == 0)
{
lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 
x_66 = lean_ctor_get(x_64, 0);
x_67 = lean_ctor_get(x_64, 1);
lean_ctor_set(x_44, 0, x_66);
x_68 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10;
lean_ctor_set_tag(x_64, 1);
lean_ctor_set(x_64, 1, x_68);
lean_ctor_set(x_64, 0, x_44);
x_69 = lean_array_mk(x_64);
x_70 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_71 = l_Lean_Meta_mkAppOptM(x_70, x_69, x_11, x_12, x_13, x_14, x_67);
if (lean_obj_tag(x_71) == 0)
{
lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; uint8_t x_76; 
x_72 = lean_ctor_get(x_71, 0);
lean_inc(x_72);
x_73 = lean_ctor_get(x_71, 1);
lean_inc(x_73);
lean_dec(x_71);
x_74 = 3;
x_75 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkGate(x_35, x_55, x_30, x_40, x_74, x_10, x_11, x_12, x_13, x_14, x_73);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
x_76 = !lean_is_exclusive(x_75);
if (x_76 == 0)
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; 
x_77 = lean_ctor_get(x_75, 0);
x_78 = lean_ctor_get(x_77, 0);
lean_inc(x_78);
x_79 = lean_ctor_get(x_77, 2);
lean_inc(x_79);
lean_inc(x_79);
x_80 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkEvalExpr___boxed), 7, 1);
lean_closure_set(x_80, 0, x_79);
lean_inc(x_77);
x_81 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1), 15, 8);
lean_closure_set(x_81, 0, x_77);
lean_closure_set(x_81, 1, x_20);
lean_closure_set(x_81, 2, x_24);
lean_closure_set(x_81, 3, x_4);
lean_closure_set(x_81, 4, x_6);
lean_closure_set(x_81, 5, x_8);
lean_closure_set(x_81, 6, x_9);
lean_closure_set(x_81, 7, x_72);
x_82 = !lean_is_exclusive(x_77);
if (x_82 == 0)
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_83 = lean_ctor_get(x_77, 2);
lean_dec(x_83);
x_84 = lean_ctor_get(x_77, 1);
lean_dec(x_84);
x_85 = lean_ctor_get(x_77, 0);
lean_dec(x_85);
x_86 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg), 8, 2);
lean_closure_set(x_86, 0, x_80);
lean_closure_set(x_86, 1, x_81);
lean_ctor_set(x_77, 1, x_86);
x_87 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_87, 0, x_77);
lean_ctor_set(x_75, 0, x_87);
return x_75;
}
else
{
lean_object* x_88; lean_object* x_89; lean_object* x_90; 
lean_dec(x_77);
x_88 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg), 8, 2);
lean_closure_set(x_88, 0, x_80);
lean_closure_set(x_88, 1, x_81);
x_89 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_89, 0, x_78);
lean_ctor_set(x_89, 1, x_88);
lean_ctor_set(x_89, 2, x_79);
x_90 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_90, 0, x_89);
lean_ctor_set(x_75, 0, x_90);
return x_75;
}
}
else
{
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_91 = lean_ctor_get(x_75, 0);
x_92 = lean_ctor_get(x_75, 1);
lean_inc(x_92);
lean_inc(x_91);
lean_dec(x_75);
x_93 = lean_ctor_get(x_91, 0);
lean_inc(x_93);
x_94 = lean_ctor_get(x_91, 2);
lean_inc(x_94);
lean_inc(x_94);
x_95 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkEvalExpr___boxed), 7, 1);
lean_closure_set(x_95, 0, x_94);
lean_inc(x_91);
x_96 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1), 15, 8);
lean_closure_set(x_96, 0, x_91);
lean_closure_set(x_96, 1, x_20);
lean_closure_set(x_96, 2, x_24);
lean_closure_set(x_96, 3, x_4);
lean_closure_set(x_96, 4, x_6);
lean_closure_set(x_96, 5, x_8);
lean_closure_set(x_96, 6, x_9);
lean_closure_set(x_96, 7, x_72);
if (lean_is_exclusive(x_91)) {
 lean_ctor_release(x_91, 0);
 lean_ctor_release(x_91, 1);
 lean_ctor_release(x_91, 2);
 x_97 = x_91;
} else {
 lean_dec_ref(x_91);
 x_97 = lean_box(0);
}
x_98 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg), 8, 2);
lean_closure_set(x_98, 0, x_95);
lean_closure_set(x_98, 1, x_96);
if (lean_is_scalar(x_97)) {
 x_99 = lean_alloc_ctor(0, 3, 0);
} else {
 x_99 = x_97;
}
lean_ctor_set(x_99, 0, x_93);
lean_ctor_set(x_99, 1, x_98);
lean_ctor_set(x_99, 2, x_94);
x_100 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_100, 0, x_99);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_100);
lean_ctor_set(x_101, 1, x_92);
return x_101;
}
}
else
{
uint8_t x_102; 
lean_dec(x_55);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_102 = !lean_is_exclusive(x_71);
if (x_102 == 0)
{
return x_71;
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; 
x_103 = lean_ctor_get(x_71, 0);
x_104 = lean_ctor_get(x_71, 1);
lean_inc(x_104);
lean_inc(x_103);
lean_dec(x_71);
x_105 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_105, 0, x_103);
lean_ctor_set(x_105, 1, x_104);
return x_105;
}
}
}
else
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; 
x_106 = lean_ctor_get(x_64, 0);
x_107 = lean_ctor_get(x_64, 1);
lean_inc(x_107);
lean_inc(x_106);
lean_dec(x_64);
lean_ctor_set(x_44, 0, x_106);
x_108 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10;
x_109 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_109, 0, x_44);
lean_ctor_set(x_109, 1, x_108);
x_110 = lean_array_mk(x_109);
x_111 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_112 = l_Lean_Meta_mkAppOptM(x_111, x_110, x_11, x_12, x_13, x_14, x_107);
if (lean_obj_tag(x_112) == 0)
{
lean_object* x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; 
x_113 = lean_ctor_get(x_112, 0);
lean_inc(x_113);
x_114 = lean_ctor_get(x_112, 1);
lean_inc(x_114);
lean_dec(x_112);
x_115 = 3;
x_116 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkGate(x_35, x_55, x_30, x_40, x_115, x_10, x_11, x_12, x_13, x_14, x_114);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
x_117 = lean_ctor_get(x_116, 0);
lean_inc(x_117);
x_118 = lean_ctor_get(x_116, 1);
lean_inc(x_118);
if (lean_is_exclusive(x_116)) {
 lean_ctor_release(x_116, 0);
 lean_ctor_release(x_116, 1);
 x_119 = x_116;
} else {
 lean_dec_ref(x_116);
 x_119 = lean_box(0);
}
x_120 = lean_ctor_get(x_117, 0);
lean_inc(x_120);
x_121 = lean_ctor_get(x_117, 2);
lean_inc(x_121);
lean_inc(x_121);
x_122 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkEvalExpr___boxed), 7, 1);
lean_closure_set(x_122, 0, x_121);
lean_inc(x_117);
x_123 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1), 15, 8);
lean_closure_set(x_123, 0, x_117);
lean_closure_set(x_123, 1, x_20);
lean_closure_set(x_123, 2, x_24);
lean_closure_set(x_123, 3, x_4);
lean_closure_set(x_123, 4, x_6);
lean_closure_set(x_123, 5, x_8);
lean_closure_set(x_123, 6, x_9);
lean_closure_set(x_123, 7, x_113);
if (lean_is_exclusive(x_117)) {
 lean_ctor_release(x_117, 0);
 lean_ctor_release(x_117, 1);
 lean_ctor_release(x_117, 2);
 x_124 = x_117;
} else {
 lean_dec_ref(x_117);
 x_124 = lean_box(0);
}
x_125 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg), 8, 2);
lean_closure_set(x_125, 0, x_122);
lean_closure_set(x_125, 1, x_123);
if (lean_is_scalar(x_124)) {
 x_126 = lean_alloc_ctor(0, 3, 0);
} else {
 x_126 = x_124;
}
lean_ctor_set(x_126, 0, x_120);
lean_ctor_set(x_126, 1, x_125);
lean_ctor_set(x_126, 2, x_121);
x_127 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_127, 0, x_126);
if (lean_is_scalar(x_119)) {
 x_128 = lean_alloc_ctor(0, 2, 0);
} else {
 x_128 = x_119;
}
lean_ctor_set(x_128, 0, x_127);
lean_ctor_set(x_128, 1, x_118);
return x_128;
}
else
{
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; 
lean_dec(x_55);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_129 = lean_ctor_get(x_112, 0);
lean_inc(x_129);
x_130 = lean_ctor_get(x_112, 1);
lean_inc(x_130);
if (lean_is_exclusive(x_112)) {
 lean_ctor_release(x_112, 0);
 lean_ctor_release(x_112, 1);
 x_131 = x_112;
} else {
 lean_dec_ref(x_112);
 x_131 = lean_box(0);
}
if (lean_is_scalar(x_131)) {
 x_132 = lean_alloc_ctor(1, 2, 0);
} else {
 x_132 = x_131;
}
lean_ctor_set(x_132, 0, x_129);
lean_ctor_set(x_132, 1, x_130);
return x_132;
}
}
}
else
{
uint8_t x_133; 
lean_dec(x_59);
lean_dec(x_55);
lean_free_object(x_44);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_133 = !lean_is_exclusive(x_61);
if (x_133 == 0)
{
return x_61;
}
else
{
lean_object* x_134; lean_object* x_135; lean_object* x_136; 
x_134 = lean_ctor_get(x_61, 0);
x_135 = lean_ctor_get(x_61, 1);
lean_inc(x_135);
lean_inc(x_134);
lean_dec(x_61);
x_136 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_136, 0, x_134);
lean_ctor_set(x_136, 1, x_135);
return x_136;
}
}
}
else
{
uint8_t x_137; 
lean_dec(x_55);
lean_free_object(x_44);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_137 = !lean_is_exclusive(x_58);
if (x_137 == 0)
{
return x_58;
}
else
{
lean_object* x_138; lean_object* x_139; lean_object* x_140; 
x_138 = lean_ctor_get(x_58, 0);
x_139 = lean_ctor_get(x_58, 1);
lean_inc(x_139);
lean_inc(x_138);
lean_dec(x_58);
x_140 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_140, 0, x_138);
lean_ctor_set(x_140, 1, x_139);
return x_140;
}
}
}
else
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; 
x_141 = lean_ctor_get(x_44, 0);
lean_inc(x_141);
lean_dec(x_44);
x_142 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_ofPred(x_141, x_10, x_11, x_12, x_13, x_14, x_51);
x_143 = lean_ctor_get(x_142, 0);
lean_inc(x_143);
x_144 = lean_ctor_get(x_142, 1);
lean_inc(x_144);
lean_dec(x_142);
x_145 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_30);
x_146 = l_Lean_Meta_mkEq(x_30, x_145, x_11, x_12, x_13, x_14, x_144);
if (lean_obj_tag(x_146) == 0)
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; 
x_147 = lean_ctor_get(x_146, 0);
lean_inc(x_147);
x_148 = lean_ctor_get(x_146, 1);
lean_inc(x_148);
lean_dec(x_146);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_40);
x_149 = l_Lean_Meta_mkEq(x_40, x_145, x_11, x_12, x_13, x_14, x_148);
if (lean_obj_tag(x_149) == 0)
{
lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; 
x_150 = lean_ctor_get(x_149, 0);
lean_inc(x_150);
x_151 = lean_ctor_get(x_149, 1);
lean_inc(x_151);
lean_dec(x_149);
x_152 = l_Lean_mkArrow(x_147, x_150, x_13, x_14, x_151);
x_153 = lean_ctor_get(x_152, 0);
lean_inc(x_153);
x_154 = lean_ctor_get(x_152, 1);
lean_inc(x_154);
if (lean_is_exclusive(x_152)) {
 lean_ctor_release(x_152, 0);
 lean_ctor_release(x_152, 1);
 x_155 = x_152;
} else {
 lean_dec_ref(x_152);
 x_155 = lean_box(0);
}
x_156 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_156, 0, x_153);
x_157 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10;
if (lean_is_scalar(x_155)) {
 x_158 = lean_alloc_ctor(1, 2, 0);
} else {
 x_158 = x_155;
 lean_ctor_set_tag(x_158, 1);
}
lean_ctor_set(x_158, 0, x_156);
lean_ctor_set(x_158, 1, x_157);
x_159 = lean_array_mk(x_158);
x_160 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_161 = l_Lean_Meta_mkAppOptM(x_160, x_159, x_11, x_12, x_13, x_14, x_154);
if (lean_obj_tag(x_161) == 0)
{
lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; 
x_162 = lean_ctor_get(x_161, 0);
lean_inc(x_162);
x_163 = lean_ctor_get(x_161, 1);
lean_inc(x_163);
lean_dec(x_161);
x_164 = 3;
x_165 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkGate(x_35, x_143, x_30, x_40, x_164, x_10, x_11, x_12, x_13, x_14, x_163);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
x_166 = lean_ctor_get(x_165, 0);
lean_inc(x_166);
x_167 = lean_ctor_get(x_165, 1);
lean_inc(x_167);
if (lean_is_exclusive(x_165)) {
 lean_ctor_release(x_165, 0);
 lean_ctor_release(x_165, 1);
 x_168 = x_165;
} else {
 lean_dec_ref(x_165);
 x_168 = lean_box(0);
}
x_169 = lean_ctor_get(x_166, 0);
lean_inc(x_169);
x_170 = lean_ctor_get(x_166, 2);
lean_inc(x_170);
lean_inc(x_170);
x_171 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkEvalExpr___boxed), 7, 1);
lean_closure_set(x_171, 0, x_170);
lean_inc(x_166);
x_172 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1), 15, 8);
lean_closure_set(x_172, 0, x_166);
lean_closure_set(x_172, 1, x_20);
lean_closure_set(x_172, 2, x_24);
lean_closure_set(x_172, 3, x_4);
lean_closure_set(x_172, 4, x_6);
lean_closure_set(x_172, 5, x_8);
lean_closure_set(x_172, 6, x_9);
lean_closure_set(x_172, 7, x_162);
if (lean_is_exclusive(x_166)) {
 lean_ctor_release(x_166, 0);
 lean_ctor_release(x_166, 1);
 lean_ctor_release(x_166, 2);
 x_173 = x_166;
} else {
 lean_dec_ref(x_166);
 x_173 = lean_box(0);
}
x_174 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg), 8, 2);
lean_closure_set(x_174, 0, x_171);
lean_closure_set(x_174, 1, x_172);
if (lean_is_scalar(x_173)) {
 x_175 = lean_alloc_ctor(0, 3, 0);
} else {
 x_175 = x_173;
}
lean_ctor_set(x_175, 0, x_169);
lean_ctor_set(x_175, 1, x_174);
lean_ctor_set(x_175, 2, x_170);
x_176 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_176, 0, x_175);
if (lean_is_scalar(x_168)) {
 x_177 = lean_alloc_ctor(0, 2, 0);
} else {
 x_177 = x_168;
}
lean_ctor_set(x_177, 0, x_176);
lean_ctor_set(x_177, 1, x_167);
return x_177;
}
else
{
lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; 
lean_dec(x_143);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_178 = lean_ctor_get(x_161, 0);
lean_inc(x_178);
x_179 = lean_ctor_get(x_161, 1);
lean_inc(x_179);
if (lean_is_exclusive(x_161)) {
 lean_ctor_release(x_161, 0);
 lean_ctor_release(x_161, 1);
 x_180 = x_161;
} else {
 lean_dec_ref(x_161);
 x_180 = lean_box(0);
}
if (lean_is_scalar(x_180)) {
 x_181 = lean_alloc_ctor(1, 2, 0);
} else {
 x_181 = x_180;
}
lean_ctor_set(x_181, 0, x_178);
lean_ctor_set(x_181, 1, x_179);
return x_181;
}
}
else
{
lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; 
lean_dec(x_147);
lean_dec(x_143);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_182 = lean_ctor_get(x_149, 0);
lean_inc(x_182);
x_183 = lean_ctor_get(x_149, 1);
lean_inc(x_183);
if (lean_is_exclusive(x_149)) {
 lean_ctor_release(x_149, 0);
 lean_ctor_release(x_149, 1);
 x_184 = x_149;
} else {
 lean_dec_ref(x_149);
 x_184 = lean_box(0);
}
if (lean_is_scalar(x_184)) {
 x_185 = lean_alloc_ctor(1, 2, 0);
} else {
 x_185 = x_184;
}
lean_ctor_set(x_185, 0, x_182);
lean_ctor_set(x_185, 1, x_183);
return x_185;
}
}
else
{
lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; 
lean_dec(x_143);
lean_dec(x_40);
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_186 = lean_ctor_get(x_146, 0);
lean_inc(x_186);
x_187 = lean_ctor_get(x_146, 1);
lean_inc(x_187);
if (lean_is_exclusive(x_146)) {
 lean_ctor_release(x_146, 0);
 lean_ctor_release(x_146, 1);
 x_188 = x_146;
} else {
 lean_dec_ref(x_146);
 x_188 = lean_box(0);
}
if (lean_is_scalar(x_188)) {
 x_189 = lean_alloc_ctor(1, 2, 0);
} else {
 x_189 = x_188;
}
lean_ctor_set(x_189, 0, x_186);
lean_ctor_set(x_189, 1, x_187);
return x_189;
}
}
}
}
else
{
uint8_t x_190; 
lean_dec(x_35);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_3);
x_190 = !lean_is_exclusive(x_39);
if (x_190 == 0)
{
return x_39;
}
else
{
lean_object* x_191; lean_object* x_192; lean_object* x_193; 
x_191 = lean_ctor_get(x_39, 0);
x_192 = lean_ctor_get(x_39, 1);
lean_inc(x_192);
lean_inc(x_191);
lean_dec(x_39);
x_193 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_193, 0, x_191);
lean_ctor_set(x_193, 1, x_192);
return x_193;
}
}
}
else
{
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; 
x_194 = lean_ctor_get(x_33, 0);
x_195 = lean_ctor_get(x_33, 1);
lean_inc(x_195);
lean_inc(x_194);
lean_dec(x_33);
lean_inc(x_18);
x_196 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_196, 0, x_18);
lean_ctor_set(x_196, 1, x_24);
lean_inc(x_7);
x_197 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_197, 0, x_7);
lean_ctor_set(x_197, 1, x_196);
x_198 = lean_array_mk(x_197);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_199 = l_Lean_Meta_mkAppM(x_28, x_198, x_11, x_12, x_13, x_14, x_195);
if (lean_obj_tag(x_199) == 0)
{
lean_object* x_200; lean_object* x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; 
x_200 = lean_ctor_get(x_199, 0);
lean_inc(x_200);
x_201 = lean_ctor_get(x_199, 1);
lean_inc(x_201);
lean_dec(x_199);
x_202 = 0;
x_203 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVPred_mkBinPred(x_3, x_19, x_7, x_18, x_202, x_10, x_11, x_12, x_13, x_14, x_201);
x_204 = lean_ctor_get(x_203, 0);
lean_inc(x_204);
if (lean_obj_tag(x_204) == 0)
{
lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; 
lean_dec(x_200);
lean_dec(x_194);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_205 = lean_ctor_get(x_203, 1);
lean_inc(x_205);
if (lean_is_exclusive(x_203)) {
 lean_ctor_release(x_203, 0);
 lean_ctor_release(x_203, 1);
 x_206 = x_203;
} else {
 lean_dec_ref(x_203);
 x_206 = lean_box(0);
}
x_207 = lean_box(0);
if (lean_is_scalar(x_206)) {
 x_208 = lean_alloc_ctor(0, 2, 0);
} else {
 x_208 = x_206;
}
lean_ctor_set(x_208, 0, x_207);
lean_ctor_set(x_208, 1, x_205);
return x_208;
}
else
{
lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; 
x_209 = lean_ctor_get(x_203, 1);
lean_inc(x_209);
lean_dec(x_203);
x_210 = lean_ctor_get(x_204, 0);
lean_inc(x_210);
if (lean_is_exclusive(x_204)) {
 lean_ctor_release(x_204, 0);
 x_211 = x_204;
} else {
 lean_dec_ref(x_204);
 x_211 = lean_box(0);
}
x_212 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_ofPred(x_210, x_10, x_11, x_12, x_13, x_14, x_209);
x_213 = lean_ctor_get(x_212, 0);
lean_inc(x_213);
x_214 = lean_ctor_get(x_212, 1);
lean_inc(x_214);
lean_dec(x_212);
x_215 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_30);
x_216 = l_Lean_Meta_mkEq(x_30, x_215, x_11, x_12, x_13, x_14, x_214);
if (lean_obj_tag(x_216) == 0)
{
lean_object* x_217; lean_object* x_218; lean_object* x_219; 
x_217 = lean_ctor_get(x_216, 0);
lean_inc(x_217);
x_218 = lean_ctor_get(x_216, 1);
lean_inc(x_218);
lean_dec(x_216);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_200);
x_219 = l_Lean_Meta_mkEq(x_200, x_215, x_11, x_12, x_13, x_14, x_218);
if (lean_obj_tag(x_219) == 0)
{
lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; 
x_220 = lean_ctor_get(x_219, 0);
lean_inc(x_220);
x_221 = lean_ctor_get(x_219, 1);
lean_inc(x_221);
lean_dec(x_219);
x_222 = l_Lean_mkArrow(x_217, x_220, x_13, x_14, x_221);
x_223 = lean_ctor_get(x_222, 0);
lean_inc(x_223);
x_224 = lean_ctor_get(x_222, 1);
lean_inc(x_224);
if (lean_is_exclusive(x_222)) {
 lean_ctor_release(x_222, 0);
 lean_ctor_release(x_222, 1);
 x_225 = x_222;
} else {
 lean_dec_ref(x_222);
 x_225 = lean_box(0);
}
if (lean_is_scalar(x_211)) {
 x_226 = lean_alloc_ctor(1, 1, 0);
} else {
 x_226 = x_211;
}
lean_ctor_set(x_226, 0, x_223);
x_227 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10;
if (lean_is_scalar(x_225)) {
 x_228 = lean_alloc_ctor(1, 2, 0);
} else {
 x_228 = x_225;
 lean_ctor_set_tag(x_228, 1);
}
lean_ctor_set(x_228, 0, x_226);
lean_ctor_set(x_228, 1, x_227);
x_229 = lean_array_mk(x_228);
x_230 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_231 = l_Lean_Meta_mkAppOptM(x_230, x_229, x_11, x_12, x_13, x_14, x_224);
if (lean_obj_tag(x_231) == 0)
{
lean_object* x_232; lean_object* x_233; uint8_t x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; 
x_232 = lean_ctor_get(x_231, 0);
lean_inc(x_232);
x_233 = lean_ctor_get(x_231, 1);
lean_inc(x_233);
lean_dec(x_231);
x_234 = 3;
x_235 = l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkGate(x_194, x_213, x_30, x_200, x_234, x_10, x_11, x_12, x_13, x_14, x_233);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
x_236 = lean_ctor_get(x_235, 0);
lean_inc(x_236);
x_237 = lean_ctor_get(x_235, 1);
lean_inc(x_237);
if (lean_is_exclusive(x_235)) {
 lean_ctor_release(x_235, 0);
 lean_ctor_release(x_235, 1);
 x_238 = x_235;
} else {
 lean_dec_ref(x_235);
 x_238 = lean_box(0);
}
x_239 = lean_ctor_get(x_236, 0);
lean_inc(x_239);
x_240 = lean_ctor_get(x_236, 2);
lean_inc(x_240);
lean_inc(x_240);
x_241 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVLogical_mkEvalExpr___boxed), 7, 1);
lean_closure_set(x_241, 0, x_240);
lean_inc(x_236);
x_242 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1), 15, 8);
lean_closure_set(x_242, 0, x_236);
lean_closure_set(x_242, 1, x_20);
lean_closure_set(x_242, 2, x_24);
lean_closure_set(x_242, 3, x_4);
lean_closure_set(x_242, 4, x_6);
lean_closure_set(x_242, 5, x_8);
lean_closure_set(x_242, 6, x_9);
lean_closure_set(x_242, 7, x_232);
if (lean_is_exclusive(x_236)) {
 lean_ctor_release(x_236, 0);
 lean_ctor_release(x_236, 1);
 lean_ctor_release(x_236, 2);
 x_243 = x_236;
} else {
 lean_dec_ref(x_236);
 x_243 = lean_box(0);
}
x_244 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_BVDecide_Frontend_ReifiedBVExpr_mkAtom___spec__1___rarg), 8, 2);
lean_closure_set(x_244, 0, x_241);
lean_closure_set(x_244, 1, x_242);
if (lean_is_scalar(x_243)) {
 x_245 = lean_alloc_ctor(0, 3, 0);
} else {
 x_245 = x_243;
}
lean_ctor_set(x_245, 0, x_239);
lean_ctor_set(x_245, 1, x_244);
lean_ctor_set(x_245, 2, x_240);
x_246 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_246, 0, x_245);
if (lean_is_scalar(x_238)) {
 x_247 = lean_alloc_ctor(0, 2, 0);
} else {
 x_247 = x_238;
}
lean_ctor_set(x_247, 0, x_246);
lean_ctor_set(x_247, 1, x_237);
return x_247;
}
else
{
lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; 
lean_dec(x_213);
lean_dec(x_200);
lean_dec(x_194);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_248 = lean_ctor_get(x_231, 0);
lean_inc(x_248);
x_249 = lean_ctor_get(x_231, 1);
lean_inc(x_249);
if (lean_is_exclusive(x_231)) {
 lean_ctor_release(x_231, 0);
 lean_ctor_release(x_231, 1);
 x_250 = x_231;
} else {
 lean_dec_ref(x_231);
 x_250 = lean_box(0);
}
if (lean_is_scalar(x_250)) {
 x_251 = lean_alloc_ctor(1, 2, 0);
} else {
 x_251 = x_250;
}
lean_ctor_set(x_251, 0, x_248);
lean_ctor_set(x_251, 1, x_249);
return x_251;
}
}
else
{
lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; 
lean_dec(x_217);
lean_dec(x_213);
lean_dec(x_211);
lean_dec(x_200);
lean_dec(x_194);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_252 = lean_ctor_get(x_219, 0);
lean_inc(x_252);
x_253 = lean_ctor_get(x_219, 1);
lean_inc(x_253);
if (lean_is_exclusive(x_219)) {
 lean_ctor_release(x_219, 0);
 lean_ctor_release(x_219, 1);
 x_254 = x_219;
} else {
 lean_dec_ref(x_219);
 x_254 = lean_box(0);
}
if (lean_is_scalar(x_254)) {
 x_255 = lean_alloc_ctor(1, 2, 0);
} else {
 x_255 = x_254;
}
lean_ctor_set(x_255, 0, x_252);
lean_ctor_set(x_255, 1, x_253);
return x_255;
}
}
else
{
lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; 
lean_dec(x_213);
lean_dec(x_211);
lean_dec(x_200);
lean_dec(x_194);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_4);
x_256 = lean_ctor_get(x_216, 0);
lean_inc(x_256);
x_257 = lean_ctor_get(x_216, 1);
lean_inc(x_257);
if (lean_is_exclusive(x_216)) {
 lean_ctor_release(x_216, 0);
 lean_ctor_release(x_216, 1);
 x_258 = x_216;
} else {
 lean_dec_ref(x_216);
 x_258 = lean_box(0);
}
if (lean_is_scalar(x_258)) {
 x_259 = lean_alloc_ctor(1, 2, 0);
} else {
 x_259 = x_258;
}
lean_ctor_set(x_259, 0, x_256);
lean_ctor_set(x_259, 1, x_257);
return x_259;
}
}
}
else
{
lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; 
lean_dec(x_194);
lean_dec(x_30);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_3);
x_260 = lean_ctor_get(x_199, 0);
lean_inc(x_260);
x_261 = lean_ctor_get(x_199, 1);
lean_inc(x_261);
if (lean_is_exclusive(x_199)) {
 lean_ctor_release(x_199, 0);
 lean_ctor_release(x_199, 1);
 x_262 = x_199;
} else {
 lean_dec_ref(x_199);
 x_262 = lean_box(0);
}
if (lean_is_scalar(x_262)) {
 x_263 = lean_alloc_ctor(1, 2, 0);
} else {
 x_263 = x_262;
}
lean_ctor_set(x_263, 0, x_260);
lean_ctor_set(x_263, 1, x_261);
return x_263;
}
}
}
else
{
uint8_t x_264; 
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_264 = !lean_is_exclusive(x_29);
if (x_264 == 0)
{
return x_29;
}
else
{
lean_object* x_265; lean_object* x_266; lean_object* x_267; 
x_265 = lean_ctor_get(x_29, 0);
x_266 = lean_ctor_get(x_29, 1);
lean_inc(x_266);
lean_inc(x_265);
lean_dec(x_29);
x_267 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_267, 0, x_265);
lean_ctor_set(x_267, 1, x_266);
return x_267;
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
uint8_t x_16; lean_object* x_17; 
x_16 = lean_unbox(x_1);
lean_dec(x_1);
x_17 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_10);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfTrueLemma(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfTrueLemma___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_15; 
x_15 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfTrueLemma(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
lean_dec(x_9);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfFalseLemma(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
uint8_t x_15; lean_object* x_16; 
x_15 = 0;
x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfFalseLemma___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_15; 
x_15 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfFalseLemma(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
lean_dec(x_9);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
uint8_t x_16; lean_object* x_17; 
x_16 = 1;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
lean_inc(x_8);
lean_inc(x_7);
lean_inc(x_6);
lean_inc(x_5);
lean_inc(x_4);
lean_inc(x_3);
lean_inc(x_2);
lean_inc(x_1);
x_17 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
if (lean_obj_tag(x_18) == 0)
{
uint8_t x_19; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_19 = !lean_is_exclusive(x_17);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; 
x_20 = lean_ctor_get(x_17, 0);
lean_dec(x_20);
x_21 = lean_box(0);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_22 = lean_ctor_get(x_17, 1);
lean_inc(x_22);
lean_dec(x_17);
x_23 = lean_box(0);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_22);
return x_24;
}
}
else
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; 
x_25 = lean_ctor_get(x_17, 1);
lean_inc(x_25);
lean_dec(x_17);
x_26 = lean_ctor_get(x_18, 0);
lean_inc(x_26);
lean_dec(x_18);
x_27 = l_Lean_Elab_Tactic_BVDecide_Frontend_LemmaM_addLemma(x_26, x_9, x_10, x_11, x_12, x_13, x_14, x_25);
x_28 = lean_ctor_get(x_27, 1);
lean_inc(x_28);
lean_dec(x_27);
x_29 = 0;
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_inc(x_11);
x_30 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma(x_29, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_28);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
x_32 = !lean_is_exclusive(x_30);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; 
x_33 = lean_ctor_get(x_30, 0);
lean_dec(x_33);
x_34 = lean_box(0);
lean_ctor_set(x_30, 0, x_34);
return x_30;
}
else
{
lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_35 = lean_ctor_get(x_30, 1);
lean_inc(x_35);
lean_dec(x_30);
x_36 = lean_box(0);
x_37 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_35);
return x_37;
}
}
else
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; 
x_38 = lean_ctor_get(x_30, 1);
lean_inc(x_38);
lean_dec(x_30);
x_39 = lean_ctor_get(x_31, 0);
lean_inc(x_39);
lean_dec(x_31);
x_40 = l_Lean_Elab_Tactic_BVDecide_Frontend_LemmaM_addLemma(x_39, x_9, x_10, x_11, x_12, x_13, x_14, x_38);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
return x_40;
}
}
else
{
uint8_t x_41; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
x_41 = !lean_is_exclusive(x_30);
if (x_41 == 0)
{
return x_30;
}
else
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_42 = lean_ctor_get(x_30, 0);
x_43 = lean_ctor_get(x_30, 1);
lean_inc(x_43);
lean_inc(x_42);
lean_dec(x_30);
x_44 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_44, 0, x_42);
lean_ctor_set(x_44, 1, x_43);
return x_44;
}
}
}
}
else
{
uint8_t x_45; 
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_45 = !lean_is_exclusive(x_17);
if (x_45 == 0)
{
return x_17;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_46 = lean_ctor_get(x_17, 0);
x_47 = lean_ctor_get(x_17, 1);
lean_inc(x_47);
lean_inc(x_46);
lean_dec(x_17);
x_48 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
return x_48;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec(x_10);
lean_dec(x_9);
return x_16;
}
}
lean_object* initialize_Lean_Elab_Tactic_BVDecide_Frontend_BVDecide_ReifiedBVLogical(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_Tactic_BVDecide_Frontend_BVDecide_ReifiedLemmas(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Elab_Tactic_BVDecide_Frontend_BVDecide_ReifiedBVLogical(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__1);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__2);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__3);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__4);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__5);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__6();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__6);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___lambda__1___closed__7);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__1 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__1();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__1);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__2 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__2();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__2);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__3 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__3();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__3);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__4 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__4();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__4);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__5);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__6);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__7 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__7();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__7);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__8 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__8();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__8);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__9);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__10);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__11 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__11();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__11);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__12 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__12();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__12);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__13 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__13();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__13);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__14 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__14();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__14);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__15);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__16 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__16();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__16);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__17 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__17();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__17);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__18 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__18();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__18);
l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__19 = _init_l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__19();
lean_mark_persistent(l_Lean_Elab_Tactic_BVDecide_Frontend_addIfLemmas_mkIfLemma___closed__19);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
