// Lean compiler output
// Module: Lean.Data.Position
// Imports: Init Lean.Data.Format Lean.ToExpr
#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___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__1;
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__7;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__4;
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__8;
lean_object* lean_nat_div(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_33_(lean_object*, lean_object*);
lean_object* lean_name_mk_string(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_FileMap_ofString_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_FileMap_ofString___closed__2;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__9;
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__3;
LEAN_EXPORT lean_object* l_Lean_instInhabitedPosition;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__3;
lean_object* l_Nat_decLt___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__15;
LEAN_EXPORT lean_object* l_Lean_Position_instToExprPosition;
extern lean_object* l_instInhabitedNat;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__14;
lean_object* lean_array_push(lean_object*, lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_Position_instToFormatPosition___closed__2;
lean_object* l_prodHasDecidableLt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5;
static lean_object* l_Lean_FileMap_ofString___closed__1;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__2;
static lean_object* l_Lean_Position_instToFormatPosition___closed__4;
static lean_object* l_Lean_Position_instToFormatPosition___closed__1;
LEAN_EXPORT lean_object* l_Lean_Position_lt(lean_object*, lean_object*);
lean_object* lean_nat_add(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instReprPosition;
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
lean_object* lean_string_utf8_next(lean_object*, lean_object*);
static lean_object* l_Lean_Position_instToExprPosition___closed__1;
static lean_object* l_Lean_Position_instToFormatPosition___closed__6;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__6;
static lean_object* l_Lean_Position_instToExprPosition___closed__2;
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_toColumn(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_instReprPosition___closed__1;
lean_object* l_Nat_repr(lean_object*);
static lean_object* l_Lean_Position_instToFormatPosition___closed__5;
lean_object* l_Array_back___rarg(lean_object*, lean_object*);
uint32_t lean_string_utf8_get(lean_object*, lean_object*);
static lean_object* l_Lean_Position_instToExprPosition___closed__3;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__16;
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*);
uint8_t l_Array_isEmpty___rarg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_FileMap_ofString(lean_object*);
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__7;
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_toColumn___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_instDecidableEqPosition(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Position_instToStringPosition(lean_object*);
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_uint32_dec_eq(uint32_t, uint32_t);
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__5;
LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_33____boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Position_instToFormatPosition___closed__3;
static lean_object* l_Lean_instInhabitedFileMap___closed__3;
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__10;
LEAN_EXPORT lean_object* l_Lean_instDecidableEqPosition___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_instInhabitedFileMap___closed__1;
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__8;
LEAN_EXPORT lean_object* l_Lean_Position_instToExprPosition___lambda__1(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Position_instToFormatPosition(lean_object*);
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__6;
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__2;
static lean_object* l_Lean_Position_lt___closed__1;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__12;
lean_object* lean_string_length(lean_object*);
static lean_object* l_Lean_instInhabitedPosition___closed__1;
static lean_object* l_Lean_instInhabitedFileMap___closed__2;
lean_object* l_Lean_mkNatLit(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160_(lean_object*, lean_object*);
static lean_object* l_Lean_FileMap_ofString___closed__3;
static lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__13;
uint8_t lean_string_utf8_at_end(lean_object*, lean_object*);
lean_object* l_Lean_mkConst(lean_object*, lean_object*);
lean_object* lean_nat_to_int(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Position_lt___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Position_lt___closed__2;
LEAN_EXPORT lean_object* l_Lean_instInhabitedFileMap;
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__1;
lean_object* l_Nat_decEq___boxed(lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_String_toFileMap(lean_object*);
static lean_object* l_Lean_Position_instToExprPosition___lambda__1___closed__4;
static lean_object* _init_l_Lean_instInhabitedPosition___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_instInhabitedPosition() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instInhabitedPosition___closed__1;
return x_1;
}
}
LEAN_EXPORT uint8_t l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_33_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = lean_ctor_get(x_2, 0);
x_6 = lean_ctor_get(x_2, 1);
x_7 = lean_nat_dec_eq(x_3, x_5);
if (x_7 == 0)
{
uint8_t x_8; 
x_8 = 0;
return x_8;
}
else
{
uint8_t x_9; 
x_9 = lean_nat_dec_eq(x_4, x_6);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_33____boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_33_(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT uint8_t l_Lean_instDecidableEqPosition(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; 
x_3 = l___private_Lean_Data_Position_0__Lean_decEqPosition____x40_Lean_Data_Position___hyg_33_(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_instDecidableEqPosition___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_instDecidableEqPosition(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("line");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__1;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__2;
x_3 = lean_alloc_ctor(4, 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___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string(" := ");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__4;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__3;
x_2 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5;
x_3 = lean_alloc_ctor(4, 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___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string(",");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__7;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("column");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__9;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("{ ");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11;
x_2 = lean_string_length(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__12;
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string(" }");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__15;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160_(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; uint8_t x_26; lean_object* x_27; 
x_3 = lean_ctor_get(x_1, 0);
lean_inc(x_3);
x_4 = l_Nat_repr(x_3);
x_5 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_5, 0, x_4);
x_6 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__6;
x_7 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
x_8 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__8;
x_9 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
x_10 = lean_box(1);
x_11 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_11, 0, x_9);
lean_ctor_set(x_11, 1, x_10);
x_12 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__10;
x_13 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5;
x_15 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
x_16 = lean_ctor_get(x_1, 1);
lean_inc(x_16);
lean_dec(x_1);
x_17 = l_Nat_repr(x_16);
x_18 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_18, 0, x_17);
x_19 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_19, 0, x_15);
lean_ctor_set(x_19, 1, x_18);
x_20 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__14;
x_21 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
x_22 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__16;
x_23 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
x_24 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__13;
x_25 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_23);
x_26 = 0;
x_27 = lean_alloc_ctor(5, 1, 1);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_26);
return x_27;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160_(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_instReprPosition___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_instReprPosition() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instReprPosition___closed__1;
return x_1;
}
}
static lean_object* _init_l_Lean_Position_lt___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_decEq___boxed), 2, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Position_lt___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Nat_decLt___boxed), 2, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Position_lt(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = lean_ctor_get(x_2, 0);
x_6 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
lean_inc(x_3);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_3);
lean_ctor_set(x_7, 1, x_4);
lean_inc(x_6);
lean_inc(x_5);
x_8 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_8, 0, x_5);
lean_ctor_set(x_8, 1, x_6);
x_9 = l_Lean_Position_lt___closed__1;
x_10 = l_Lean_Position_lt___closed__2;
x_11 = l_prodHasDecidableLt___rarg(x_9, x_9, x_10, x_10, x_7, x_8);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Position_lt___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Position_lt(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Position_instToFormatPosition___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("⟨");
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToFormatPosition___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Position_instToFormatPosition___closed__1;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Position_instToFormatPosition___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string(", ");
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToFormatPosition___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Position_instToFormatPosition___closed__3;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Position_instToFormatPosition___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("⟩");
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToFormatPosition___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Position_instToFormatPosition___closed__5;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Position_instToFormatPosition(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
lean_dec(x_1);
x_4 = l_Nat_repr(x_2);
x_5 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_5, 0, x_4);
x_6 = l_Lean_Position_instToFormatPosition___closed__2;
x_7 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
x_8 = l_Lean_Position_instToFormatPosition___closed__4;
x_9 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
x_10 = l_Nat_repr(x_3);
x_11 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_12, 0, x_9);
lean_ctor_set(x_12, 1, x_11);
x_13 = l_Lean_Position_instToFormatPosition___closed__6;
x_14 = lean_alloc_ctor(4, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Position_instToStringPosition(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
lean_dec(x_1);
x_4 = l_Nat_repr(x_2);
x_5 = l_Lean_Position_instToFormatPosition___closed__1;
x_6 = lean_string_append(x_5, x_4);
lean_dec(x_4);
x_7 = l_Lean_Position_instToFormatPosition___closed__3;
x_8 = lean_string_append(x_6, x_7);
x_9 = l_Nat_repr(x_3);
x_10 = lean_string_append(x_8, x_9);
lean_dec(x_9);
x_11 = l_Lean_Position_instToFormatPosition___closed__5;
x_12 = lean_string_append(x_10, x_11);
return x_12;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Lean");
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Position_instToExprPosition___lambda__1___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("Position");
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Position_instToExprPosition___lambda__1___closed__2;
x_2 = l_Lean_Position_instToExprPosition___lambda__1___closed__3;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("mk");
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Position_instToExprPosition___lambda__1___closed__4;
x_2 = l_Lean_Position_instToExprPosition___lambda__1___closed__5;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Position_instToExprPosition___lambda__1___closed__6;
x_3 = l_Lean_mkConst(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___lambda__1___closed__8() {
_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_Lean_Position_instToExprPosition___lambda__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = l_Lean_mkNatLit(x_2);
x_4 = lean_ctor_get(x_1, 1);
lean_inc(x_4);
lean_dec(x_1);
x_5 = l_Lean_mkNatLit(x_4);
x_6 = l_Lean_Position_instToExprPosition___lambda__1___closed__8;
x_7 = lean_array_push(x_6, x_3);
x_8 = lean_array_push(x_7, x_5);
x_9 = l_Lean_Position_instToExprPosition___lambda__1___closed__7;
x_10 = l_Lean_mkAppN(x_9, x_8);
return x_10;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Position_instToExprPosition___lambda__1___closed__4;
x_3 = l_Lean_mkConst(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Position_instToExprPosition___lambda__1), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Position_instToExprPosition___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Position_instToExprPosition___closed__2;
x_2 = l_Lean_Position_instToExprPosition___closed__1;
x_3 = lean_alloc_ctor(0, 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_Lean_Position_instToExprPosition() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Position_instToExprPosition___closed__3;
return x_1;
}
}
static lean_object* _init_l_Lean_instInhabitedFileMap___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_instInhabitedFileMap___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("");
return x_1;
}
}
static lean_object* _init_l_Lean_instInhabitedFileMap___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_instInhabitedFileMap___closed__2;
x_2 = l_Lean_instInhabitedFileMap___closed__1;
x_3 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
lean_ctor_set(x_3, 2, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_instInhabitedFileMap() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_instInhabitedFileMap___closed__3;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_ofString_loop(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; 
x_6 = lean_string_utf8_at_end(x_1, x_2);
if (x_6 == 0)
{
uint32_t x_7; lean_object* x_8; uint32_t x_9; uint8_t x_10; 
x_7 = lean_string_utf8_get(x_1, x_2);
x_8 = lean_string_utf8_next(x_1, x_2);
lean_dec(x_2);
x_9 = 10;
x_10 = lean_uint32_dec_eq(x_7, x_9);
if (x_10 == 0)
{
x_2 = x_8;
goto _start;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_12 = lean_unsigned_to_nat(1u);
x_13 = lean_nat_add(x_3, x_12);
lean_dec(x_3);
lean_inc(x_8);
x_14 = lean_array_push(x_4, x_8);
lean_inc(x_13);
x_15 = lean_array_push(x_5, x_13);
x_2 = x_8;
x_3 = x_13;
x_4 = x_14;
x_5 = x_15;
goto _start;
}
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_17 = lean_array_push(x_4, x_2);
x_18 = lean_array_push(x_5, x_3);
x_19 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_19, 0, x_1);
lean_ctor_set(x_19, 1, x_17);
lean_ctor_set(x_19, 2, x_18);
return x_19;
}
}
}
static lean_object* _init_l_Lean_FileMap_ofString___closed__1() {
_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_Lean_FileMap_ofString___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_FileMap_ofString___closed__1;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_FileMap_ofString___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_FileMap_ofString___closed__1;
x_2 = lean_unsigned_to_nat(1u);
x_3 = lean_array_push(x_1, x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_ofString(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_unsigned_to_nat(1u);
x_4 = l_Lean_FileMap_ofString___closed__2;
x_5 = l_Lean_FileMap_ofString___closed__3;
x_6 = l_Lean_FileMap_ofString_loop(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_toColumn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_nat_dec_eq(x_3, x_1);
if (x_5 == 0)
{
uint8_t x_6; 
x_6 = lean_string_utf8_at_end(x_2, x_3);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = lean_string_utf8_next(x_2, x_3);
lean_dec(x_3);
x_8 = lean_unsigned_to_nat(1u);
x_9 = lean_nat_add(x_4, x_8);
lean_dec(x_4);
x_3 = x_7;
x_4 = x_9;
goto _start;
}
else
{
lean_dec(x_3);
return x_4;
}
}
else
{
lean_dec(x_3);
return x_4;
}
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_toColumn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_FileMap_toPosition_toColumn(x_1, x_2, x_3, x_4);
lean_dec(x_2);
lean_dec(x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_loop(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; uint8_t x_11; 
x_7 = l_instInhabitedNat;
x_8 = lean_array_get(x_7, x_3, x_5);
x_9 = lean_unsigned_to_nat(1u);
x_10 = lean_nat_add(x_5, x_9);
x_11 = lean_nat_dec_eq(x_6, x_10);
lean_dec(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
lean_dec(x_8);
x_12 = lean_nat_add(x_5, x_6);
x_13 = lean_unsigned_to_nat(2u);
x_14 = lean_nat_div(x_12, x_13);
lean_dec(x_12);
x_15 = lean_array_get(x_7, x_3, x_14);
x_16 = lean_nat_dec_eq(x_1, x_15);
if (x_16 == 0)
{
uint8_t x_17; 
x_17 = lean_nat_dec_lt(x_15, x_1);
lean_dec(x_15);
if (x_17 == 0)
{
lean_dec(x_6);
x_6 = x_14;
goto _start;
}
else
{
lean_dec(x_5);
x_5 = x_14;
goto _start;
}
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
lean_dec(x_15);
lean_dec(x_6);
lean_dec(x_5);
x_20 = lean_array_get(x_7, x_4, x_14);
lean_dec(x_14);
x_21 = lean_unsigned_to_nat(0u);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
return x_22;
}
}
else
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
lean_dec(x_6);
x_23 = lean_array_get(x_7, x_4, x_5);
lean_dec(x_5);
x_24 = lean_unsigned_to_nat(0u);
x_25 = l_Lean_FileMap_toPosition_toColumn(x_1, x_2, x_8, x_24);
x_26 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_26, 0, x_23);
lean_ctor_set(x_26, 1, x_25);
return x_26;
}
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition_loop___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_FileMap_toPosition_loop(x_1, x_2, x_3, x_4, x_5, x_6);
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_FileMap_toPosition(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = lean_ctor_get(x_1, 2);
x_6 = lean_array_get_size(x_4);
x_7 = lean_unsigned_to_nat(2u);
x_8 = lean_nat_dec_le(x_7, x_6);
if (x_8 == 0)
{
uint8_t x_9; 
lean_dec(x_6);
x_9 = l_Array_isEmpty___rarg(x_5);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = l_instInhabitedNat;
x_11 = l_Array_back___rarg(x_10, x_5);
x_12 = l_Array_back___rarg(x_10, x_4);
x_13 = lean_nat_sub(x_2, x_12);
lean_dec(x_12);
x_14 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_14, 0, x_11);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
else
{
lean_object* x_15; 
x_15 = l_Lean_instInhabitedPosition___closed__1;
return x_15;
}
}
else
{
lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_16 = l_instInhabitedNat;
x_17 = l_Array_back___rarg(x_16, x_4);
x_18 = lean_nat_dec_le(x_2, x_17);
if (x_18 == 0)
{
uint8_t x_19; 
lean_dec(x_6);
x_19 = l_Array_isEmpty___rarg(x_5);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_20 = l_Array_back___rarg(x_16, x_5);
x_21 = lean_nat_sub(x_2, x_17);
lean_dec(x_17);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
return x_22;
}
else
{
lean_object* x_23; 
lean_dec(x_17);
x_23 = l_Lean_instInhabitedPosition___closed__1;
return x_23;
}
}
else
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; 
lean_dec(x_17);
x_24 = lean_unsigned_to_nat(1u);
x_25 = lean_nat_sub(x_6, x_24);
lean_dec(x_6);
x_26 = lean_unsigned_to_nat(0u);
x_27 = l_Lean_FileMap_toPosition_loop(x_2, x_3, x_4, x_5, x_26, x_25);
return x_27;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_FileMap_toPosition___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_FileMap_toPosition(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_String_toFileMap(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_FileMap_ofString(x_1);
return x_2;
}
}
lean_object* initialize_Init(lean_object*);
lean_object* initialize_Lean_Data_Format(lean_object*);
lean_object* initialize_Lean_ToExpr(lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Data_Position(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Format(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_ToExpr(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_instInhabitedPosition___closed__1 = _init_l_Lean_instInhabitedPosition___closed__1();
lean_mark_persistent(l_Lean_instInhabitedPosition___closed__1);
l_Lean_instInhabitedPosition = _init_l_Lean_instInhabitedPosition();
lean_mark_persistent(l_Lean_instInhabitedPosition);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__1 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__1();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__1);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__2 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__2();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__2);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__3 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__3();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__3);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__4 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__4();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__4);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__5);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__6 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__6();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__6);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__7 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__7();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__7);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__8 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__8();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__8);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__9 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__9();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__9);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__10 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__10();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__10);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__11);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__12 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__12();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__12);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__13 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__13();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__13);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__14 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__14();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__14);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__15 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__15();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__15);
l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__16 = _init_l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__16();
lean_mark_persistent(l___private_Lean_Data_Position_0__Lean_reprPosition____x40_Lean_Data_Position___hyg_160____closed__16);
l_Lean_instReprPosition___closed__1 = _init_l_Lean_instReprPosition___closed__1();
lean_mark_persistent(l_Lean_instReprPosition___closed__1);
l_Lean_instReprPosition = _init_l_Lean_instReprPosition();
lean_mark_persistent(l_Lean_instReprPosition);
l_Lean_Position_lt___closed__1 = _init_l_Lean_Position_lt___closed__1();
lean_mark_persistent(l_Lean_Position_lt___closed__1);
l_Lean_Position_lt___closed__2 = _init_l_Lean_Position_lt___closed__2();
lean_mark_persistent(l_Lean_Position_lt___closed__2);
l_Lean_Position_instToFormatPosition___closed__1 = _init_l_Lean_Position_instToFormatPosition___closed__1();
lean_mark_persistent(l_Lean_Position_instToFormatPosition___closed__1);
l_Lean_Position_instToFormatPosition___closed__2 = _init_l_Lean_Position_instToFormatPosition___closed__2();
lean_mark_persistent(l_Lean_Position_instToFormatPosition___closed__2);
l_Lean_Position_instToFormatPosition___closed__3 = _init_l_Lean_Position_instToFormatPosition___closed__3();
lean_mark_persistent(l_Lean_Position_instToFormatPosition___closed__3);
l_Lean_Position_instToFormatPosition___closed__4 = _init_l_Lean_Position_instToFormatPosition___closed__4();
lean_mark_persistent(l_Lean_Position_instToFormatPosition___closed__4);
l_Lean_Position_instToFormatPosition___closed__5 = _init_l_Lean_Position_instToFormatPosition___closed__5();
lean_mark_persistent(l_Lean_Position_instToFormatPosition___closed__5);
l_Lean_Position_instToFormatPosition___closed__6 = _init_l_Lean_Position_instToFormatPosition___closed__6();
lean_mark_persistent(l_Lean_Position_instToFormatPosition___closed__6);
l_Lean_Position_instToExprPosition___lambda__1___closed__1 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__1();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__1);
l_Lean_Position_instToExprPosition___lambda__1___closed__2 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__2();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__2);
l_Lean_Position_instToExprPosition___lambda__1___closed__3 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__3();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__3);
l_Lean_Position_instToExprPosition___lambda__1___closed__4 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__4();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__4);
l_Lean_Position_instToExprPosition___lambda__1___closed__5 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__5();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__5);
l_Lean_Position_instToExprPosition___lambda__1___closed__6 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__6();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__6);
l_Lean_Position_instToExprPosition___lambda__1___closed__7 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__7();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__7);
l_Lean_Position_instToExprPosition___lambda__1___closed__8 = _init_l_Lean_Position_instToExprPosition___lambda__1___closed__8();
lean_mark_persistent(l_Lean_Position_instToExprPosition___lambda__1___closed__8);
l_Lean_Position_instToExprPosition___closed__1 = _init_l_Lean_Position_instToExprPosition___closed__1();
lean_mark_persistent(l_Lean_Position_instToExprPosition___closed__1);
l_Lean_Position_instToExprPosition___closed__2 = _init_l_Lean_Position_instToExprPosition___closed__2();
lean_mark_persistent(l_Lean_Position_instToExprPosition___closed__2);
l_Lean_Position_instToExprPosition___closed__3 = _init_l_Lean_Position_instToExprPosition___closed__3();
lean_mark_persistent(l_Lean_Position_instToExprPosition___closed__3);
l_Lean_Position_instToExprPosition = _init_l_Lean_Position_instToExprPosition();
lean_mark_persistent(l_Lean_Position_instToExprPosition);
l_Lean_instInhabitedFileMap___closed__1 = _init_l_Lean_instInhabitedFileMap___closed__1();
lean_mark_persistent(l_Lean_instInhabitedFileMap___closed__1);
l_Lean_instInhabitedFileMap___closed__2 = _init_l_Lean_instInhabitedFileMap___closed__2();
lean_mark_persistent(l_Lean_instInhabitedFileMap___closed__2);
l_Lean_instInhabitedFileMap___closed__3 = _init_l_Lean_instInhabitedFileMap___closed__3();
lean_mark_persistent(l_Lean_instInhabitedFileMap___closed__3);
l_Lean_instInhabitedFileMap = _init_l_Lean_instInhabitedFileMap();
lean_mark_persistent(l_Lean_instInhabitedFileMap);
l_Lean_FileMap_ofString___closed__1 = _init_l_Lean_FileMap_ofString___closed__1();
lean_mark_persistent(l_Lean_FileMap_ofString___closed__1);
l_Lean_FileMap_ofString___closed__2 = _init_l_Lean_FileMap_ofString___closed__2();
lean_mark_persistent(l_Lean_FileMap_ofString___closed__2);
l_Lean_FileMap_ofString___closed__3 = _init_l_Lean_FileMap_ofString___closed__3();
lean_mark_persistent(l_Lean_FileMap_ofString___closed__3);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
