// Lean compiler output
// Module: Init.Coe
// Imports: Init.Core
#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
static lean_object* l_term_u2191_____closed__1;
LEAN_EXPORT lean_object* l_coeTC(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeBase___rarg(lean_object*);
LEAN_EXPORT lean_object* l_instCoeDep___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfHead___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coeTail___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_instCoeTail__1___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfDep___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_coeSortToCoeTail(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfDep(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_instCoeTail___rarg(lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_coeSortToCoeTail___rarg(lean_object*);
extern lean_object* l_Lean_nullKind;
static lean_object* l_term_u2191_____closed__9;
LEAN_EXPORT lean_object* l_coeD___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coeOfTCOfTail(lean_object*, lean_object*, lean_object*);
lean_object* lean_name_mk_string(lean_object*, lean_object*);
static lean_object* l_term_u2191_____closed__4;
LEAN_EXPORT lean_object* l_coeOfHTCT___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeTC___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeTail(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfTC___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coeFun(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_decPropToBool___rarg(uint8_t);
LEAN_EXPORT lean_object* l_coeBase(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeTrans(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__17;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__4;
LEAN_EXPORT lean_object* l_coeB___rarg(lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__8;
LEAN_EXPORT lean_object* l_coeOfTail(lean_object*, lean_object*);
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*);
static lean_object* l_term_u2191_____closed__11;
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___aux__Init__Coe______unexpand__coe__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfHeadOfTC___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_decPropToBool___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_coeSort___rarg(lean_object*, lean_object*);
static lean_object* l_term_u2191_____closed__8;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__9;
lean_object* lean_string_utf8_byte_size(lean_object*);
LEAN_EXPORT lean_object* l_instCoeDep(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_hasOfNatOfCoe___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___aux__Init__Coe______macroRules__term_u2191____1(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__3;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__14;
static lean_object* l_term_u2191_____closed__6;
LEAN_EXPORT lean_object* l_coeSortToCoeTail___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_liftCoeM___rarg___lambda__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfHTCT(lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__6;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__18;
LEAN_EXPORT lean_object* l_boolToSort;
LEAN_EXPORT lean_object* l_coeOfHeadOfTC(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfTCOfTail___rarg(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__5;
lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______unexpand__Function__comp__1___spec__1(lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__15;
static lean_object* l_term_u2191_____closed__2;
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coe___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_subtypeCoe___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_coeOfHead(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_optionCoe___rarg(lean_object*);
LEAN_EXPORT lean_object* l_hasOfNatOfCoe(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__10;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__12;
LEAN_EXPORT lean_object* l_coeOfDep___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coeOfTC(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_coeDecidableEq(uint8_t);
static lean_object* l_term_u2191_____closed__10;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__13;
LEAN_EXPORT lean_object* l_coeD___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_liftCoeM___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_term_u2191_____closed__7;
LEAN_EXPORT lean_object* l_coeOfTail___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coe___rarg(lean_object*);
LEAN_EXPORT lean_object* l_hasOfNatOfCoe___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coe(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______unexpand__coe__1___closed__2;
LEAN_EXPORT lean_object* l_coeDecidableEq___boxed(lean_object*);
LEAN_EXPORT lean_object* l_instCoeTail__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___aux__Init__Coe______unexpand__coe__1___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfDep___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__16;
static lean_object* l___aux__Init__Coe______unexpand__coe__1___closed__1;
static lean_object* l_term_u2191_____closed__5;
LEAN_EXPORT lean_object* l_coeTrans___rarg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_optionCoe(lean_object*);
static lean_object* l_term_u2191_____closed__3;
LEAN_EXPORT lean_object* l_coeM(lean_object*, lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__7;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__11;
LEAN_EXPORT lean_object* l_coeId(lean_object*);
LEAN_EXPORT lean_object* l_subtypeCoe___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coeFun___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeB(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_subtypeCoe(lean_object*, lean_object*);
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__1;
LEAN_EXPORT lean_object* l_coeSort(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeM___rarg(lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_liftCoeM(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeOfHeafOfTCOfTail___rarg(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coe___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_boolToProp;
lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeHead___rarg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeId___rarg(lean_object*);
LEAN_EXPORT lean_object* l_coeId___rarg___boxed(lean_object*);
LEAN_EXPORT lean_object* l_instCoeTail(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeD___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_term_u2191__;
static lean_object* l___aux__Init__Coe______macroRules__term_u2191____1___closed__2;
LEAN_EXPORT lean_object* l_decPropToBool(lean_object*);
LEAN_EXPORT lean_object* l_coeOfHeafOfTCOfTail(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeHead(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeD(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_coeB___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeB(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeB___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeHead___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeHead(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeHead___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeTail___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeTail(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeTail___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeD___rarg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_coeD(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coeD___rarg___boxed), 1, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeD___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_coeD___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeD___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_coeD(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeTC___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeTC(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeTC___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coe___rarg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_coe(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coe___rarg___boxed), 1, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coe___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_coe___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_coe(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
static lean_object* _init_l_term_u2191_____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("term↑_");
return x_1;
}
}
static lean_object* _init_l_term_u2191_____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_term_u2191_____closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_term_u2191_____closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("andthen");
return x_1;
}
}
static lean_object* _init_l_term_u2191_____closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_term_u2191_____closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_term_u2191_____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("↑");
return x_1;
}
}
static lean_object* _init_l_term_u2191_____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_term_u2191_____closed__5;
x_2 = lean_alloc_ctor(5, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_term_u2191_____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("term");
return x_1;
}
}
static lean_object* _init_l_term_u2191_____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_term_u2191_____closed__7;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_term_u2191_____closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_term_u2191_____closed__8;
x_2 = lean_unsigned_to_nat(1024u);
x_3 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_term_u2191_____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_term_u2191_____closed__4;
x_2 = l_term_u2191_____closed__6;
x_3 = l_term_u2191_____closed__9;
x_4 = lean_alloc_ctor(2, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_term_u2191_____closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_term_u2191_____closed__2;
x_2 = lean_unsigned_to_nat(1024u);
x_3 = l_term_u2191_____closed__10;
x_4 = lean_alloc_ctor(3, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l_term_u2191__() {
_start:
{
lean_object* x_1; 
x_1 = l_term_u2191_____closed__11;
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Lean");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Parser");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__2;
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Term");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__4;
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__5;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("app");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__6;
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__7;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("coe");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__9;
x_2 = lean_string_utf8_byte_size(x_1);
return x_2;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__9;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__10;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_1);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_3);
return x_4;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__9;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__12;
x_3 = lean_alloc_ctor(0, 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___aux__Init__Coe______macroRules__term_u2191____1___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__13;
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___aux__Init__Coe______macroRules__term_u2191____1___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("null");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__15;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___aux__Init__Coe______macroRules__term_u2191____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l_term_u2191_____closed__2;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_2);
lean_dec(x_1);
x_6 = lean_box(1);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_8 = lean_unsigned_to_nat(1u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
lean_dec(x_1);
lean_inc(x_2);
x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3);
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 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; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_12 = lean_ctor_get(x_10, 0);
x_13 = lean_ctor_get(x_2, 2);
lean_inc(x_13);
x_14 = lean_ctor_get(x_2, 1);
lean_inc(x_14);
lean_dec(x_2);
x_15 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__12;
x_16 = l_Lean_addMacroScope(x_14, x_15, x_13);
x_17 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__11;
x_18 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__14;
x_19 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_19, 0, x_12);
lean_ctor_set(x_19, 1, x_17);
lean_ctor_set(x_19, 2, x_16);
lean_ctor_set(x_19, 3, x_18);
x_20 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__17;
x_21 = lean_array_push(x_20, x_9);
x_22 = lean_box(2);
x_23 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__16;
x_24 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
lean_ctor_set(x_24, 2, x_21);
x_25 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__18;
x_26 = lean_array_push(x_25, x_19);
x_27 = lean_array_push(x_26, x_24);
x_28 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__8;
x_29 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_29, 0, x_22);
lean_ctor_set(x_29, 1, x_28);
lean_ctor_set(x_29, 2, x_27);
lean_ctor_set(x_10, 0, x_29);
return x_10;
}
else
{
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; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_30 = lean_ctor_get(x_10, 0);
x_31 = lean_ctor_get(x_10, 1);
lean_inc(x_31);
lean_inc(x_30);
lean_dec(x_10);
x_32 = lean_ctor_get(x_2, 2);
lean_inc(x_32);
x_33 = lean_ctor_get(x_2, 1);
lean_inc(x_33);
lean_dec(x_2);
x_34 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__12;
x_35 = l_Lean_addMacroScope(x_33, x_34, x_32);
x_36 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__11;
x_37 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__14;
x_38 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_38, 0, x_30);
lean_ctor_set(x_38, 1, x_36);
lean_ctor_set(x_38, 2, x_35);
lean_ctor_set(x_38, 3, x_37);
x_39 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__17;
x_40 = lean_array_push(x_39, x_9);
x_41 = lean_box(2);
x_42 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__16;
x_43 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_43, 0, x_41);
lean_ctor_set(x_43, 1, x_42);
lean_ctor_set(x_43, 2, x_40);
x_44 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__18;
x_45 = lean_array_push(x_44, x_38);
x_46 = lean_array_push(x_45, x_43);
x_47 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__8;
x_48 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_48, 0, x_41);
lean_ctor_set(x_48, 1, x_47);
lean_ctor_set(x_48, 2, x_46);
x_49 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_31);
return x_49;
}
}
}
}
static lean_object* _init_l___aux__Init__Coe______unexpand__coe__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("ident");
return x_1;
}
}
static lean_object* _init_l___aux__Init__Coe______unexpand__coe__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___aux__Init__Coe______unexpand__coe__1___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___aux__Init__Coe______unexpand__coe__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__8;
lean_inc(x_1);
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
if (x_5 == 0)
{
lean_object* x_6; lean_object* x_7; 
lean_dec(x_1);
x_6 = lean_box(0);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_3);
return x_7;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; 
x_8 = lean_unsigned_to_nat(0u);
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
x_10 = l___aux__Init__Coe______unexpand__coe__1___closed__2;
lean_inc(x_9);
x_11 = l_Lean_Syntax_isOfKind(x_9, x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; 
lean_dec(x_9);
lean_dec(x_1);
x_12 = lean_box(0);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_12);
lean_ctor_set(x_13, 1, x_3);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_14 = lean_unsigned_to_nat(1u);
x_15 = l_Lean_Syntax_getArg(x_1, x_14);
lean_dec(x_1);
x_16 = l_Lean_nullKind;
lean_inc(x_15);
x_17 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_14);
if (x_17 == 0)
{
lean_object* x_18; lean_object* x_19; 
lean_dec(x_15);
lean_dec(x_9);
x_18 = lean_box(0);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_3);
return x_19;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; 
x_20 = l_Lean_Syntax_getArg(x_15, x_8);
lean_dec(x_15);
x_21 = l_Lean_replaceRef(x_9, x_2);
lean_dec(x_9);
x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______unexpand__Function__comp__1___spec__1(x_21, x_3);
x_23 = !lean_is_exclusive(x_22);
if (x_23 == 0)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_24 = lean_ctor_get(x_22, 0);
x_25 = l_term_u2191_____closed__5;
x_26 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_26, 0, x_24);
lean_ctor_set(x_26, 1, x_25);
x_27 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__18;
x_28 = lean_array_push(x_27, x_26);
x_29 = lean_array_push(x_28, x_20);
x_30 = lean_box(2);
x_31 = l_term_u2191_____closed__2;
x_32 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
lean_ctor_set(x_32, 2, x_29);
lean_ctor_set(x_22, 0, x_32);
return x_22;
}
else
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_33 = lean_ctor_get(x_22, 0);
x_34 = lean_ctor_get(x_22, 1);
lean_inc(x_34);
lean_inc(x_33);
lean_dec(x_22);
x_35 = l_term_u2191_____closed__5;
x_36 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_36, 0, x_33);
lean_ctor_set(x_36, 1, x_35);
x_37 = l___aux__Init__Coe______macroRules__term_u2191____1___closed__18;
x_38 = lean_array_push(x_37, x_36);
x_39 = lean_array_push(x_38, x_20);
x_40 = lean_box(2);
x_41 = l_term_u2191_____closed__2;
x_42 = lean_alloc_ctor(1, 3, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
lean_ctor_set(x_42, 2, x_39);
x_43 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_43, 0, x_42);
lean_ctor_set(x_43, 1, x_34);
return x_43;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___aux__Init__Coe______unexpand__coe__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l___aux__Init__Coe______unexpand__coe__1(x_1, x_2, x_3);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeFun___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeFun(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeFun___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeSort___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeSort(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeSort___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeTrans___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_apply_1(x_2, x_3);
x_5 = lean_apply_1(x_1, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_coeTrans(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coeTrans___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeBase___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_coeB___rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeBase(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeBase___rarg), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeOfHeafOfTCOfTail___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_apply_1(x_1, x_4);
x_6 = lean_apply_1(x_3, x_5);
x_7 = lean_apply_1(x_2, x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_coeOfHeafOfTCOfTail(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_alloc_closure((void*)(l_coeOfHeafOfTCOfTail___rarg), 4, 0);
return x_5;
}
}
LEAN_EXPORT lean_object* l_coeOfHeadOfTC___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_apply_1(x_1, x_3);
x_5 = lean_apply_1(x_2, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_coeOfHeadOfTC(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coeOfHeadOfTC___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeOfTCOfTail___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_apply_1(x_2, x_3);
x_5 = lean_apply_1(x_1, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_coeOfTCOfTail(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coeOfTCOfTail___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeOfHead___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_coeHead___rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeOfHead(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeOfHead___rarg), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeOfTail___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_coeTail___rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeOfTail(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeOfTail___rarg), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeOfTC___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_coeTC___rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeOfTC(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeOfTC___rarg), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeOfHTCT___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeOfHTCT(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeOfHTCT___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeOfDep___rarg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_coeOfDep(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coeOfDep___rarg___boxed), 1, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeOfDep___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_coeOfDep___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeOfDep___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_coeOfDep(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_coeId___rarg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_coeId(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_coeId___rarg___boxed), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeId___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_coeId___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_coeSortToCoeTail___rarg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_coeSortToCoeTail(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_coeSortToCoeTail___rarg___boxed), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_coeSortToCoeTail___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_coeSortToCoeTail___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_boolToProp() {
_start:
{
return lean_box(0);
}
}
static lean_object* _init_l_boolToSort() {
_start:
{
return lean_box(0);
}
}
LEAN_EXPORT uint8_t l_coeDecidableEq(uint8_t x_1) {
_start:
{
return x_1;
}
}
LEAN_EXPORT lean_object* l_coeDecidableEq___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; uint8_t x_3; lean_object* x_4; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_coeDecidableEq(x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_decPropToBool___rarg(uint8_t x_1) {
_start:
{
return x_1;
}
}
LEAN_EXPORT lean_object* l_decPropToBool(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_decPropToBool___rarg___boxed), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_decPropToBool___rarg___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; uint8_t x_3; lean_object* x_4; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_decPropToBool___rarg(x_2);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_optionCoe___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_optionCoe(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_optionCoe___rarg), 1, 0);
return x_2;
}
}
LEAN_EXPORT lean_object* l_subtypeCoe___rarg(lean_object* x_1) {
_start:
{
lean_inc(x_1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_subtypeCoe(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_subtypeCoe___rarg___boxed), 1, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_subtypeCoe___rarg___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_subtypeCoe___rarg(x_1);
lean_dec(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_hasOfNatOfCoe___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_hasOfNatOfCoe(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_hasOfNatOfCoe___rarg), 2, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_hasOfNatOfCoe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_hasOfNatOfCoe(x_1, x_2, x_3);
lean_dec(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_liftCoeM___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_ctor_get(x_4, 1);
lean_inc(x_5);
lean_dec(x_4);
x_6 = lean_apply_1(x_2, x_3);
x_7 = lean_apply_2(x_5, lean_box(0), x_6);
return x_7;
}
}
LEAN_EXPORT lean_object* l_liftCoeM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_5 = lean_ctor_get(x_3, 1);
lean_inc(x_5);
x_6 = lean_apply_2(x_1, lean_box(0), x_4);
x_7 = lean_alloc_closure((void*)(l_liftCoeM___rarg___lambda__1), 3, 2);
lean_closure_set(x_7, 0, x_3);
lean_closure_set(x_7, 1, x_2);
x_8 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_liftCoeM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = lean_alloc_closure((void*)(l_liftCoeM___rarg), 4, 0);
return x_5;
}
}
LEAN_EXPORT lean_object* l_coeM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
x_5 = lean_alloc_closure((void*)(l_liftCoeM___rarg___lambda__1), 3, 2);
lean_closure_set(x_5, 0, x_2);
lean_closure_set(x_5, 1, x_1);
x_6 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_3, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_coeM(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_coeM___rarg), 3, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_instCoeDep___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_instCoeDep(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_instCoeDep___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_instCoeTail___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_instCoeTail(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_instCoeTail___rarg), 2, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_instCoeTail__1___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_instCoeTail__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l_instCoeTail__1___rarg), 2, 0);
return x_3;
}
}
lean_object* initialize_Init_Core(lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Init_Coe(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init_Core(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_term_u2191_____closed__1 = _init_l_term_u2191_____closed__1();
lean_mark_persistent(l_term_u2191_____closed__1);
l_term_u2191_____closed__2 = _init_l_term_u2191_____closed__2();
lean_mark_persistent(l_term_u2191_____closed__2);
l_term_u2191_____closed__3 = _init_l_term_u2191_____closed__3();
lean_mark_persistent(l_term_u2191_____closed__3);
l_term_u2191_____closed__4 = _init_l_term_u2191_____closed__4();
lean_mark_persistent(l_term_u2191_____closed__4);
l_term_u2191_____closed__5 = _init_l_term_u2191_____closed__5();
lean_mark_persistent(l_term_u2191_____closed__5);
l_term_u2191_____closed__6 = _init_l_term_u2191_____closed__6();
lean_mark_persistent(l_term_u2191_____closed__6);
l_term_u2191_____closed__7 = _init_l_term_u2191_____closed__7();
lean_mark_persistent(l_term_u2191_____closed__7);
l_term_u2191_____closed__8 = _init_l_term_u2191_____closed__8();
lean_mark_persistent(l_term_u2191_____closed__8);
l_term_u2191_____closed__9 = _init_l_term_u2191_____closed__9();
lean_mark_persistent(l_term_u2191_____closed__9);
l_term_u2191_____closed__10 = _init_l_term_u2191_____closed__10();
lean_mark_persistent(l_term_u2191_____closed__10);
l_term_u2191_____closed__11 = _init_l_term_u2191_____closed__11();
lean_mark_persistent(l_term_u2191_____closed__11);
l_term_u2191__ = _init_l_term_u2191__();
lean_mark_persistent(l_term_u2191__);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__1 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__1();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__1);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__2 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__2();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__2);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__3 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__3();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__3);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__4 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__4();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__4);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__5 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__5();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__5);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__6 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__6();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__6);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__7 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__7();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__7);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__8 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__8();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__8);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__9 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__9();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__9);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__10 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__10();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__10);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__11 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__11();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__11);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__12 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__12();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__12);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__13 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__13();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__13);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__14 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__14();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__14);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__15 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__15();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__15);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__16 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__16();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__16);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__17 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__17();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__17);
l___aux__Init__Coe______macroRules__term_u2191____1___closed__18 = _init_l___aux__Init__Coe______macroRules__term_u2191____1___closed__18();
lean_mark_persistent(l___aux__Init__Coe______macroRules__term_u2191____1___closed__18);
l___aux__Init__Coe______unexpand__coe__1___closed__1 = _init_l___aux__Init__Coe______unexpand__coe__1___closed__1();
lean_mark_persistent(l___aux__Init__Coe______unexpand__coe__1___closed__1);
l___aux__Init__Coe______unexpand__coe__1___closed__2 = _init_l___aux__Init__Coe______unexpand__coe__1___closed__2();
lean_mark_persistent(l___aux__Init__Coe______unexpand__coe__1___closed__2);
l_boolToProp = _init_l_boolToProp();
l_boolToSort = _init_l_boolToSort();
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
