// Lean compiler output
// Module: Std.Data.Iterators.Combinators.Monadic.Zip
// Imports: Init.Data.Option.Lemmas Std.Data.Iterators.Basic Std.Data.Iterators.Consumers.Collect Std.Data.Iterators.Consumers.Loop Std.Data.Iterators.Internal.Termination
#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_Std_Iterators_Zip_instFinitenessRelation_u2082___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoopPartial___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2081(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2(lean_object*, lean_object*, lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2082___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instProductivenessRelation___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_zip(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_zip___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instProductivenessRelation___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Combinators_Monadic_Zip_0__Std_Internal_Option_SomeLtNone_lt_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoopPartial(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Combinators_Monadic_Zip_0__Std_Internal_Option_SomeLtNone_lt_match__1_splitter(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2082(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator(lean_object*, lean_object*, lean_object*);
static lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1;
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instProductivenessRelation(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2081___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollect___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollectPartial(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoop(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_mk(lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_zip___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2081___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollectPartial___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollect(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
switch (lean_obj_tag(x_4)) {
case 0:
{
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_5 = lean_ctor_get(x_4, 0);
lean_inc(x_5);
x_6 = lean_ctor_get(x_4, 1);
lean_inc(x_6);
lean_dec(x_4);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_ctor_get(x_7, 1);
lean_inc(x_8);
lean_dec(x_7);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_6);
x_10 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_10, 0, x_5);
lean_ctor_set(x_10, 1, x_9);
lean_ctor_set(x_10, 2, x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_apply_2(x_8, lean_box(0), x_11);
return x_12;
}
case 1:
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_4);
if (x_13 == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_14 = lean_ctor_get(x_4, 0);
x_15 = lean_ctor_get(x_1, 0);
lean_inc(x_15);
lean_dec(x_1);
x_16 = lean_ctor_get(x_15, 1);
lean_inc(x_16);
lean_dec(x_15);
x_17 = lean_box(0);
x_18 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_18, 0, x_14);
lean_ctor_set(x_18, 1, x_17);
lean_ctor_set(x_18, 2, x_3);
lean_ctor_set(x_4, 0, x_18);
x_19 = lean_apply_2(x_16, lean_box(0), x_4);
return x_19;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_20 = lean_ctor_get(x_4, 0);
lean_inc(x_20);
lean_dec(x_4);
x_21 = lean_ctor_get(x_1, 0);
lean_inc(x_21);
lean_dec(x_1);
x_22 = lean_ctor_get(x_21, 1);
lean_inc(x_22);
lean_dec(x_21);
x_23 = lean_box(0);
x_24 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_24, 0, x_20);
lean_ctor_set(x_24, 1, x_23);
lean_ctor_set(x_24, 2, x_3);
x_25 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_25, 0, x_24);
x_26 = lean_apply_2(x_22, lean_box(0), x_25);
return x_26;
}
}
default: 
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
lean_dec(x_3);
x_27 = lean_ctor_get(x_1, 0);
lean_inc(x_27);
lean_dec(x_1);
x_28 = lean_ctor_get(x_27, 1);
lean_inc(x_28);
lean_dec(x_27);
x_29 = lean_box(2);
x_30 = lean_apply_2(x_28, lean_box(0), x_29);
return x_30;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
switch (lean_obj_tag(x_5)) {
case 0:
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
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_7 = lean_ctor_get(x_5, 0);
x_8 = lean_ctor_get(x_5, 1);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_9, 1);
lean_inc(x_10);
lean_dec(x_9);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_12, 0, x_3);
lean_ctor_set(x_12, 1, x_11);
lean_ctor_set(x_12, 2, x_7);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_4);
lean_ctor_set(x_13, 1, x_8);
lean_ctor_set(x_5, 1, x_13);
lean_ctor_set(x_5, 0, x_12);
x_14 = lean_apply_2(x_10, lean_box(0), x_5);
return x_14;
}
else
{
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; 
x_15 = lean_ctor_get(x_5, 0);
x_16 = lean_ctor_get(x_5, 1);
lean_inc(x_16);
lean_inc(x_15);
lean_dec(x_5);
x_17 = lean_ctor_get(x_1, 0);
lean_inc(x_17);
lean_dec(x_1);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
x_19 = lean_box(0);
x_20 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_20, 0, x_3);
lean_ctor_set(x_20, 1, x_19);
lean_ctor_set(x_20, 2, x_15);
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_4);
lean_ctor_set(x_21, 1, x_16);
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_20);
lean_ctor_set(x_22, 1, x_21);
x_23 = lean_apply_2(x_18, lean_box(0), x_22);
return x_23;
}
}
case 1:
{
uint8_t x_24; 
x_24 = !lean_is_exclusive(x_5);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_25 = lean_ctor_get(x_5, 0);
x_26 = lean_ctor_get(x_1, 0);
lean_inc(x_26);
lean_dec(x_1);
x_27 = lean_ctor_get(x_26, 1);
lean_inc(x_27);
lean_dec(x_26);
x_28 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_28, 0, x_4);
x_29 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_29, 0, x_3);
lean_ctor_set(x_29, 1, x_28);
lean_ctor_set(x_29, 2, x_25);
lean_ctor_set(x_5, 0, x_29);
x_30 = lean_apply_2(x_27, lean_box(0), x_5);
return x_30;
}
else
{
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; 
x_31 = lean_ctor_get(x_5, 0);
lean_inc(x_31);
lean_dec(x_5);
x_32 = lean_ctor_get(x_1, 0);
lean_inc(x_32);
lean_dec(x_1);
x_33 = lean_ctor_get(x_32, 1);
lean_inc(x_33);
lean_dec(x_32);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_4);
x_35 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_35, 0, x_3);
lean_ctor_set(x_35, 1, x_34);
lean_ctor_set(x_35, 2, x_31);
x_36 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_36, 0, x_35);
x_37 = lean_apply_2(x_33, lean_box(0), x_36);
return x_37;
}
}
default: 
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; 
lean_dec(x_4);
lean_dec(x_3);
x_38 = lean_ctor_get(x_1, 0);
lean_inc(x_38);
lean_dec(x_1);
x_39 = lean_ctor_get(x_38, 1);
lean_inc(x_39);
lean_dec(x_38);
x_40 = lean_box(2);
x_41 = lean_apply_2(x_39, lean_box(0), x_40);
return x_41;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg(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 = lean_ctor_get(x_6, 1);
lean_inc(x_7);
if (lean_obj_tag(x_7) == 0)
{
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_dec(x_4);
x_8 = lean_ctor_get(x_6, 0);
lean_inc(x_8);
x_9 = lean_ctor_get(x_6, 2);
lean_inc(x_9);
lean_dec(x_6);
x_10 = lean_ctor_get(x_5, 1);
lean_inc(x_10);
lean_inc(x_1);
x_11 = lean_apply_1(x_1, x_8);
x_12 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_12, 0, x_5);
lean_closure_set(x_12, 1, x_1);
lean_closure_set(x_12, 2, x_9);
x_13 = lean_apply_4(x_10, lean_box(0), lean_box(0), x_11, x_12);
return x_13;
}
else
{
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; 
x_14 = lean_ctor_get(x_6, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_6, 2);
lean_inc(x_15);
lean_dec(x_6);
x_16 = lean_ctor_get(x_7, 0);
lean_inc(x_16);
lean_dec(x_7);
x_17 = lean_ctor_get(x_5, 1);
lean_inc(x_17);
x_18 = lean_apply_1(x_4, x_15);
x_19 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_19, 0, x_5);
lean_closure_set(x_19, 1, x_1);
lean_closure_set(x_19, 2, x_14);
lean_closure_set(x_19, 3, x_16);
x_20 = lean_apply_4(x_17, lean_box(0), lean_box(0), x_18, x_19);
return x_20;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg), 6, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__1___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_Std_Iterators_Zip_instIterator___rarg___lambda__1(x_1, x_2, x_3, x_4);
lean_dec(x_2);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Std_Iterators_Zip_instIterator___rarg___lambda__2(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_2);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_zip___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_box(0);
x_7 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_7, 0, x_4);
lean_ctor_set(x_7, 1, x_6);
lean_ctor_set(x_7, 2, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_zip(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_zip___rarg___boxed), 5, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_zip___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l_Std_Iterators_IterM_zip___rarg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2081___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_box(0);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2081(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instFinitenessRelation_u2081___rarg___boxed), 7, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2081___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Std_Iterators_Zip_instFinitenessRelation_u2081___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Combinators_Monadic_Zip_0__Std_Internal_Option_SomeLtNone_lt_match__1_splitter___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_6; 
lean_dec(x_5);
lean_dec(x_4);
x_6 = lean_apply_1(x_3, x_2);
return x_6;
}
else
{
lean_dec(x_3);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_7; lean_object* x_8; 
lean_dec(x_5);
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_apply_1(x_4, x_7);
return x_8;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
lean_dec(x_4);
x_9 = lean_ctor_get(x_1, 0);
lean_inc(x_9);
lean_dec(x_1);
x_10 = lean_ctor_get(x_2, 0);
lean_inc(x_10);
lean_dec(x_2);
x_11 = lean_apply_2(x_5, x_9, x_10);
return x_11;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Std_Data_Iterators_Combinators_Monadic_Zip_0__Std_Internal_Option_SomeLtNone_lt_match__1_splitter(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_alloc_closure((void*)(l___private_Std_Data_Iterators_Combinators_Monadic_Zip_0__Std_Internal_Option_SomeLtNone_lt_match__1_splitter___rarg), 5, 0);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2082___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_box(0);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2082(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instFinitenessRelation_u2082___rarg___boxed), 7, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instFinitenessRelation_u2082___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Std_Iterators_Zip_instFinitenessRelation_u2082___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instProductivenessRelation___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_box(0);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instProductivenessRelation(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instProductivenessRelation___rarg___boxed), 7, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instProductivenessRelation___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Std_Iterators_Zip_instProductivenessRelation___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_array_push(x_1, x_9);
x_11 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg(x_2, lean_box(0), lean_box(0), x_3, lean_box(0), x_4, x_5, lean_box(0), x_6, lean_box(0), x_7, x_8, x_10);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
switch (lean_obj_tag(x_9)) {
case 0:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_9, 1);
lean_inc(x_11);
lean_dec(x_9);
lean_inc(x_1);
x_12 = lean_apply_1(x_1, x_11);
x_13 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg___lambda__1), 9, 8);
lean_closure_set(x_13, 0, x_2);
lean_closure_set(x_13, 1, x_3);
lean_closure_set(x_13, 2, x_4);
lean_closure_set(x_13, 3, x_5);
lean_closure_set(x_13, 4, x_6);
lean_closure_set(x_13, 5, x_7);
lean_closure_set(x_13, 6, x_1);
lean_closure_set(x_13, 7, x_10);
x_14 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_13);
return x_14;
}
case 1:
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_8);
x_15 = lean_ctor_get(x_9, 0);
lean_inc(x_15);
lean_dec(x_9);
x_16 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg(x_3, lean_box(0), lean_box(0), x_4, lean_box(0), x_5, x_6, lean_box(0), x_7, lean_box(0), x_1, x_15, x_2);
return x_16;
}
default: 
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_17 = lean_ctor_get(x_6, 0);
lean_inc(x_17);
lean_dec(x_6);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
x_19 = lean_apply_2(x_18, lean_box(0), x_2);
return x_19;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_14 = lean_ctor_get(x_7, 1);
lean_inc(x_14);
x_15 = lean_ctor_get(x_12, 0);
lean_inc(x_15);
x_16 = lean_ctor_get(x_12, 1);
lean_inc(x_16);
x_17 = lean_ctor_get(x_12, 2);
lean_inc(x_17);
lean_dec(x_12);
lean_inc(x_14);
lean_inc(x_9);
lean_inc(x_6);
lean_inc(x_4);
lean_inc(x_1);
x_18 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg___lambda__2), 9, 8);
lean_closure_set(x_18, 0, x_11);
lean_closure_set(x_18, 1, x_13);
lean_closure_set(x_18, 2, x_1);
lean_closure_set(x_18, 3, x_4);
lean_closure_set(x_18, 4, x_6);
lean_closure_set(x_18, 5, x_7);
lean_closure_set(x_18, 6, x_9);
lean_closure_set(x_18, 7, x_14);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
lean_dec(x_4);
x_19 = lean_ctor_get(x_6, 1);
lean_inc(x_19);
lean_inc(x_1);
x_20 = lean_apply_1(x_1, x_15);
x_21 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_21, 0, x_6);
lean_closure_set(x_21, 1, x_1);
lean_closure_set(x_21, 2, x_17);
x_22 = lean_apply_4(x_19, lean_box(0), lean_box(0), x_20, x_21);
x_23 = lean_apply_2(x_9, lean_box(0), x_22);
x_24 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_23, x_18);
return x_24;
}
else
{
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; 
x_25 = lean_ctor_get(x_16, 0);
lean_inc(x_25);
lean_dec(x_16);
x_26 = lean_ctor_get(x_6, 1);
lean_inc(x_26);
x_27 = lean_apply_1(x_4, x_17);
x_28 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_28, 0, x_6);
lean_closure_set(x_28, 1, x_1);
lean_closure_set(x_28, 2, x_15);
lean_closure_set(x_28, 3, x_25);
x_29 = lean_apply_4(x_26, lean_box(0), lean_box(0), x_27, x_28);
x_30 = lean_apply_2(x_9, lean_box(0), x_29);
x_31 = lean_apply_4(x_14, lean_box(0), lean_box(0), x_30, x_18);
return x_31;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg), 13, 0);
return x_4;
}
}
static lean_object* _init_l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_array_mk(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; 
x_13 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1;
x_14 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped_go___at_Std_Iterators_Zip_instIteratorCollect___spec__2___rarg(x_1, lean_box(0), lean_box(0), x_4, lean_box(0), x_6, x_7, lean_box(0), x_9, lean_box(0), x_11, x_12, x_13);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg), 12, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollect___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg), 12, 7);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, lean_box(0));
lean_closure_set(x_8, 2, lean_box(0));
lean_closure_set(x_8, 3, x_4);
lean_closure_set(x_8, 4, lean_box(0));
lean_closure_set(x_8, 5, x_6);
lean_closure_set(x_8, 6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollect(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIteratorCollect___rarg), 7, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_array_push(x_1, x_9);
x_11 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg(x_2, lean_box(0), lean_box(0), x_3, lean_box(0), x_4, x_5, x_6, lean_box(0), x_7, x_8, x_10);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
switch (lean_obj_tag(x_9)) {
case 0:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_9, 1);
lean_inc(x_11);
lean_dec(x_9);
lean_inc(x_1);
x_12 = lean_apply_1(x_1, x_11);
x_13 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg___lambda__1), 9, 8);
lean_closure_set(x_13, 0, x_2);
lean_closure_set(x_13, 1, x_3);
lean_closure_set(x_13, 2, x_4);
lean_closure_set(x_13, 3, x_5);
lean_closure_set(x_13, 4, x_6);
lean_closure_set(x_13, 5, x_7);
lean_closure_set(x_13, 6, x_1);
lean_closure_set(x_13, 7, x_10);
x_14 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_13);
return x_14;
}
case 1:
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_8);
x_15 = lean_ctor_get(x_9, 0);
lean_inc(x_15);
lean_dec(x_9);
x_16 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg(x_3, lean_box(0), lean_box(0), x_4, lean_box(0), x_5, x_6, x_7, lean_box(0), x_1, x_15, x_2);
return x_16;
}
default: 
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_1);
x_17 = lean_ctor_get(x_6, 0);
lean_inc(x_17);
lean_dec(x_6);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
x_19 = lean_apply_2(x_18, lean_box(0), x_2);
return x_19;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = lean_ctor_get(x_7, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_11, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_11, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_11, 2);
lean_inc(x_16);
lean_dec(x_11);
lean_inc(x_13);
lean_inc(x_8);
lean_inc(x_6);
lean_inc(x_4);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg___lambda__2), 9, 8);
lean_closure_set(x_17, 0, x_10);
lean_closure_set(x_17, 1, x_12);
lean_closure_set(x_17, 2, x_1);
lean_closure_set(x_17, 3, x_4);
lean_closure_set(x_17, 4, x_6);
lean_closure_set(x_17, 5, x_7);
lean_closure_set(x_17, 6, x_8);
lean_closure_set(x_17, 7, x_13);
if (lean_obj_tag(x_15) == 0)
{
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_dec(x_4);
x_18 = lean_ctor_get(x_6, 1);
lean_inc(x_18);
lean_inc(x_1);
x_19 = lean_apply_1(x_1, x_14);
x_20 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_20, 0, x_6);
lean_closure_set(x_20, 1, x_1);
lean_closure_set(x_20, 2, x_16);
x_21 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_20);
x_22 = lean_apply_2(x_8, lean_box(0), x_21);
x_23 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_22, x_17);
return x_23;
}
else
{
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; 
x_24 = lean_ctor_get(x_15, 0);
lean_inc(x_24);
lean_dec(x_15);
x_25 = lean_ctor_get(x_6, 1);
lean_inc(x_25);
x_26 = lean_apply_1(x_4, x_16);
x_27 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_27, 0, x_6);
lean_closure_set(x_27, 1, x_1);
lean_closure_set(x_27, 2, x_14);
lean_closure_set(x_27, 3, x_24);
x_28 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_26, x_27);
x_29 = lean_apply_2(x_8, lean_box(0), x_28);
x_30 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_29, x_17);
return x_30;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg), 12, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; lean_object* x_13; 
x_12 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1;
x_13 = l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial_go___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__2___rarg(x_1, lean_box(0), lean_box(0), x_4, lean_box(0), x_6, x_7, x_8, lean_box(0), x_10, x_11, x_12);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__1___rarg), 11, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollectPartial___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_toArrayMappedPartial___at_Std_Iterators_Zip_instIteratorCollectPartial___spec__1___rarg), 11, 7);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, lean_box(0));
lean_closure_set(x_8, 2, lean_box(0));
lean_closure_set(x_8, 3, x_4);
lean_closure_set(x_8, 4, lean_box(0));
lean_closure_set(x_8, 5, x_6);
lean_closure_set(x_8, 6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorCollectPartial(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIteratorCollectPartial___rarg), 7, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec(x_8);
x_10 = lean_ctor_get(x_1, 0);
lean_inc(x_10);
lean_dec(x_1);
x_11 = lean_ctor_get(x_10, 1);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_apply_2(x_11, lean_box(0), x_9);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_8, 0);
lean_inc(x_13);
lean_dec(x_8);
x_14 = l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg(x_2, lean_box(0), lean_box(0), x_3, lean_box(0), x_4, x_1, x_5, lean_box(0), lean_box(0), lean_box(0), x_6, x_13, x_7);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
switch (lean_obj_tag(x_9)) {
case 0:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_9, 1);
lean_inc(x_11);
lean_dec(x_9);
lean_inc(x_1);
x_12 = lean_apply_2(x_1, x_11, x_2);
x_13 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___lambda__1), 8, 7);
lean_closure_set(x_13, 0, x_3);
lean_closure_set(x_13, 1, x_4);
lean_closure_set(x_13, 2, x_5);
lean_closure_set(x_13, 3, x_6);
lean_closure_set(x_13, 4, x_7);
lean_closure_set(x_13, 5, x_10);
lean_closure_set(x_13, 6, x_1);
x_14 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_13);
return x_14;
}
case 1:
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_8);
x_15 = lean_ctor_get(x_9, 0);
lean_inc(x_15);
lean_dec(x_9);
x_16 = l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg(x_4, lean_box(0), lean_box(0), x_5, lean_box(0), x_6, x_3, x_7, lean_box(0), lean_box(0), lean_box(0), x_15, x_2, x_1);
return x_16;
}
default: 
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_17 = lean_ctor_get(x_3, 0);
lean_inc(x_17);
lean_dec(x_3);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
x_19 = lean_apply_2(x_18, lean_box(0), x_2);
return x_19;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_7, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_12, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_12, 1);
lean_inc(x_17);
x_18 = lean_ctor_get(x_12, 2);
lean_inc(x_18);
lean_dec(x_12);
lean_inc(x_15);
lean_inc(x_8);
lean_inc(x_6);
lean_inc(x_4);
lean_inc(x_1);
x_19 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___lambda__2), 9, 8);
lean_closure_set(x_19, 0, x_14);
lean_closure_set(x_19, 1, x_13);
lean_closure_set(x_19, 2, x_7);
lean_closure_set(x_19, 3, x_1);
lean_closure_set(x_19, 4, x_4);
lean_closure_set(x_19, 5, x_6);
lean_closure_set(x_19, 6, x_8);
lean_closure_set(x_19, 7, x_15);
if (lean_obj_tag(x_17) == 0)
{
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_dec(x_4);
x_20 = lean_ctor_get(x_6, 1);
lean_inc(x_20);
lean_inc(x_1);
x_21 = lean_apply_1(x_1, x_16);
x_22 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_22, 0, x_6);
lean_closure_set(x_22, 1, x_1);
lean_closure_set(x_22, 2, x_18);
x_23 = lean_apply_4(x_20, lean_box(0), lean_box(0), x_21, x_22);
x_24 = lean_apply_2(x_8, lean_box(0), x_23);
x_25 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_24, x_19);
return x_25;
}
else
{
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_26 = lean_ctor_get(x_17, 0);
lean_inc(x_26);
lean_dec(x_17);
x_27 = lean_ctor_get(x_6, 1);
lean_inc(x_27);
x_28 = lean_apply_1(x_4, x_18);
x_29 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_29, 0, x_6);
lean_closure_set(x_29, 1, x_1);
lean_closure_set(x_29, 2, x_16);
lean_closure_set(x_29, 3, x_26);
x_30 = lean_apply_4(x_27, lean_box(0), lean_box(0), x_28, x_29);
x_31 = lean_apply_2(x_8, lean_box(0), x_30);
x_32 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_31, x_19);
return x_32;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg), 14, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_7, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_12, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_12, 1);
lean_inc(x_17);
x_18 = lean_ctor_get(x_12, 2);
lean_inc(x_18);
lean_dec(x_12);
lean_inc(x_15);
lean_inc(x_8);
lean_inc(x_6);
lean_inc(x_4);
lean_inc(x_1);
x_19 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__2___rarg___lambda__2), 9, 8);
lean_closure_set(x_19, 0, x_14);
lean_closure_set(x_19, 1, x_13);
lean_closure_set(x_19, 2, x_7);
lean_closure_set(x_19, 3, x_1);
lean_closure_set(x_19, 4, x_4);
lean_closure_set(x_19, 5, x_6);
lean_closure_set(x_19, 6, x_8);
lean_closure_set(x_19, 7, x_15);
if (lean_obj_tag(x_17) == 0)
{
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_dec(x_4);
x_20 = lean_ctor_get(x_6, 1);
lean_inc(x_20);
lean_inc(x_1);
x_21 = lean_apply_1(x_1, x_16);
x_22 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_22, 0, x_6);
lean_closure_set(x_22, 1, x_1);
lean_closure_set(x_22, 2, x_18);
x_23 = lean_apply_4(x_20, lean_box(0), lean_box(0), x_21, x_22);
x_24 = lean_apply_2(x_8, lean_box(0), x_23);
x_25 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_24, x_19);
return x_25;
}
else
{
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_26 = lean_ctor_get(x_17, 0);
lean_inc(x_26);
lean_dec(x_17);
x_27 = lean_ctor_get(x_6, 1);
lean_inc(x_27);
x_28 = lean_apply_1(x_4, x_18);
x_29 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_29, 0, x_6);
lean_closure_set(x_29, 1, x_1);
lean_closure_set(x_29, 2, x_16);
lean_closure_set(x_29, 3, x_26);
x_30 = lean_apply_4(x_27, lean_box(0), lean_box(0), x_28, x_29);
x_31 = lean_apply_2(x_8, lean_box(0), x_30);
x_32 = lean_apply_4(x_15, lean_box(0), lean_box(0), x_31, x_19);
return x_32;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__1___rarg), 14, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoop___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forIn___at_Std_Iterators_Zip_instIteratorLoop___spec__1___rarg), 14, 7);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, lean_box(0));
lean_closure_set(x_8, 2, lean_box(0));
lean_closure_set(x_8, 3, x_4);
lean_closure_set(x_8, 4, lean_box(0));
lean_closure_set(x_8, 5, x_6);
lean_closure_set(x_8, 6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoop(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIteratorLoop___rarg), 7, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
if (lean_obj_tag(x_8) == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
lean_dec(x_8);
x_10 = lean_ctor_get(x_1, 0);
lean_inc(x_10);
lean_dec(x_1);
x_11 = lean_ctor_get(x_10, 1);
lean_inc(x_11);
lean_dec(x_10);
x_12 = lean_apply_2(x_11, lean_box(0), x_9);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_8, 0);
lean_inc(x_13);
lean_dec(x_8);
x_14 = l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg(x_2, lean_box(0), lean_box(0), x_3, lean_box(0), x_4, x_1, x_5, lean_box(0), x_6, x_13, x_7);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___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, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
switch (lean_obj_tag(x_9)) {
case 0:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
x_11 = lean_ctor_get(x_9, 1);
lean_inc(x_11);
lean_dec(x_9);
lean_inc(x_1);
x_12 = lean_apply_2(x_1, x_11, x_2);
x_13 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___lambda__1), 8, 7);
lean_closure_set(x_13, 0, x_3);
lean_closure_set(x_13, 1, x_4);
lean_closure_set(x_13, 2, x_5);
lean_closure_set(x_13, 3, x_6);
lean_closure_set(x_13, 4, x_7);
lean_closure_set(x_13, 5, x_10);
lean_closure_set(x_13, 6, x_1);
x_14 = lean_apply_4(x_8, lean_box(0), lean_box(0), x_12, x_13);
return x_14;
}
case 1:
{
lean_object* x_15; lean_object* x_16; 
lean_dec(x_8);
x_15 = lean_ctor_get(x_9, 0);
lean_inc(x_15);
lean_dec(x_9);
x_16 = l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg(x_4, lean_box(0), lean_box(0), x_5, lean_box(0), x_6, x_3, x_7, lean_box(0), x_15, x_2, x_1);
return x_16;
}
default: 
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_17 = lean_ctor_get(x_3, 0);
lean_inc(x_17);
lean_dec(x_3);
x_18 = lean_ctor_get(x_17, 1);
lean_inc(x_18);
lean_dec(x_17);
x_19 = lean_apply_2(x_18, lean_box(0), x_2);
return x_19;
}
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = lean_ctor_get(x_7, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_10, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_10, 2);
lean_inc(x_16);
lean_dec(x_10);
lean_inc(x_13);
lean_inc(x_8);
lean_inc(x_6);
lean_inc(x_4);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___lambda__2), 9, 8);
lean_closure_set(x_17, 0, x_12);
lean_closure_set(x_17, 1, x_11);
lean_closure_set(x_17, 2, x_7);
lean_closure_set(x_17, 3, x_1);
lean_closure_set(x_17, 4, x_4);
lean_closure_set(x_17, 5, x_6);
lean_closure_set(x_17, 6, x_8);
lean_closure_set(x_17, 7, x_13);
if (lean_obj_tag(x_15) == 0)
{
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_dec(x_4);
x_18 = lean_ctor_get(x_6, 1);
lean_inc(x_18);
lean_inc(x_1);
x_19 = lean_apply_1(x_1, x_14);
x_20 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_20, 0, x_6);
lean_closure_set(x_20, 1, x_1);
lean_closure_set(x_20, 2, x_16);
x_21 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_20);
x_22 = lean_apply_2(x_8, lean_box(0), x_21);
x_23 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_22, x_17);
return x_23;
}
else
{
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; 
x_24 = lean_ctor_get(x_15, 0);
lean_inc(x_24);
lean_dec(x_15);
x_25 = lean_ctor_get(x_6, 1);
lean_inc(x_25);
x_26 = lean_apply_1(x_4, x_16);
x_27 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_27, 0, x_6);
lean_closure_set(x_27, 1, x_1);
lean_closure_set(x_27, 2, x_14);
lean_closure_set(x_27, 3, x_24);
x_28 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_26, x_27);
x_29 = lean_apply_2(x_8, lean_box(0), x_28);
x_30 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_29, x_17);
return x_30;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg), 12, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = lean_ctor_get(x_7, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_10, 0);
lean_inc(x_14);
x_15 = lean_ctor_get(x_10, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_10, 2);
lean_inc(x_16);
lean_dec(x_10);
lean_inc(x_13);
lean_inc(x_8);
lean_inc(x_6);
lean_inc(x_4);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__2___rarg___lambda__2), 9, 8);
lean_closure_set(x_17, 0, x_12);
lean_closure_set(x_17, 1, x_11);
lean_closure_set(x_17, 2, x_7);
lean_closure_set(x_17, 3, x_1);
lean_closure_set(x_17, 4, x_4);
lean_closure_set(x_17, 5, x_6);
lean_closure_set(x_17, 6, x_8);
lean_closure_set(x_17, 7, x_13);
if (lean_obj_tag(x_15) == 0)
{
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_dec(x_4);
x_18 = lean_ctor_get(x_6, 1);
lean_inc(x_18);
lean_inc(x_1);
x_19 = lean_apply_1(x_1, x_14);
x_20 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__1___boxed), 4, 3);
lean_closure_set(x_20, 0, x_6);
lean_closure_set(x_20, 1, x_1);
lean_closure_set(x_20, 2, x_16);
x_21 = lean_apply_4(x_18, lean_box(0), lean_box(0), x_19, x_20);
x_22 = lean_apply_2(x_8, lean_box(0), x_21);
x_23 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_22, x_17);
return x_23;
}
else
{
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; 
x_24 = lean_ctor_get(x_15, 0);
lean_inc(x_24);
lean_dec(x_15);
x_25 = lean_ctor_get(x_6, 1);
lean_inc(x_25);
x_26 = lean_apply_1(x_4, x_16);
x_27 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIterator___rarg___lambda__2___boxed), 5, 4);
lean_closure_set(x_27, 0, x_6);
lean_closure_set(x_27, 1, x_1);
lean_closure_set(x_27, 2, x_14);
lean_closure_set(x_27, 3, x_24);
x_28 = lean_apply_4(x_25, lean_box(0), lean_box(0), x_26, x_27);
x_29 = lean_apply_2(x_8, lean_box(0), x_28);
x_30 = lean_apply_4(x_13, lean_box(0), lean_box(0), x_29, x_17);
return x_30;
}
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__1___rarg), 12, 0);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoopPartial___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = lean_alloc_closure((void*)(l_Std_Iterators_IterM_DefaultConsumers_forInPartial___at_Std_Iterators_Zip_instIteratorLoopPartial___spec__1___rarg), 12, 7);
lean_closure_set(x_8, 0, x_1);
lean_closure_set(x_8, 1, lean_box(0));
lean_closure_set(x_8, 2, lean_box(0));
lean_closure_set(x_8, 3, x_4);
lean_closure_set(x_8, 4, lean_box(0));
lean_closure_set(x_8, 5, x_6);
lean_closure_set(x_8, 6, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Iterators_Zip_instIteratorLoopPartial(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = lean_alloc_closure((void*)(l_Std_Iterators_Zip_instIteratorLoopPartial___rarg), 7, 0);
return x_4;
}
}
lean_object* initialize_Init_Data_Option_Lemmas(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_Iterators_Basic(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_Iterators_Consumers_Collect(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_Iterators_Consumers_Loop(uint8_t builtin, lean_object*);
lean_object* initialize_Std_Data_Iterators_Internal_Termination(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Std_Data_Iterators_Combinators_Monadic_Zip(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_Init_Data_Option_Lemmas(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Consumers_Collect(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Consumers_Loop(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Std_Data_Iterators_Internal_Termination(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1 = _init_l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1();
lean_mark_persistent(l_Std_Iterators_IterM_DefaultConsumers_toArrayMapped___at_Std_Iterators_Zip_instIteratorCollect___spec__1___rarg___closed__1);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
