// Lean compiler output
// Module: Lean.Meta.NatInstTesters
// Imports: Lean.Meta.Basic
#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_EXPORT lean_object* l_Lean_Meta_isInstNatPowNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHMulNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHAddNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLTNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHPowNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstSubNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstLTNat___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLENat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLENat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstOfNatNat___closed__2;
static lean_object* l_Lean_Meta_isInstHModNat___closed__1;
static lean_object* l_Lean_Meta_isInstMulNat___closed__2;
uint8_t l_Lean_Expr_isApp(lean_object*);
static lean_object* l_Lean_Meta_isInstHSubNat___closed__1;
static lean_object* l_Lean_Meta_isInstLENat___closed__2;
static lean_object* l_Lean_Meta_isInstDivNat___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstMulNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_cleanupAnnotations(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHMulNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstSubNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstDivNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHPowNat___closed__3;
static lean_object* l_Lean_Meta_isInstNatPowNat___closed__2;
static lean_object* l_Lean_Meta_isInstLENat___closed__1;
static lean_object* l_Lean_Meta_isInstHMulNat___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstModNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHDivNat___closed__2;
static lean_object* l_Lean_Meta_isInstHPowNat___closed__2;
static lean_object* l_Lean_Meta_isInstAddNat___closed__2;
static lean_object* l_Lean_Meta_isInstDivNat___closed__3;
static lean_object* l_Lean_Meta_isInstDivNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstModNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_appArg(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHAddNat___closed__2;
static lean_object* l_Lean_Meta_isInstSubNat___closed__2;
static lean_object* l_Lean_Meta_isInstNatPowNat___closed__1;
lean_object* l_Lean_Expr_appFnCleanup(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstOfNatNat___closed__4;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHSubNat___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstDivNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHMulNat___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHDivNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstLTNat___closed__1;
static lean_object* l_Lean_Meta_isInstAddNat___closed__1;
static lean_object* l_Lean_Meta_isInstModNat___closed__2;
static lean_object* l_Lean_Meta_isInstHDivNat___closed__3;
static lean_object* l_Lean_Meta_isInstOfNatNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHModNat___closed__3;
uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHModNat___closed__2;
static lean_object* l_Lean_Meta_isInstHAddNat___closed__3;
static lean_object* l_Lean_Meta_isInstModNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstAddNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLTNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHSubNat___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHSubNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstHDivNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstNatPowNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstPowNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstSubNat___closed__1;
static lean_object* l_Lean_Meta_isInstMulNat___closed__1;
static lean_object* l_Lean_Meta_isInstPowNat___closed__2;
static lean_object* l_Lean_Meta_isInstHAddNat___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstAddNat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHModNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstMulNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHPowNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Meta_isInstPowNat___closed__3;
static lean_object* l_Lean_Meta_isInstPowNat___closed__1;
static lean_object* l_Lean_Meta_isInstOfNatNat___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___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) {
_start:
{
uint8_t x_7; lean_object* x_8; lean_object* x_9; 
x_7 = 1;
x_8 = lean_box(x_7);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_6);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_7; lean_object* x_8; lean_object* x_9; 
x_7 = 0;
x_8 = lean_box(x_7);
x_9 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_9, 1, x_6);
return x_9;
}
}
static lean_object* _init_l_Lean_Meta_isInstOfNatNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstOfNatNat___lambda__1___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstOfNatNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstOfNatNat___lambda__2___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstOfNatNat___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instOfNatNat", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstOfNatNat___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstOfNatNat___closed__3;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = lean_ctor_get(x_7, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_7, 1);
lean_inc(x_9);
lean_dec(x_7);
x_10 = l_Lean_Meta_isInstOfNatNat___closed__1;
x_11 = l_Lean_Meta_isInstOfNatNat___closed__2;
x_12 = l_Lean_Expr_cleanupAnnotations(x_8);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; 
lean_dec(x_12);
x_14 = lean_box(0);
x_15 = lean_apply_6(x_11, x_14, x_2, x_3, x_4, x_5, x_9);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_17 = l_Lean_Meta_isInstOfNatNat___closed__4;
x_18 = l_Lean_Expr_isConstOf(x_16, x_17);
lean_dec(x_16);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; 
x_19 = lean_box(0);
x_20 = lean_apply_6(x_11, x_19, x_2, x_3, x_4, x_5, x_9);
return x_20;
}
else
{
lean_object* x_21; lean_object* x_22; 
x_21 = lean_box(0);
x_22 = lean_apply_6(x_10, x_21, x_2, x_3, x_4, x_5, x_9);
return x_22;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__1___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstOfNatNat___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstOfNatNat___lambda__2___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstOfNatNat___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstAddNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instAddNat", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstAddNat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstAddNat___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstAddNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstAddNat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstAddNat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstAddNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstAddNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstSubNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instSubNat", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstSubNat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstSubNat___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstSubNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstSubNat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstSubNat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstSubNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstSubNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstMulNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instMulNat", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstMulNat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstMulNat___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstMulNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstMulNat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstMulNat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstMulNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstMulNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstDivNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Nat", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstDivNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instDiv", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstDivNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_isInstDivNat___closed__1;
x_2 = l_Lean_Meta_isInstDivNat___closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstDivNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstDivNat___closed__3;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstDivNat___closed__3;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstDivNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstDivNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstModNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instMod", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstModNat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Meta_isInstDivNat___closed__1;
x_2 = l_Lean_Meta_isInstModNat___closed__1;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstModNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstModNat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstModNat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstModNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstModNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstNatPowNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instNatPowNat", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstNatPowNat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstNatPowNat___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstNatPowNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstNatPowNat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstNatPowNat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstNatPowNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstNatPowNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstPowNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstNatPowNat___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstPowNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instPowNat", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstPowNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstPowNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstPowNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstPowNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Meta_isInstPowNat___closed__3;
x_23 = l_Lean_Expr_isConstOf(x_21, x_22);
lean_dec(x_21);
if (x_23 == 0)
{
uint8_t x_24; lean_object* x_25; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_24 = 0;
x_25 = lean_box(x_24);
lean_ctor_set(x_7, 0, x_25);
return x_7;
}
else
{
lean_object* x_26; 
lean_free_object(x_7);
x_26 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_7, 0);
x_28 = lean_ctor_get(x_7, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_7);
x_29 = l_Lean_Meta_isInstPowNat___closed__1;
x_30 = l_Lean_Expr_cleanupAnnotations(x_27);
x_31 = l_Lean_Expr_isApp(x_30);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_32 = 0;
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_28);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_35 = l_Lean_Expr_appArg(x_30, lean_box(0));
x_36 = l_Lean_Expr_appFnCleanup(x_30, lean_box(0));
x_37 = l_Lean_Expr_isApp(x_36);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = 0;
x_39 = lean_box(x_38);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_28);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0));
x_42 = l_Lean_Meta_isInstPowNat___closed__3;
x_43 = l_Lean_Expr_isConstOf(x_41, x_42);
lean_dec(x_41);
if (x_43 == 0)
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; 
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = 0;
x_45 = lean_box(x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_28);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = lean_apply_6(x_29, x_35, x_2, x_3, x_4, x_5, x_28);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstHAddNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstAddNat___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHAddNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instHAdd", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHAddNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstHAddNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHAddNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstHAddNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Meta_isInstHAddNat___closed__3;
x_23 = l_Lean_Expr_isConstOf(x_21, x_22);
lean_dec(x_21);
if (x_23 == 0)
{
uint8_t x_24; lean_object* x_25; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_24 = 0;
x_25 = lean_box(x_24);
lean_ctor_set(x_7, 0, x_25);
return x_7;
}
else
{
lean_object* x_26; 
lean_free_object(x_7);
x_26 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_7, 0);
x_28 = lean_ctor_get(x_7, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_7);
x_29 = l_Lean_Meta_isInstHAddNat___closed__1;
x_30 = l_Lean_Expr_cleanupAnnotations(x_27);
x_31 = l_Lean_Expr_isApp(x_30);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_32 = 0;
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_28);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_35 = l_Lean_Expr_appArg(x_30, lean_box(0));
x_36 = l_Lean_Expr_appFnCleanup(x_30, lean_box(0));
x_37 = l_Lean_Expr_isApp(x_36);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = 0;
x_39 = lean_box(x_38);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_28);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0));
x_42 = l_Lean_Meta_isInstHAddNat___closed__3;
x_43 = l_Lean_Expr_isConstOf(x_41, x_42);
lean_dec(x_41);
if (x_43 == 0)
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; 
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = 0;
x_45 = lean_box(x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_28);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = lean_apply_6(x_29, x_35, x_2, x_3, x_4, x_5, x_28);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstHSubNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstSubNat___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHSubNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instHSub", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHSubNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstHSubNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHSubNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstHSubNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Meta_isInstHSubNat___closed__3;
x_23 = l_Lean_Expr_isConstOf(x_21, x_22);
lean_dec(x_21);
if (x_23 == 0)
{
uint8_t x_24; lean_object* x_25; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_24 = 0;
x_25 = lean_box(x_24);
lean_ctor_set(x_7, 0, x_25);
return x_7;
}
else
{
lean_object* x_26; 
lean_free_object(x_7);
x_26 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_7, 0);
x_28 = lean_ctor_get(x_7, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_7);
x_29 = l_Lean_Meta_isInstHSubNat___closed__1;
x_30 = l_Lean_Expr_cleanupAnnotations(x_27);
x_31 = l_Lean_Expr_isApp(x_30);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_32 = 0;
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_28);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_35 = l_Lean_Expr_appArg(x_30, lean_box(0));
x_36 = l_Lean_Expr_appFnCleanup(x_30, lean_box(0));
x_37 = l_Lean_Expr_isApp(x_36);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = 0;
x_39 = lean_box(x_38);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_28);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0));
x_42 = l_Lean_Meta_isInstHSubNat___closed__3;
x_43 = l_Lean_Expr_isConstOf(x_41, x_42);
lean_dec(x_41);
if (x_43 == 0)
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; 
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = 0;
x_45 = lean_box(x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_28);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = lean_apply_6(x_29, x_35, x_2, x_3, x_4, x_5, x_28);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstHMulNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstMulNat___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHMulNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instHMul", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHMulNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstHMulNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHMulNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstHMulNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Meta_isInstHMulNat___closed__3;
x_23 = l_Lean_Expr_isConstOf(x_21, x_22);
lean_dec(x_21);
if (x_23 == 0)
{
uint8_t x_24; lean_object* x_25; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_24 = 0;
x_25 = lean_box(x_24);
lean_ctor_set(x_7, 0, x_25);
return x_7;
}
else
{
lean_object* x_26; 
lean_free_object(x_7);
x_26 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_7, 0);
x_28 = lean_ctor_get(x_7, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_7);
x_29 = l_Lean_Meta_isInstHMulNat___closed__1;
x_30 = l_Lean_Expr_cleanupAnnotations(x_27);
x_31 = l_Lean_Expr_isApp(x_30);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_32 = 0;
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_28);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_35 = l_Lean_Expr_appArg(x_30, lean_box(0));
x_36 = l_Lean_Expr_appFnCleanup(x_30, lean_box(0));
x_37 = l_Lean_Expr_isApp(x_36);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = 0;
x_39 = lean_box(x_38);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_28);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0));
x_42 = l_Lean_Meta_isInstHMulNat___closed__3;
x_43 = l_Lean_Expr_isConstOf(x_41, x_42);
lean_dec(x_41);
if (x_43 == 0)
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; 
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = 0;
x_45 = lean_box(x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_28);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = lean_apply_6(x_29, x_35, x_2, x_3, x_4, x_5, x_28);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstHDivNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstDivNat___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHDivNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instHDiv", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHDivNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstHDivNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHDivNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstHDivNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Meta_isInstHDivNat___closed__3;
x_23 = l_Lean_Expr_isConstOf(x_21, x_22);
lean_dec(x_21);
if (x_23 == 0)
{
uint8_t x_24; lean_object* x_25; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_24 = 0;
x_25 = lean_box(x_24);
lean_ctor_set(x_7, 0, x_25);
return x_7;
}
else
{
lean_object* x_26; 
lean_free_object(x_7);
x_26 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_7, 0);
x_28 = lean_ctor_get(x_7, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_7);
x_29 = l_Lean_Meta_isInstHDivNat___closed__1;
x_30 = l_Lean_Expr_cleanupAnnotations(x_27);
x_31 = l_Lean_Expr_isApp(x_30);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_32 = 0;
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_28);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_35 = l_Lean_Expr_appArg(x_30, lean_box(0));
x_36 = l_Lean_Expr_appFnCleanup(x_30, lean_box(0));
x_37 = l_Lean_Expr_isApp(x_36);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = 0;
x_39 = lean_box(x_38);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_28);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0));
x_42 = l_Lean_Meta_isInstHDivNat___closed__3;
x_43 = l_Lean_Expr_isConstOf(x_41, x_42);
lean_dec(x_41);
if (x_43 == 0)
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; 
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = 0;
x_45 = lean_box(x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_28);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = lean_apply_6(x_29, x_35, x_2, x_3, x_4, x_5, x_28);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstHModNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstModNat___boxed), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHModNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instHMod", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHModNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstHModNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHModNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstHModNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Meta_isInstHModNat___closed__3;
x_23 = l_Lean_Expr_isConstOf(x_21, x_22);
lean_dec(x_21);
if (x_23 == 0)
{
uint8_t x_24; lean_object* x_25; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_24 = 0;
x_25 = lean_box(x_24);
lean_ctor_set(x_7, 0, x_25);
return x_7;
}
else
{
lean_object* x_26; 
lean_free_object(x_7);
x_26 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_26;
}
}
}
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_27 = lean_ctor_get(x_7, 0);
x_28 = lean_ctor_get(x_7, 1);
lean_inc(x_28);
lean_inc(x_27);
lean_dec(x_7);
x_29 = l_Lean_Meta_isInstHModNat___closed__1;
x_30 = l_Lean_Expr_cleanupAnnotations(x_27);
x_31 = l_Lean_Expr_isApp(x_30);
if (x_31 == 0)
{
uint8_t x_32; lean_object* x_33; lean_object* x_34; 
lean_dec(x_30);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_32 = 0;
x_33 = lean_box(x_32);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_33);
lean_ctor_set(x_34, 1, x_28);
return x_34;
}
else
{
lean_object* x_35; lean_object* x_36; uint8_t x_37; 
x_35 = l_Lean_Expr_appArg(x_30, lean_box(0));
x_36 = l_Lean_Expr_appFnCleanup(x_30, lean_box(0));
x_37 = l_Lean_Expr_isApp(x_36);
if (x_37 == 0)
{
uint8_t x_38; lean_object* x_39; lean_object* x_40; 
lean_dec(x_36);
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = 0;
x_39 = lean_box(x_38);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_28);
return x_40;
}
else
{
lean_object* x_41; lean_object* x_42; uint8_t x_43; 
x_41 = l_Lean_Expr_appFnCleanup(x_36, lean_box(0));
x_42 = l_Lean_Meta_isInstHModNat___closed__3;
x_43 = l_Lean_Expr_isConstOf(x_41, x_42);
lean_dec(x_41);
if (x_43 == 0)
{
uint8_t x_44; lean_object* x_45; lean_object* x_46; 
lean_dec(x_35);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = 0;
x_45 = lean_box(x_44);
x_46 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_46, 0, x_45);
lean_ctor_set(x_46, 1, x_28);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = lean_apply_6(x_29, x_35, x_2, x_3, x_4, x_5, x_28);
return x_47;
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstHPowNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_isInstPowNat), 6, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHPowNat___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instHPow", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstHPowNat___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstHPowNat___closed__2;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstHPowNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = lean_ctor_get(x_7, 1);
x_11 = l_Lean_Meta_isInstHPowNat___closed__1;
x_12 = l_Lean_Expr_cleanupAnnotations(x_9);
x_13 = l_Lean_Expr_isApp(x_12);
if (x_13 == 0)
{
uint8_t x_14; lean_object* x_15; 
lean_dec(x_12);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_14 = 0;
x_15 = lean_box(x_14);
lean_ctor_set(x_7, 0, x_15);
return x_7;
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_Lean_Expr_appArg(x_12, lean_box(0));
x_17 = l_Lean_Expr_appFnCleanup(x_12, lean_box(0));
x_18 = l_Lean_Expr_isApp(x_17);
if (x_18 == 0)
{
uint8_t x_19; lean_object* x_20; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_19 = 0;
x_20 = lean_box(x_19);
lean_ctor_set(x_7, 0, x_20);
return x_7;
}
else
{
lean_object* x_21; uint8_t x_22; 
x_21 = l_Lean_Expr_appFnCleanup(x_17, lean_box(0));
x_22 = l_Lean_Expr_isApp(x_21);
if (x_22 == 0)
{
uint8_t x_23; lean_object* x_24; 
lean_dec(x_21);
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_23 = 0;
x_24 = lean_box(x_23);
lean_ctor_set(x_7, 0, x_24);
return x_7;
}
else
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = l_Lean_Expr_appFnCleanup(x_21, lean_box(0));
x_26 = l_Lean_Meta_isInstHPowNat___closed__3;
x_27 = l_Lean_Expr_isConstOf(x_25, x_26);
lean_dec(x_25);
if (x_27 == 0)
{
uint8_t x_28; lean_object* x_29; 
lean_dec(x_16);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_28 = 0;
x_29 = lean_box(x_28);
lean_ctor_set(x_7, 0, x_29);
return x_7;
}
else
{
lean_object* x_30; 
lean_free_object(x_7);
x_30 = lean_apply_6(x_11, x_16, x_2, x_3, x_4, x_5, x_10);
return x_30;
}
}
}
}
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; 
x_31 = lean_ctor_get(x_7, 0);
x_32 = lean_ctor_get(x_7, 1);
lean_inc(x_32);
lean_inc(x_31);
lean_dec(x_7);
x_33 = l_Lean_Meta_isInstHPowNat___closed__1;
x_34 = l_Lean_Expr_cleanupAnnotations(x_31);
x_35 = l_Lean_Expr_isApp(x_34);
if (x_35 == 0)
{
uint8_t x_36; lean_object* x_37; lean_object* x_38; 
lean_dec(x_34);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_36 = 0;
x_37 = lean_box(x_36);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_37);
lean_ctor_set(x_38, 1, x_32);
return x_38;
}
else
{
lean_object* x_39; lean_object* x_40; uint8_t x_41; 
x_39 = l_Lean_Expr_appArg(x_34, lean_box(0));
x_40 = l_Lean_Expr_appFnCleanup(x_34, lean_box(0));
x_41 = l_Lean_Expr_isApp(x_40);
if (x_41 == 0)
{
uint8_t x_42; lean_object* x_43; lean_object* x_44; 
lean_dec(x_40);
lean_dec(x_39);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_42 = 0;
x_43 = lean_box(x_42);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_43);
lean_ctor_set(x_44, 1, x_32);
return x_44;
}
else
{
lean_object* x_45; uint8_t x_46; 
x_45 = l_Lean_Expr_appFnCleanup(x_40, lean_box(0));
x_46 = l_Lean_Expr_isApp(x_45);
if (x_46 == 0)
{
uint8_t x_47; lean_object* x_48; lean_object* x_49; 
lean_dec(x_45);
lean_dec(x_39);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_47 = 0;
x_48 = lean_box(x_47);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_32);
return x_49;
}
else
{
lean_object* x_50; lean_object* x_51; uint8_t x_52; 
x_50 = l_Lean_Expr_appFnCleanup(x_45, lean_box(0));
x_51 = l_Lean_Meta_isInstHPowNat___closed__3;
x_52 = l_Lean_Expr_isConstOf(x_50, x_51);
lean_dec(x_50);
if (x_52 == 0)
{
uint8_t x_53; lean_object* x_54; lean_object* x_55; 
lean_dec(x_39);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_53 = 0;
x_54 = lean_box(x_53);
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_32);
return x_55;
}
else
{
lean_object* x_56; 
x_56 = lean_apply_6(x_33, x_39, x_2, x_3, x_4, x_5, x_32);
return x_56;
}
}
}
}
}
}
}
static lean_object* _init_l_Lean_Meta_isInstLTNat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instLTNat", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstLTNat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstLTNat___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLTNat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstLTNat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstLTNat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLTNat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstLTNat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
static lean_object* _init_l_Lean_Meta_isInstLENat___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("instLENat", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Meta_isInstLENat___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Meta_isInstLENat___closed__1;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLENat(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; uint8_t x_8; 
x_7 = l_Lean_Meta_instantiateMVarsIfMVarApp(x_1, x_2, x_3, x_4, x_5, x_6);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_9 = lean_ctor_get(x_7, 0);
x_10 = l_Lean_Expr_cleanupAnnotations(x_9);
x_11 = l_Lean_Meta_isInstLENat___closed__2;
x_12 = l_Lean_Expr_isConstOf(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
uint8_t x_13; lean_object* x_14; 
x_13 = 0;
x_14 = lean_box(x_13);
lean_ctor_set(x_7, 0, x_14);
return x_7;
}
else
{
uint8_t x_15; lean_object* x_16; 
x_15 = 1;
x_16 = lean_box(x_15);
lean_ctor_set(x_7, 0, x_16);
return x_7;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; 
x_17 = lean_ctor_get(x_7, 0);
x_18 = lean_ctor_get(x_7, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_7);
x_19 = l_Lean_Expr_cleanupAnnotations(x_17);
x_20 = l_Lean_Meta_isInstLENat___closed__2;
x_21 = l_Lean_Expr_isConstOf(x_19, x_20);
lean_dec(x_19);
if (x_21 == 0)
{
uint8_t x_22; lean_object* x_23; lean_object* x_24; 
x_22 = 0;
x_23 = lean_box(x_22);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_23);
lean_ctor_set(x_24, 1, x_18);
return x_24;
}
else
{
uint8_t x_25; lean_object* x_26; lean_object* x_27; 
x_25 = 1;
x_26 = lean_box(x_25);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_26);
lean_ctor_set(x_27, 1, x_18);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_isInstLENat___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) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_Meta_isInstLENat(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
return x_7;
}
}
lean_object* initialize_Lean_Meta_Basic(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_NatInstTesters(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_Meta_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Meta_isInstOfNatNat___closed__1 = _init_l_Lean_Meta_isInstOfNatNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstOfNatNat___closed__1);
l_Lean_Meta_isInstOfNatNat___closed__2 = _init_l_Lean_Meta_isInstOfNatNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstOfNatNat___closed__2);
l_Lean_Meta_isInstOfNatNat___closed__3 = _init_l_Lean_Meta_isInstOfNatNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstOfNatNat___closed__3);
l_Lean_Meta_isInstOfNatNat___closed__4 = _init_l_Lean_Meta_isInstOfNatNat___closed__4();
lean_mark_persistent(l_Lean_Meta_isInstOfNatNat___closed__4);
l_Lean_Meta_isInstAddNat___closed__1 = _init_l_Lean_Meta_isInstAddNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstAddNat___closed__1);
l_Lean_Meta_isInstAddNat___closed__2 = _init_l_Lean_Meta_isInstAddNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstAddNat___closed__2);
l_Lean_Meta_isInstSubNat___closed__1 = _init_l_Lean_Meta_isInstSubNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstSubNat___closed__1);
l_Lean_Meta_isInstSubNat___closed__2 = _init_l_Lean_Meta_isInstSubNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstSubNat___closed__2);
l_Lean_Meta_isInstMulNat___closed__1 = _init_l_Lean_Meta_isInstMulNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstMulNat___closed__1);
l_Lean_Meta_isInstMulNat___closed__2 = _init_l_Lean_Meta_isInstMulNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstMulNat___closed__2);
l_Lean_Meta_isInstDivNat___closed__1 = _init_l_Lean_Meta_isInstDivNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstDivNat___closed__1);
l_Lean_Meta_isInstDivNat___closed__2 = _init_l_Lean_Meta_isInstDivNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstDivNat___closed__2);
l_Lean_Meta_isInstDivNat___closed__3 = _init_l_Lean_Meta_isInstDivNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstDivNat___closed__3);
l_Lean_Meta_isInstModNat___closed__1 = _init_l_Lean_Meta_isInstModNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstModNat___closed__1);
l_Lean_Meta_isInstModNat___closed__2 = _init_l_Lean_Meta_isInstModNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstModNat___closed__2);
l_Lean_Meta_isInstNatPowNat___closed__1 = _init_l_Lean_Meta_isInstNatPowNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstNatPowNat___closed__1);
l_Lean_Meta_isInstNatPowNat___closed__2 = _init_l_Lean_Meta_isInstNatPowNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstNatPowNat___closed__2);
l_Lean_Meta_isInstPowNat___closed__1 = _init_l_Lean_Meta_isInstPowNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstPowNat___closed__1);
l_Lean_Meta_isInstPowNat___closed__2 = _init_l_Lean_Meta_isInstPowNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstPowNat___closed__2);
l_Lean_Meta_isInstPowNat___closed__3 = _init_l_Lean_Meta_isInstPowNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstPowNat___closed__3);
l_Lean_Meta_isInstHAddNat___closed__1 = _init_l_Lean_Meta_isInstHAddNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstHAddNat___closed__1);
l_Lean_Meta_isInstHAddNat___closed__2 = _init_l_Lean_Meta_isInstHAddNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstHAddNat___closed__2);
l_Lean_Meta_isInstHAddNat___closed__3 = _init_l_Lean_Meta_isInstHAddNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstHAddNat___closed__3);
l_Lean_Meta_isInstHSubNat___closed__1 = _init_l_Lean_Meta_isInstHSubNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstHSubNat___closed__1);
l_Lean_Meta_isInstHSubNat___closed__2 = _init_l_Lean_Meta_isInstHSubNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstHSubNat___closed__2);
l_Lean_Meta_isInstHSubNat___closed__3 = _init_l_Lean_Meta_isInstHSubNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstHSubNat___closed__3);
l_Lean_Meta_isInstHMulNat___closed__1 = _init_l_Lean_Meta_isInstHMulNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstHMulNat___closed__1);
l_Lean_Meta_isInstHMulNat___closed__2 = _init_l_Lean_Meta_isInstHMulNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstHMulNat___closed__2);
l_Lean_Meta_isInstHMulNat___closed__3 = _init_l_Lean_Meta_isInstHMulNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstHMulNat___closed__3);
l_Lean_Meta_isInstHDivNat___closed__1 = _init_l_Lean_Meta_isInstHDivNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstHDivNat___closed__1);
l_Lean_Meta_isInstHDivNat___closed__2 = _init_l_Lean_Meta_isInstHDivNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstHDivNat___closed__2);
l_Lean_Meta_isInstHDivNat___closed__3 = _init_l_Lean_Meta_isInstHDivNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstHDivNat___closed__3);
l_Lean_Meta_isInstHModNat___closed__1 = _init_l_Lean_Meta_isInstHModNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstHModNat___closed__1);
l_Lean_Meta_isInstHModNat___closed__2 = _init_l_Lean_Meta_isInstHModNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstHModNat___closed__2);
l_Lean_Meta_isInstHModNat___closed__3 = _init_l_Lean_Meta_isInstHModNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstHModNat___closed__3);
l_Lean_Meta_isInstHPowNat___closed__1 = _init_l_Lean_Meta_isInstHPowNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstHPowNat___closed__1);
l_Lean_Meta_isInstHPowNat___closed__2 = _init_l_Lean_Meta_isInstHPowNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstHPowNat___closed__2);
l_Lean_Meta_isInstHPowNat___closed__3 = _init_l_Lean_Meta_isInstHPowNat___closed__3();
lean_mark_persistent(l_Lean_Meta_isInstHPowNat___closed__3);
l_Lean_Meta_isInstLTNat___closed__1 = _init_l_Lean_Meta_isInstLTNat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstLTNat___closed__1);
l_Lean_Meta_isInstLTNat___closed__2 = _init_l_Lean_Meta_isInstLTNat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstLTNat___closed__2);
l_Lean_Meta_isInstLENat___closed__1 = _init_l_Lean_Meta_isInstLENat___closed__1();
lean_mark_persistent(l_Lean_Meta_isInstLENat___closed__1);
l_Lean_Meta_isInstLENat___closed__2 = _init_l_Lean_Meta_isInstLENat___closed__2();
lean_mark_persistent(l_Lean_Meta_isInstLENat___closed__2);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
