// Lean compiler output
// Module: Lean.Elab.PreDefinition.WF.Basic
// Imports: Lean.Elab.Tactic.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__8;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__5;
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__9;
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__3;
LEAN_EXPORT lean_object* l_Lean_Elab_WF_applyCleanWfTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__15;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__14;
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__10;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__11;
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__4;
lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t);
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__9;
lean_object* lean_st_ref_get(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__6;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__13;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__2;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7;
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__10;
lean_object* l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__12;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__4;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__7;
LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5_(lean_object*);
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__1;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__8;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Elab_WF_debug_rawDecreasingByGoal;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__6;
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2;
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__5;
static lean_object* l_Lean_Elab_WF_applyCleanWfTactic___closed__3;
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("debug", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rawDecreasingByGoal", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1;
x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2;
x_3 = l_Lean_Name_mkStr2(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Shows the raw `decreasing_by` goal including internal implementation detail instead of cleaning it up with the `clean_wf` tactic. Can be enabled for debugging purposes. Please report an issue if you have to use this option for other reasons.", 241, 241);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 0;
x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__4;
x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__5;
x_4 = lean_box(x_1);
x_5 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_2);
lean_ctor_set(x_5, 2, x_3);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Elab", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("WF", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7;
x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__8;
x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__9;
x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1;
x_5 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2;
x_6 = l_Lean_Name_mkStr5(x_1, x_2, x_3, x_4, x_5);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__3;
x_3 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__6;
x_4 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__10;
x_5 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_6____spec__1(x_2, x_3, x_4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Elab_WF_debug_rawDecreasingByGoal;
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Parser", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Tactic", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("allGoals", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7;
x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__2;
x_3 = l_Lean_Elab_WF_applyCleanWfTactic___closed__3;
x_4 = l_Lean_Elab_WF_applyCleanWfTactic___closed__4;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("all_goals", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7;
x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__2;
x_3 = l_Lean_Elab_WF_applyCleanWfTactic___closed__3;
x_4 = l_Lean_Elab_WF_applyCleanWfTactic___closed__7;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7;
x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__2;
x_3 = l_Lean_Elab_WF_applyCleanWfTactic___closed__3;
x_4 = l_Lean_Elab_WF_applyCleanWfTactic___closed__9;
x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4);
return x_5;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("null", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__11;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("tacticClean_wf", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_box(0);
x_2 = l_Lean_Elab_WF_applyCleanWfTactic___closed__13;
x_3 = l_Lean_Name_str___override(x_1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("clean_wf", 8, 8);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Elab_WF_applyCleanWfTactic(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; uint8_t x_12; 
x_10 = lean_ctor_get(x_7, 2);
lean_inc(x_10);
x_11 = l_Lean_Elab_WF_applyCleanWfTactic___closed__1;
x_12 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_10, x_11);
lean_dec(x_10);
if (x_12 == 0)
{
lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; 
x_13 = lean_ctor_get(x_7, 5);
lean_inc(x_13);
x_14 = 0;
x_15 = l_Lean_SourceInfo_fromRef(x_13, x_14);
lean_dec(x_13);
x_16 = lean_st_ref_get(x_8, x_9);
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 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_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_18 = lean_ctor_get(x_16, 1);
x_19 = lean_ctor_get(x_16, 0);
lean_dec(x_19);
x_20 = l_Lean_Elab_WF_applyCleanWfTactic___closed__6;
lean_inc(x_15);
lean_ctor_set_tag(x_16, 2);
lean_ctor_set(x_16, 1, x_20);
lean_ctor_set(x_16, 0, x_15);
x_21 = l_Lean_Elab_WF_applyCleanWfTactic___closed__15;
lean_inc(x_15);
x_22 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_22, 0, x_15);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lean_Elab_WF_applyCleanWfTactic___closed__14;
lean_inc(x_15);
x_24 = l_Lean_Syntax_node1(x_15, x_23, x_22);
x_25 = l_Lean_Elab_WF_applyCleanWfTactic___closed__12;
lean_inc(x_15);
x_26 = l_Lean_Syntax_node1(x_15, x_25, x_24);
x_27 = l_Lean_Elab_WF_applyCleanWfTactic___closed__10;
lean_inc(x_15);
x_28 = l_Lean_Syntax_node1(x_15, x_27, x_26);
x_29 = l_Lean_Elab_WF_applyCleanWfTactic___closed__8;
lean_inc(x_15);
x_30 = l_Lean_Syntax_node1(x_15, x_29, x_28);
x_31 = l_Lean_Elab_WF_applyCleanWfTactic___closed__5;
x_32 = l_Lean_Syntax_node2(x_15, x_31, x_16, x_30);
x_33 = l_Lean_Elab_Tactic_evalTactic(x_32, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18);
return x_33;
}
else
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_34 = lean_ctor_get(x_16, 1);
lean_inc(x_34);
lean_dec(x_16);
x_35 = l_Lean_Elab_WF_applyCleanWfTactic___closed__6;
lean_inc(x_15);
x_36 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_36, 0, x_15);
lean_ctor_set(x_36, 1, x_35);
x_37 = l_Lean_Elab_WF_applyCleanWfTactic___closed__15;
lean_inc(x_15);
x_38 = lean_alloc_ctor(2, 2, 0);
lean_ctor_set(x_38, 0, x_15);
lean_ctor_set(x_38, 1, x_37);
x_39 = l_Lean_Elab_WF_applyCleanWfTactic___closed__14;
lean_inc(x_15);
x_40 = l_Lean_Syntax_node1(x_15, x_39, x_38);
x_41 = l_Lean_Elab_WF_applyCleanWfTactic___closed__12;
lean_inc(x_15);
x_42 = l_Lean_Syntax_node1(x_15, x_41, x_40);
x_43 = l_Lean_Elab_WF_applyCleanWfTactic___closed__10;
lean_inc(x_15);
x_44 = l_Lean_Syntax_node1(x_15, x_43, x_42);
x_45 = l_Lean_Elab_WF_applyCleanWfTactic___closed__8;
lean_inc(x_15);
x_46 = l_Lean_Syntax_node1(x_15, x_45, x_44);
x_47 = l_Lean_Elab_WF_applyCleanWfTactic___closed__5;
x_48 = l_Lean_Syntax_node2(x_15, x_47, x_36, x_46);
x_49 = l_Lean_Elab_Tactic_evalTactic(x_48, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34);
return x_49;
}
}
else
{
lean_object* x_50; lean_object* x_51; 
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_50 = lean_box(0);
x_51 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_51, 0, x_50);
lean_ctor_set(x_51, 1, x_9);
return x_51;
}
}
}
lean_object* initialize_Lean_Elab_Tactic_Basic(uint8_t builtin, lean_object*);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Elab_PreDefinition_WF_Basic(uint8_t builtin, lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Elab_Tactic_Basic(builtin, lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__1);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__2);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__3 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__3();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__3);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__4 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__4();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__4);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__5 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__5();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__5);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__6 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__6();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__6);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__7);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__8 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__8();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__8);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__9 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__9();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__9);
l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__10 = _init_l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__10();
lean_mark_persistent(l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5____closed__10);
if (builtin) {res = l_Lean_Elab_WF_initFn____x40_Lean_Elab_PreDefinition_WF_Basic___hyg_5_(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
l_Lean_Elab_WF_debug_rawDecreasingByGoal = lean_io_result_get_value(res);
lean_mark_persistent(l_Lean_Elab_WF_debug_rawDecreasingByGoal);
lean_dec_ref(res);
}l_Lean_Elab_WF_applyCleanWfTactic___closed__1 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__1();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__1);
l_Lean_Elab_WF_applyCleanWfTactic___closed__2 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__2();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__2);
l_Lean_Elab_WF_applyCleanWfTactic___closed__3 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__3();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__3);
l_Lean_Elab_WF_applyCleanWfTactic___closed__4 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__4();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__4);
l_Lean_Elab_WF_applyCleanWfTactic___closed__5 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__5();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__5);
l_Lean_Elab_WF_applyCleanWfTactic___closed__6 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__6();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__6);
l_Lean_Elab_WF_applyCleanWfTactic___closed__7 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__7();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__7);
l_Lean_Elab_WF_applyCleanWfTactic___closed__8 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__8();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__8);
l_Lean_Elab_WF_applyCleanWfTactic___closed__9 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__9();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__9);
l_Lean_Elab_WF_applyCleanWfTactic___closed__10 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__10();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__10);
l_Lean_Elab_WF_applyCleanWfTactic___closed__11 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__11();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__11);
l_Lean_Elab_WF_applyCleanWfTactic___closed__12 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__12();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__12);
l_Lean_Elab_WF_applyCleanWfTactic___closed__13 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__13();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__13);
l_Lean_Elab_WF_applyCleanWfTactic___closed__14 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__14();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__14);
l_Lean_Elab_WF_applyCleanWfTactic___closed__15 = _init_l_Lean_Elab_WF_applyCleanWfTactic___closed__15();
lean_mark_persistent(l_Lean_Elab_WF_applyCleanWfTactic___closed__15);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
