chore: update stage0
This commit is contained in:
parent
81a4b0ca99
commit
84fecdc042
35 changed files with 69592 additions and 53479 deletions
4
stage0/stdlib/Lake/Build/Common.c
generated
4
stage0/stdlib/Lake/Build/Common.c
generated
|
|
@ -176,7 +176,6 @@ LEAN_EXPORT lean_object* l_Lake_resolveArtifactsUsing_x3f___boxed(lean_object*,
|
|||
LEAN_EXPORT lean_object* l_Lake_buildLeanSharedLib(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_reprFast(lean_object*);
|
||||
extern lean_object* l_Lake_sharedLibExt;
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_BuildMetadata_ofHash(uint64_t);
|
||||
static lean_object* l_Lake_readTraceFile___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_buildArtifactUnlessUpToDate___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -354,6 +353,7 @@ lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
|||
static lean_object* l_Lake_checkHashUpToDate___redArg___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lake_buildStaticLib___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_writeBuildTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_buildLeanExe___boxed(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*);
|
||||
static lean_object* l_Lake_buildArtifactUnlessUpToDate___closed__9;
|
||||
|
|
@ -23603,7 +23603,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_inputBinFile_spec__1___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_33;
|
||||
x_11 = x_32;
|
||||
x_12 = x_36;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/Executable.c
generated
4
stage0/stdlib/Lake/Build/Executable.c
generated
|
|
@ -68,7 +68,6 @@ static lean_object* l_Lake_OrdHashSet_empty___at___Lake_LeanExe_recBuildExe_spec
|
|||
LEAN_EXPORT lean_object* l_Lake_Target_fetchIn___at___Lake_LeanExe_recBuildExe_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lake_LeanExe_recBuildExe_spec__11_spec__11___boxed(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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lake_LeanExe_recBuildExe_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
static lean_object* l_Lake_OrdHashSet_empty___at___Lake_LeanExe_recBuildExe_spec__18___closed__5;
|
||||
static lean_object* l_Lake_LeanExe_initFacetConfigs___closed__0;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
|
|
@ -109,6 +108,7 @@ lean_object* l_Array_extract___redArg(lean_object*, lean_object*, lean_object*);
|
|||
lean_object* l_Lake_BuildTrace_nil(lean_object*);
|
||||
lean_object* lean_get_set_stderr(lean_object*, lean_object*);
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_withStdout___at___IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_LeanExe_recBuildExe_spec__21_spec__21_spec__21___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_LeanExe_recBuildExe_spec__21_spec__21___redArg___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lake_LeanExe_recBuildExe_spec__13_spec__13(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -3499,7 +3499,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_LeanExe_recBuildExe_spec__21_spec__21___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_36;
|
||||
x_11 = x_32;
|
||||
x_12 = x_33;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/ExternLib.c
generated
4
stage0/stdlib/Lake/Build/ExternLib.c
generated
|
|
@ -67,7 +67,6 @@ uint8_t lean_string_validate_utf8(lean_object*);
|
|||
LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_ExternLib_recBuildStatic_spec__0_spec__0_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_ExternLib_staticFacetConfig;
|
||||
extern lean_object* l_Lake_sharedLibExt;
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
static lean_object* l_Lake_ExternLib_recComputeDynlib___closed__0;
|
||||
extern lean_object* l_Lake_platformTrace;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
|
|
@ -107,6 +106,7 @@ lean_object* lean_get_set_stderr(lean_object*, lean_object*);
|
|||
static lean_object* l_Lake_buildLeanSharedLibOfStatic___lam__0___closed__1;
|
||||
LEAN_EXPORT lean_object* l_IO_withStderr___at___IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_ExternLib_recBuildStatic_spec__0_spec__0_spec__2___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
static lean_object* l_Lake_ExternLib_initFacetConfigs___closed__2;
|
||||
static lean_object* l_Lake_buildLeanSharedLibOfStatic___lam__1___closed__0;
|
||||
uint64_t l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lake_buildLeanO_spec__0(lean_object*, size_t, size_t, uint64_t);
|
||||
|
|
@ -804,7 +804,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_ExternLib_recBuildStatic_spec__0_spec__0___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_36;
|
||||
x_11 = x_32;
|
||||
x_12 = x_33;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/InputFile.c
generated
4
stage0/stdlib/Lake/Build/InputFile.c
generated
|
|
@ -46,7 +46,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_InputFile_0__Lake_InputDir_recFe
|
|||
lean_object* lean_string_utf8_byte_size(lean_object*);
|
||||
uint8_t lean_string_validate_utf8(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_withStdin___at___IO_FS_withIsolatedStreams___at___Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0_spec__0_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Build_InputFile_0__Lake_InputFile_recFetch___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Build_InputFile_0__Lake_InputDir_recFetch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
|
|
@ -77,6 +76,7 @@ lean_object* lean_get_set_stderr(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0_spec__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
static lean_object* l_Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0___closed__3;
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0_spec__0___boxed(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_IO_withStdout___at___IO_FS_withIsolatedStreams___at___Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0_spec__0___redArg___closed__3;
|
||||
|
|
@ -759,7 +759,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at_____private_Lake_Build_InputFile_0__Lake_InputFile_recFetch_spec__0_spec__0___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_36;
|
||||
x_11 = x_32;
|
||||
x_12 = x_33;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/Library.c
generated
4
stage0/stdlib/Lake/Build/Library.c
generated
|
|
@ -113,7 +113,6 @@ static lean_object* l_Lake_LeanLib_initFacetConfigs___closed__2;
|
|||
static lean_object* l_Lake_LeanLib_initFacetConfigs___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___Lake_LeanLib_recBuildStatic___at___Lake_LeanLib_staticFacetConfig_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lake_buildLeanSharedLib(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_LeanLib_recCollectLocalModules___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___Lake_LeanLib_recBuildShared_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -205,6 +204,7 @@ LEAN_EXPORT lean_object* l_Lake_ensureJob___at___Lake_LeanLib_recBuildStatic___a
|
|||
static lean_object* l_Lake_LeanLib_recBuildLean___closed__2;
|
||||
lean_object* l_Lean_NameSet_insert(lean_object*, lean_object*);
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
static lean_object* l_Lake_LeanLib_recCollectLocalModules___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lake_formatQuery___at___Lake_LeanLib_staticFacetConfig_spec__7(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_ensureJob___at___Lake_LeanLib_recBuildStatic___at___Lake_LeanLib_staticFacetConfig_spec__0_spec__5___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2240,7 +2240,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_LeanLib_recCollectLocalModules_spec__1_spec__1___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_36;
|
||||
x_11 = x_33;
|
||||
x_12 = x_32;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/Module.c
generated
4
stage0/stdlib/Lake/Build/Module.c
generated
|
|
@ -304,7 +304,6 @@ LEAN_EXPORT lean_object* l_Lake_formatQuery___at___Lake_Module_inputFacetConfig_
|
|||
LEAN_EXPORT lean_object* l_Lake_Module_cFacetConfig___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_OrdHashSet_empty___at___Lake_Module_recParseImports_spec__5___closed__4;
|
||||
lean_object* l_Lake_Workspace_augmentedEnvVars(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_recBuildLeanCToOExport(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_clearOutputHashes(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Module_inputFacetConfig___lam__0(uint8_t, lean_object*);
|
||||
|
|
@ -548,6 +547,7 @@ lean_object* lean_task_get_own(lean_object*);
|
|||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
static lean_object* l_Lake_Module_initFacetConfigs___closed__16;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_mkLoadOrder_go(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
uint8_t l_IO_FS_ordSystemTime____x40_Init_System_IO___hyg_3180_(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Module_transImportsFacetConfig___closed__0;
|
||||
static lean_object* l_Lake_Module_recBuildDynlib___closed__0;
|
||||
|
|
@ -7834,7 +7834,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_Module_recComputeTransImports_spec__1_spec__1___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_36;
|
||||
x_11 = x_32;
|
||||
x_12 = x_33;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/Package.c
generated
4
stage0/stdlib/Lake/Build/Package.c
generated
|
|
@ -144,7 +144,6 @@ LEAN_EXPORT lean_object* l_Lake_formatQuery___at___Lake_Package_depsFacetConfig_
|
|||
LEAN_EXPORT lean_object* l_Lake_Package_afterBuildCacheSync___redArg___lam__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_Package_recFetchDeps_spec__2_spec__2___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Package_maybeFetchBuildCache___closed__3;
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Package_fetchBuildArchive(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkOptBuildArchiveFacetConfig___redArg___closed__13;
|
||||
static lean_object* l_Lake_Package_getReleaseUrl___redArg___closed__5;
|
||||
|
|
@ -260,6 +259,7 @@ static lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkBuildArchiv
|
|||
lean_object* l_ReaderT_instMonadExceptOf___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lake_Package_buildCacheFacet;
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Package_optBarrelFacetConfig___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_Package_recFetchDeps_spec__2_spec__2___redArg___closed__3;
|
||||
static lean_object* l_Lake_Package_getBarrelUrl___redArg___closed__11;
|
||||
|
|
@ -1258,7 +1258,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_ensureJob___at___Lake_Package_recFetchDeps_spec__2_spec__2___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_33;
|
||||
x_11 = x_32;
|
||||
x_12 = x_36;
|
||||
|
|
|
|||
4
stage0/stdlib/Lake/Build/Run.c
generated
4
stage0/stdlib/Lake/Build/Run.c
generated
|
|
@ -90,7 +90,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe
|
|||
static lean_object* l_Lake_print_x21___closed__7;
|
||||
static lean_object* l_Lake_Workspace_runFetchM___redArg___closed__5;
|
||||
lean_object* l_Nat_reprFast(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_Monitor_renderProgress(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_Workspace_runFetchM___redArg___closed__1;
|
||||
|
|
@ -161,6 +160,7 @@ static lean_object* l_Lake_print_x21___closed__3;
|
|||
LEAN_EXPORT lean_object* l_Lake_Monitor_spinnerFrames___closed__5___boxed__const__1;
|
||||
lean_object* lean_task_get_own(lean_object*);
|
||||
lean_object* lean_string_from_utf8_unchecked(lean_object*);
|
||||
lean_object* l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(lean_object*);
|
||||
static lean_object* l_Lake_print_x21___closed__5;
|
||||
static lean_object* l_Lake_mkBuildContext___closed__3;
|
||||
static lean_object* l_Lake_mkBuildContext___closed__5;
|
||||
|
|
@ -5198,7 +5198,7 @@ if (x_38 == 0)
|
|||
lean_object* x_39; lean_object* x_40;
|
||||
lean_dec_ref(x_37);
|
||||
x_39 = l_IO_FS_withIsolatedStreams___at___Lake_Workspace_runFetchM_spec__0___redArg___closed__4;
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeConst_realizeAndReport_spec__1_spec__3(x_39);
|
||||
x_40 = l_panic___at___IO_FS_withIsolatedStreams___at_____private_Lean_Meta_Basic_0__Lean_Meta_realizeValue_realizeAndReport_spec__0_spec__2(x_39);
|
||||
x_10 = x_32;
|
||||
x_11 = x_33;
|
||||
x_12 = x_36;
|
||||
|
|
|
|||
1023
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Pure.c
generated
1023
stage0/stdlib/Lean/Elab/Tactic/Do/ProofMode/Pure.c
generated
File diff suppressed because it is too large
Load diff
3187
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
3187
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
File diff suppressed because it is too large
Load diff
992
stage0/stdlib/Lean/Elab/Term.c
generated
992
stage0/stdlib/Lean/Elab/Term.c
generated
File diff suppressed because it is too large
Load diff
1595
stage0/stdlib/Lean/Environment.c
generated
1595
stage0/stdlib/Lean/Environment.c
generated
File diff suppressed because it is too large
Load diff
4
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
4
stage0/stdlib/Lean/Linter/UnusedVariables.c
generated
|
|
@ -267,7 +267,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Linter_UnusedVariables_unusedVariables_spec__21_spec__21___redArg(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Linter_UnusedVariables_0__Lean_Linter_initFn___lam__1___closed__4____x40_Lean_Linter_UnusedVariables___hyg_1128_;
|
||||
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___Lean_throwUnknownIdentifierAt___at___Lean_throwUnknownConstantAt___at___Lean_throwUnknownConstant___at___Lean_getConstInfo___at_____private_Lean_Linter_UnusedVariables_0__Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_641__spec__3_spec__3_spec__3_spec__3_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_instImpl____x40_Lean_Elab_Term___hyg_11663_;
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_logLint___at___Lean_Linter_UnusedVariables_unusedVariables_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Linter_UnusedVariables_0__Lean_Linter_UnusedVariables_hasSorry___lam__0___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Linter_unusedVariablesIgnoreFnsExt;
|
||||
|
|
@ -763,6 +762,7 @@ LEAN_EXPORT lean_object* l_Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables
|
|||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
static lean_object* l___private_Lean_Linter_UnusedVariables_0__Lean_Linter_initFn___lam__0___closed__0____x40_Lean_Linter_UnusedVariables___hyg_974_;
|
||||
uint8_t l_List_any___redArg(lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Term_instImpl____x40_Lean_Elab_Term___hyg_11648_;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at_____private_Lean_Linter_UnusedVariables_0__Lean_Linter_initFn____x40_Lean_Linter_UnusedVariables___hyg_641__spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Linter_UnusedVariables_0__Lean_Linter_UnusedVariables_initFn____x40_Lean_Linter_UnusedVariables___hyg_8645_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___Lean_Linter_UnusedVariables_unusedVariables_spec__21_spec__21(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -11879,7 +11879,7 @@ static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Un
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Elab_Term_instImpl____x40_Lean_Elab_Term___hyg_11663_;
|
||||
x_1 = l_Lean_Elab_Term_instImpl____x40_Lean_Elab_Term___hyg_11648_;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
8633
stage0/stdlib/Lean/Meta/Basic.c
generated
8633
stage0/stdlib/Lean/Meta/Basic.c
generated
File diff suppressed because it is too large
Load diff
5968
stage0/stdlib/Lean/Meta/FunInfo.c
generated
5968
stage0/stdlib/Lean/Meta/FunInfo.c
generated
File diff suppressed because it is too large
Load diff
1258
stage0/stdlib/Lean/Meta/Sorry.c
generated
1258
stage0/stdlib/Lean/Meta/Sorry.c
generated
File diff suppressed because it is too large
Load diff
6
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith.c
generated
6
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith
|
||||
// Imports: Lean.Meta.Tactic.Grind.Arith.Util Lean.Meta.Tactic.Grind.Arith.ProofUtil Lean.Meta.Tactic.Grind.Arith.Types Lean.Meta.Tactic.Grind.Arith.Main Lean.Meta.Tactic.Grind.Arith.Offset Lean.Meta.Tactic.Grind.Arith.Cutsat Lean.Meta.Tactic.Grind.Arith.CommRing Lean.Meta.Tactic.Grind.Arith.Linear Lean.Meta.Tactic.Grind.Arith.Simproc
|
||||
// Imports: Lean.Meta.Tactic.Grind.Arith.Util Lean.Meta.Tactic.Grind.Arith.ProofUtil Lean.Meta.Tactic.Grind.Arith.Types Lean.Meta.Tactic.Grind.Arith.Main Lean.Meta.Tactic.Grind.Arith.Offset Lean.Meta.Tactic.Grind.Arith.Cutsat Lean.Meta.Tactic.Grind.Arith.CommRing Lean.Meta.Tactic.Grind.Arith.Linear Lean.Meta.Tactic.Grind.Arith.Simproc Lean.Meta.Tactic.Grind.Arith.VarRename
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -22,6 +22,7 @@ lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat(uint8_t builtin, lea
|
|||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Simproc(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_VarRename(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -54,6 +55,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Grind_Arith_Simproc(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_VarRename(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith.CommRing
|
||||
// Imports: Lean.Util.Trace Lean.Meta.Tactic.Grind.Arith.CommRing.Poly Lean.Meta.Tactic.Grind.Arith.CommRing.Types Lean.Meta.Tactic.Grind.Arith.CommRing.RingId Lean.Meta.Tactic.Grind.Arith.CommRing.Internalize Lean.Meta.Tactic.Grind.Arith.CommRing.ToExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Var Lean.Meta.Tactic.Grind.Arith.CommRing.Reify Lean.Meta.Tactic.Grind.Arith.CommRing.EqCnstr Lean.Meta.Tactic.Grind.Arith.CommRing.Proof Lean.Meta.Tactic.Grind.Arith.CommRing.DenoteExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Inv Lean.Meta.Tactic.Grind.Arith.CommRing.PP
|
||||
// Imports: Lean.Util.Trace Lean.Meta.Tactic.Grind.Arith.CommRing.Poly Lean.Meta.Tactic.Grind.Arith.CommRing.Types Lean.Meta.Tactic.Grind.Arith.CommRing.RingId Lean.Meta.Tactic.Grind.Arith.CommRing.Internalize Lean.Meta.Tactic.Grind.Arith.CommRing.ToExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Var Lean.Meta.Tactic.Grind.Arith.CommRing.Reify Lean.Meta.Tactic.Grind.Arith.CommRing.EqCnstr Lean.Meta.Tactic.Grind.Arith.CommRing.Proof Lean.Meta.Tactic.Grind.Arith.CommRing.DenoteExpr Lean.Meta.Tactic.Grind.Arith.CommRing.Inv Lean.Meta.Tactic.Grind.Arith.CommRing.PP Lean.Meta.Tactic.Grind.Arith.CommRing.VarRename
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -1114,6 +1114,7 @@ lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Proof(uint8_t buil
|
|||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_DenoteExpr(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_Inv(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_PP(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_VarRename(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_CommRing(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -1158,6 +1159,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_PP(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_CommRing_VarRename(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_4_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_4_();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_4_);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_4_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_CommRing_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_CommRing___hyg_4_();
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
18953
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c
generated
18953
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/Proof.c
generated
File diff suppressed because it is too large
Load diff
1000
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/VarRename.c
generated
Normal file
1000
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/CommRing/VarRename.c
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith.Cutsat
|
||||
// Imports: Lean.Util.Trace Lean.Meta.Tactic.Grind.Arith.Cutsat.DvdCnstr Lean.Meta.Tactic.Grind.Arith.Cutsat.LeCnstr Lean.Meta.Tactic.Grind.Arith.Cutsat.Search Lean.Meta.Tactic.Grind.Arith.Cutsat.Inv Lean.Meta.Tactic.Grind.Arith.Cutsat.Proof Lean.Meta.Tactic.Grind.Arith.Cutsat.Types Lean.Meta.Tactic.Grind.Arith.Cutsat.Util Lean.Meta.Tactic.Grind.Arith.Cutsat.Var Lean.Meta.Tactic.Grind.Arith.Cutsat.EqCnstr Lean.Meta.Tactic.Grind.Arith.Cutsat.SearchM Lean.Meta.Tactic.Grind.Arith.Cutsat.Model Lean.Meta.Tactic.Grind.Arith.Cutsat.MBTC Lean.Meta.Tactic.Grind.Arith.Cutsat.Nat Lean.Meta.Tactic.Grind.Arith.Cutsat.CommRing
|
||||
// Imports: Lean.Util.Trace Lean.Meta.Tactic.Grind.Arith.Cutsat.DvdCnstr Lean.Meta.Tactic.Grind.Arith.Cutsat.LeCnstr Lean.Meta.Tactic.Grind.Arith.Cutsat.Search Lean.Meta.Tactic.Grind.Arith.Cutsat.Inv Lean.Meta.Tactic.Grind.Arith.Cutsat.Proof Lean.Meta.Tactic.Grind.Arith.Cutsat.Types Lean.Meta.Tactic.Grind.Arith.Cutsat.Util Lean.Meta.Tactic.Grind.Arith.Cutsat.Var Lean.Meta.Tactic.Grind.Arith.Cutsat.EqCnstr Lean.Meta.Tactic.Grind.Arith.Cutsat.SearchM Lean.Meta.Tactic.Grind.Arith.Cutsat.Model Lean.Meta.Tactic.Grind.Arith.Cutsat.MBTC Lean.Meta.Tactic.Grind.Arith.Cutsat.Nat Lean.Meta.Tactic.Grind.Arith.Cutsat.CommRing Lean.Meta.Tactic.Grind.Arith.Cutsat.VarRename
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -1108,6 +1108,7 @@ lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Model(uint8_t builti
|
|||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_MBTC(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_Nat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_CommRing(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_VarRename(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -1158,6 +1159,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_CommRing(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_VarRename(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Cutsat_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Cutsat___hyg_4_();
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
40871
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Proof.c
generated
40871
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Proof.c
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2233,7 +2233,7 @@ goto block_67;
|
|||
block_57:
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54;
|
||||
x_48 = l_Lean_PersistentArray_forIn___at_____private_Lean_Meta_Tactic_Grind_Arith_Cutsat_ReorderVars_0__Lean_Meta_Grind_Arith_Cutsat_collectVarInfo_go_spec__0(x_1, x_47, x_1, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_46);
|
||||
x_48 = l_Lean_PersistentArray_forIn___at_____private_Lean_Meta_Tactic_Grind_Arith_Cutsat_ReorderVars_0__Lean_Meta_Grind_Arith_Cutsat_collectVarInfo_go_spec__0(x_1, x_47, x_1, x_46, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_45);
|
||||
x_49 = lean_ctor_get(x_48, 0);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_ctor_get(x_48, 1);
|
||||
|
|
@ -2282,8 +2282,8 @@ if (x_64 == 0)
|
|||
{
|
||||
lean_object* x_65;
|
||||
x_65 = l_outOfBounds___redArg(x_58);
|
||||
x_45 = x_63;
|
||||
x_46 = x_62;
|
||||
x_45 = x_62;
|
||||
x_46 = x_63;
|
||||
x_47 = x_65;
|
||||
goto block_57;
|
||||
}
|
||||
|
|
@ -2292,8 +2292,8 @@ else
|
|||
lean_object* x_66;
|
||||
lean_inc_ref(x_44);
|
||||
x_66 = l_Lean_PersistentArray_get_x21___redArg(x_58, x_44, x_5);
|
||||
x_45 = x_63;
|
||||
x_46 = x_62;
|
||||
x_45 = x_62;
|
||||
x_46 = x_63;
|
||||
x_47 = x_66;
|
||||
goto block_57;
|
||||
}
|
||||
|
|
|
|||
2050
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c
generated
2050
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/Search.c
generated
File diff suppressed because one or more lines are too long
553
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/VarRename.c
generated
Normal file
553
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Cutsat/VarRename.c
generated
Normal file
|
|
@ -0,0 +1,553 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith.Cutsat.VarRename
|
||||
// Imports: Init.Data.Int.Linear Lean.Meta.Tactic.Grind.Arith.VarRename
|
||||
#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_Int_Linear_Expr_renameVars(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Expr_renameVars___boxed(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_of_nat(lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
static lean_object* l_Int_Linear_Expr_renameVars___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Expr_collectVars(lean_object*, lean_object*);
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Poly_renameVars(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_collectVar(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg___boxed(lean_object*, lean_object*);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Poly_collectVars(lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Poly_renameVars___boxed(lean_object*, lean_object*);
|
||||
size_t lean_usize_land(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_box(0);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = lean_nat_dec_eq(x_4, x_1);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_inc(x_5);
|
||||
x_9 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_5);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Poly_renameVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_11; lean_object* x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; size_t x_20; size_t x_21; size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_5);
|
||||
if (lean_is_exclusive(x_1)) {
|
||||
lean_ctor_release(x_1, 0);
|
||||
lean_ctor_release(x_1, 1);
|
||||
lean_ctor_release(x_1, 2);
|
||||
x_6 = x_1;
|
||||
} else {
|
||||
lean_dec_ref(x_1);
|
||||
x_6 = lean_box(0);
|
||||
}
|
||||
x_11 = lean_ctor_get(x_2, 1);
|
||||
x_12 = lean_array_get_size(x_11);
|
||||
x_13 = lean_uint64_of_nat(x_4);
|
||||
x_14 = 32;
|
||||
x_15 = lean_uint64_shift_right(x_13, x_14);
|
||||
x_16 = lean_uint64_xor(x_13, x_15);
|
||||
x_17 = 16;
|
||||
x_18 = lean_uint64_shift_right(x_16, x_17);
|
||||
x_19 = lean_uint64_xor(x_16, x_18);
|
||||
x_20 = lean_uint64_to_usize(x_19);
|
||||
x_21 = lean_usize_of_nat(x_12);
|
||||
lean_dec(x_12);
|
||||
x_22 = 1;
|
||||
x_23 = lean_usize_sub(x_21, x_22);
|
||||
x_24 = lean_usize_land(x_20, x_23);
|
||||
x_25 = lean_array_uget(x_11, x_24);
|
||||
x_26 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(x_4, x_25);
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_4);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_27;
|
||||
x_27 = lean_unsigned_to_nat(0u);
|
||||
x_7 = x_27;
|
||||
goto block_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28;
|
||||
x_28 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_28);
|
||||
lean_dec_ref(x_26);
|
||||
x_7 = x_28;
|
||||
goto block_10;
|
||||
}
|
||||
block_10:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = l_Int_Linear_Poly_renameVars(x_5, x_2);
|
||||
if (lean_is_scalar(x_6)) {
|
||||
x_9 = lean_alloc_ctor(1, 3, 0);
|
||||
} else {
|
||||
x_9 = x_6;
|
||||
}
|
||||
lean_ctor_set(x_9, 0, x_3);
|
||||
lean_ctor_set(x_9, 1, x_7);
|
||||
lean_ctor_set(x_9, 2, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Poly_renameVars___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Int_Linear_Poly_renameVars(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Int_Linear_Expr_renameVars___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Expr_renameVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (lean_obj_tag(x_1)) {
|
||||
case 0:
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_1);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_array_get_size(x_5);
|
||||
x_7 = lean_uint64_of_nat(x_4);
|
||||
x_8 = 32;
|
||||
x_9 = lean_uint64_shift_right(x_7, x_8);
|
||||
x_10 = lean_uint64_xor(x_7, x_9);
|
||||
x_11 = 16;
|
||||
x_12 = lean_uint64_shift_right(x_10, x_11);
|
||||
x_13 = lean_uint64_xor(x_10, x_12);
|
||||
x_14 = lean_uint64_to_usize(x_13);
|
||||
x_15 = lean_usize_of_nat(x_6);
|
||||
lean_dec(x_6);
|
||||
x_16 = 1;
|
||||
x_17 = lean_usize_sub(x_15, x_16);
|
||||
x_18 = lean_usize_land(x_14, x_17);
|
||||
x_19 = lean_array_uget(x_5, x_18);
|
||||
x_20 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(x_4, x_19);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_4);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_free_object(x_1);
|
||||
x_21 = l_Int_Linear_Expr_renameVars___closed__0;
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22;
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec_ref(x_20);
|
||||
lean_ctor_set(x_1, 0, x_22);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_23 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_1);
|
||||
x_24 = lean_ctor_get(x_2, 1);
|
||||
x_25 = lean_array_get_size(x_24);
|
||||
x_26 = lean_uint64_of_nat(x_23);
|
||||
x_27 = 32;
|
||||
x_28 = lean_uint64_shift_right(x_26, x_27);
|
||||
x_29 = lean_uint64_xor(x_26, x_28);
|
||||
x_30 = 16;
|
||||
x_31 = lean_uint64_shift_right(x_29, x_30);
|
||||
x_32 = lean_uint64_xor(x_29, x_31);
|
||||
x_33 = lean_uint64_to_usize(x_32);
|
||||
x_34 = lean_usize_of_nat(x_25);
|
||||
lean_dec(x_25);
|
||||
x_35 = 1;
|
||||
x_36 = lean_usize_sub(x_34, x_35);
|
||||
x_37 = lean_usize_land(x_33, x_36);
|
||||
x_38 = lean_array_uget(x_24, x_37);
|
||||
x_39 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Int_Linear_Poly_renameVars_spec__0___redArg(x_23, x_38);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_23);
|
||||
if (lean_obj_tag(x_39) == 0)
|
||||
{
|
||||
lean_object* x_40;
|
||||
x_40 = l_Int_Linear_Expr_renameVars___closed__0;
|
||||
return x_40;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = lean_ctor_get(x_39, 0);
|
||||
lean_inc(x_41);
|
||||
lean_dec_ref(x_39);
|
||||
x_42 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
return x_42;
|
||||
}
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
uint8_t x_43;
|
||||
x_43 = !lean_is_exclusive(x_1);
|
||||
if (x_43 == 0)
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_44 = lean_ctor_get(x_1, 0);
|
||||
x_45 = lean_ctor_get(x_1, 1);
|
||||
x_46 = l_Int_Linear_Expr_renameVars(x_44, x_2);
|
||||
x_47 = l_Int_Linear_Expr_renameVars(x_45, x_2);
|
||||
lean_ctor_set(x_1, 1, x_47);
|
||||
lean_ctor_set(x_1, 0, x_46);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_48 = lean_ctor_get(x_1, 0);
|
||||
x_49 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_49);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_1);
|
||||
x_50 = l_Int_Linear_Expr_renameVars(x_48, x_2);
|
||||
x_51 = l_Int_Linear_Expr_renameVars(x_49, x_2);
|
||||
x_52 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
uint8_t x_53;
|
||||
x_53 = !lean_is_exclusive(x_1);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_54 = lean_ctor_get(x_1, 0);
|
||||
x_55 = lean_ctor_get(x_1, 1);
|
||||
x_56 = l_Int_Linear_Expr_renameVars(x_54, x_2);
|
||||
x_57 = l_Int_Linear_Expr_renameVars(x_55, x_2);
|
||||
lean_ctor_set(x_1, 1, x_57);
|
||||
lean_ctor_set(x_1, 0, x_56);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
x_58 = lean_ctor_get(x_1, 0);
|
||||
x_59 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_1);
|
||||
x_60 = l_Int_Linear_Expr_renameVars(x_58, x_2);
|
||||
x_61 = l_Int_Linear_Expr_renameVars(x_59, x_2);
|
||||
x_62 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_60);
|
||||
lean_ctor_set(x_62, 1, x_61);
|
||||
return x_62;
|
||||
}
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
uint8_t x_63;
|
||||
x_63 = !lean_is_exclusive(x_1);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65;
|
||||
x_64 = lean_ctor_get(x_1, 0);
|
||||
x_65 = l_Int_Linear_Expr_renameVars(x_64, x_2);
|
||||
lean_ctor_set(x_1, 0, x_65);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_66 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_66);
|
||||
lean_dec(x_1);
|
||||
x_67 = l_Int_Linear_Expr_renameVars(x_66, x_2);
|
||||
x_68 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_68, 0, x_67);
|
||||
return x_68;
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
uint8_t x_69;
|
||||
x_69 = !lean_is_exclusive(x_1);
|
||||
if (x_69 == 0)
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71;
|
||||
x_70 = lean_ctor_get(x_1, 1);
|
||||
x_71 = l_Int_Linear_Expr_renameVars(x_70, x_2);
|
||||
lean_ctor_set(x_1, 1, x_71);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_72 = lean_ctor_get(x_1, 0);
|
||||
x_73 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_73);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_1);
|
||||
x_74 = l_Int_Linear_Expr_renameVars(x_73, x_2);
|
||||
x_75 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_72);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
uint8_t x_76;
|
||||
x_76 = !lean_is_exclusive(x_1);
|
||||
if (x_76 == 0)
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78;
|
||||
x_77 = lean_ctor_get(x_1, 0);
|
||||
x_78 = l_Int_Linear_Expr_renameVars(x_77, x_2);
|
||||
lean_ctor_set(x_1, 0, x_78);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
|
||||
x_79 = lean_ctor_get(x_1, 0);
|
||||
x_80 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_1);
|
||||
x_81 = l_Int_Linear_Expr_renameVars(x_79, x_2);
|
||||
x_82 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_81);
|
||||
lean_ctor_set(x_82, 1, x_80);
|
||||
return x_82;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Expr_renameVars___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Int_Linear_Expr_renameVars(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Poly_collectVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 2);
|
||||
lean_inc_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_5 = l_Lean_Meta_Grind_Arith_collectVar(x_3, x_2);
|
||||
x_1 = x_4;
|
||||
x_2 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Int_Linear_Expr_collectVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
switch (lean_obj_tag(x_1)) {
|
||||
case 0:
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec_ref(x_1);
|
||||
x_10 = l_Lean_Meta_Grind_Arith_collectVar(x_9, x_2);
|
||||
return x_10;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_11);
|
||||
lean_dec_ref(x_1);
|
||||
x_1 = x_11;
|
||||
goto _start;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_13);
|
||||
lean_dec_ref(x_1);
|
||||
x_1 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_15);
|
||||
lean_dec_ref(x_1);
|
||||
x_1 = x_15;
|
||||
goto _start;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = lean_ctor_get(x_1, 0);
|
||||
lean_inc_ref(x_17);
|
||||
x_18 = lean_ctor_get(x_1, 1);
|
||||
lean_inc_ref(x_18);
|
||||
lean_dec_ref(x_1);
|
||||
x_3 = x_17;
|
||||
x_4 = x_18;
|
||||
x_5 = x_2;
|
||||
goto block_8;
|
||||
}
|
||||
}
|
||||
block_8:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Int_Linear_Expr_collectVars(x_3, x_5);
|
||||
x_1 = x_4;
|
||||
x_2 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Data_Int_Linear(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_VarRename(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Cutsat_VarRename(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_Int_Linear(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_VarRename(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Int_Linear_Expr_renameVars___closed__0 = _init_l_Int_Linear_Expr_renameVars___closed__0();
|
||||
lean_mark_persistent(l_Int_Linear_Expr_renameVars___closed__0);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith.Linear
|
||||
// Imports: Lean.Meta.Tactic.Grind.Arith.Linear.Types Lean.Meta.Tactic.Grind.Arith.Linear.Util Lean.Meta.Tactic.Grind.Arith.Linear.Var Lean.Meta.Tactic.Grind.Arith.Linear.StructId Lean.Meta.Tactic.Grind.Arith.Linear.IneqCnstr Lean.Meta.Tactic.Grind.Arith.Linear.Reify Lean.Meta.Tactic.Grind.Arith.Linear.DenoteExpr Lean.Meta.Tactic.Grind.Arith.Linear.ToExpr Lean.Meta.Tactic.Grind.Arith.Linear.Proof Lean.Meta.Tactic.Grind.Arith.Linear.SearchM Lean.Meta.Tactic.Grind.Arith.Linear.Search Lean.Meta.Tactic.Grind.Arith.Linear.PropagateEq Lean.Meta.Tactic.Grind.Arith.Linear.Internalize Lean.Meta.Tactic.Grind.Arith.Linear.Model Lean.Meta.Tactic.Grind.Arith.Linear.PP Lean.Meta.Tactic.Grind.Arith.Linear.MBTC
|
||||
// Imports: Lean.Meta.Tactic.Grind.Arith.Linear.Types Lean.Meta.Tactic.Grind.Arith.Linear.Util Lean.Meta.Tactic.Grind.Arith.Linear.Var Lean.Meta.Tactic.Grind.Arith.Linear.StructId Lean.Meta.Tactic.Grind.Arith.Linear.IneqCnstr Lean.Meta.Tactic.Grind.Arith.Linear.Reify Lean.Meta.Tactic.Grind.Arith.Linear.DenoteExpr Lean.Meta.Tactic.Grind.Arith.Linear.ToExpr Lean.Meta.Tactic.Grind.Arith.Linear.Proof Lean.Meta.Tactic.Grind.Arith.Linear.SearchM Lean.Meta.Tactic.Grind.Arith.Linear.Search Lean.Meta.Tactic.Grind.Arith.Linear.PropagateEq Lean.Meta.Tactic.Grind.Arith.Linear.Internalize Lean.Meta.Tactic.Grind.Arith.Linear.Model Lean.Meta.Tactic.Grind.Arith.Linear.PP Lean.Meta.Tactic.Grind.Arith.Linear.MBTC Lean.Meta.Tactic.Grind.Arith.Linear.VarRename
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -971,6 +971,7 @@ lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear_Internalize(uint8_t
|
|||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear_Model(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear_PP(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear_MBTC(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear_VarRename(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -1024,6 +1025,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_Meta_Tactic_Grind_Arith_Linear_MBTC(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_Linear_VarRename(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_Linear_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Linear___hyg_4_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Linear_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Linear___hyg_4_();
|
||||
lean_mark_persistent(l___private_Lean_Meta_Tactic_Grind_Arith_Linear_0__Lean_initFn___closed__0____x40_Lean_Meta_Tactic_Grind_Arith_Linear___hyg_4_);
|
||||
l___private_Lean_Meta_Tactic_Grind_Arith_Linear_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Linear___hyg_4_ = _init_l___private_Lean_Meta_Tactic_Grind_Arith_Linear_0__Lean_initFn___closed__1____x40_Lean_Meta_Tactic_Grind_Arith_Linear___hyg_4_();
|
||||
|
|
|
|||
26249
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Linear/Proof.c
generated
26249
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Linear/Proof.c
generated
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
551
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Linear/VarRename.c
generated
Normal file
551
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/Linear/VarRename.c
generated
Normal file
|
|
@ -0,0 +1,551 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Tactic.Grind.Arith.Linear.VarRename
|
||||
// Imports: Init.Grind.Ordered.Linarith Lean.Meta.Tactic.Grind.Arith.VarRename
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
#pragma clang diagnostic ignored "-Wunused-label"
|
||||
#elif defined(__GNUC__) && !defined(__CLANG__)
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Poly_renameVars(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_of_nat(lean_object*);
|
||||
size_t lean_uint64_to_usize(uint64_t);
|
||||
static lean_object* l_Lean_Grind_Linarith_Expr_renameVars___closed__0;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Expr_renameVars(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_shift_right(uint64_t, uint64_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Expr_collectVars(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Poly_collectVars(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Poly_renameVars___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Grind_Arith_collectVar(lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Expr_renameVars___boxed(lean_object*, lean_object*);
|
||||
uint64_t lean_uint64_xor(uint64_t, uint64_t);
|
||||
size_t lean_usize_sub(size_t, size_t);
|
||||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_array_get_size(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg___boxed(lean_object*, lean_object*);
|
||||
size_t lean_usize_land(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_2) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = lean_box(0);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_ctor_get(x_2, 2);
|
||||
x_7 = lean_nat_dec_eq(x_4, x_1);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
x_2 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_inc(x_5);
|
||||
x_9 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_9, 0, x_5);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(x_2, x_3);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Poly_renameVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_11; lean_object* x_12; uint64_t x_13; uint64_t x_14; uint64_t x_15; uint64_t x_16; uint64_t x_17; uint64_t x_18; uint64_t x_19; size_t x_20; size_t x_21; size_t x_22; size_t x_23; size_t x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
x_5 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_5);
|
||||
if (lean_is_exclusive(x_1)) {
|
||||
lean_ctor_release(x_1, 0);
|
||||
lean_ctor_release(x_1, 1);
|
||||
lean_ctor_release(x_1, 2);
|
||||
x_6 = x_1;
|
||||
} else {
|
||||
lean_dec_ref(x_1);
|
||||
x_6 = lean_box(0);
|
||||
}
|
||||
x_11 = lean_ctor_get(x_2, 1);
|
||||
x_12 = lean_array_get_size(x_11);
|
||||
x_13 = lean_uint64_of_nat(x_4);
|
||||
x_14 = 32;
|
||||
x_15 = lean_uint64_shift_right(x_13, x_14);
|
||||
x_16 = lean_uint64_xor(x_13, x_15);
|
||||
x_17 = 16;
|
||||
x_18 = lean_uint64_shift_right(x_16, x_17);
|
||||
x_19 = lean_uint64_xor(x_16, x_18);
|
||||
x_20 = lean_uint64_to_usize(x_19);
|
||||
x_21 = lean_usize_of_nat(x_12);
|
||||
lean_dec(x_12);
|
||||
x_22 = 1;
|
||||
x_23 = lean_usize_sub(x_21, x_22);
|
||||
x_24 = lean_usize_land(x_20, x_23);
|
||||
x_25 = lean_array_uget(x_11, x_24);
|
||||
x_26 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(x_4, x_25);
|
||||
lean_dec(x_25);
|
||||
lean_dec(x_4);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
{
|
||||
lean_object* x_27;
|
||||
x_27 = lean_unsigned_to_nat(0u);
|
||||
x_7 = x_27;
|
||||
goto block_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_28;
|
||||
x_28 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_28);
|
||||
lean_dec_ref(x_26);
|
||||
x_7 = x_28;
|
||||
goto block_10;
|
||||
}
|
||||
block_10:
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
x_8 = l_Lean_Grind_Linarith_Poly_renameVars(x_5, x_2);
|
||||
if (lean_is_scalar(x_6)) {
|
||||
x_9 = lean_alloc_ctor(1, 3, 0);
|
||||
} else {
|
||||
x_9 = x_6;
|
||||
}
|
||||
lean_ctor_set(x_9, 0, x_3);
|
||||
lean_ctor_set(x_9, 1, x_7);
|
||||
lean_ctor_set(x_9, 2, x_8);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Poly_renameVars___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Grind_Linarith_Poly_renameVars(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Grind_Linarith_Expr_renameVars___closed__0() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(0u);
|
||||
x_2 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Expr_renameVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
switch (lean_obj_tag(x_1)) {
|
||||
case 0:
|
||||
{
|
||||
return x_1;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
uint8_t x_3;
|
||||
x_3 = !lean_is_exclusive(x_1);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; uint64_t x_12; uint64_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
x_6 = lean_array_get_size(x_5);
|
||||
x_7 = lean_uint64_of_nat(x_4);
|
||||
x_8 = 32;
|
||||
x_9 = lean_uint64_shift_right(x_7, x_8);
|
||||
x_10 = lean_uint64_xor(x_7, x_9);
|
||||
x_11 = 16;
|
||||
x_12 = lean_uint64_shift_right(x_10, x_11);
|
||||
x_13 = lean_uint64_xor(x_10, x_12);
|
||||
x_14 = lean_uint64_to_usize(x_13);
|
||||
x_15 = lean_usize_of_nat(x_6);
|
||||
lean_dec(x_6);
|
||||
x_16 = 1;
|
||||
x_17 = lean_usize_sub(x_15, x_16);
|
||||
x_18 = lean_usize_land(x_14, x_17);
|
||||
x_19 = lean_array_uget(x_5, x_18);
|
||||
x_20 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(x_4, x_19);
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_4);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_free_object(x_1);
|
||||
x_21 = l_Lean_Grind_Linarith_Expr_renameVars___closed__0;
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_22;
|
||||
x_22 = lean_ctor_get(x_20, 0);
|
||||
lean_inc(x_22);
|
||||
lean_dec_ref(x_20);
|
||||
lean_ctor_set(x_1, 0, x_22);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; uint64_t x_27; uint64_t x_28; uint64_t x_29; uint64_t x_30; uint64_t x_31; uint64_t x_32; size_t x_33; size_t x_34; size_t x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_23 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_23);
|
||||
lean_dec(x_1);
|
||||
x_24 = lean_ctor_get(x_2, 1);
|
||||
x_25 = lean_array_get_size(x_24);
|
||||
x_26 = lean_uint64_of_nat(x_23);
|
||||
x_27 = 32;
|
||||
x_28 = lean_uint64_shift_right(x_26, x_27);
|
||||
x_29 = lean_uint64_xor(x_26, x_28);
|
||||
x_30 = 16;
|
||||
x_31 = lean_uint64_shift_right(x_29, x_30);
|
||||
x_32 = lean_uint64_xor(x_29, x_31);
|
||||
x_33 = lean_uint64_to_usize(x_32);
|
||||
x_34 = lean_usize_of_nat(x_25);
|
||||
lean_dec(x_25);
|
||||
x_35 = 1;
|
||||
x_36 = lean_usize_sub(x_34, x_35);
|
||||
x_37 = lean_usize_land(x_33, x_36);
|
||||
x_38 = lean_array_uget(x_24, x_37);
|
||||
x_39 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___Lean_Grind_Linarith_Poly_renameVars_spec__0___redArg(x_23, x_38);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_23);
|
||||
if (lean_obj_tag(x_39) == 0)
|
||||
{
|
||||
lean_object* x_40;
|
||||
x_40 = l_Lean_Grind_Linarith_Expr_renameVars___closed__0;
|
||||
return x_40;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42;
|
||||
x_41 = lean_ctor_get(x_39, 0);
|
||||
lean_inc(x_41);
|
||||
lean_dec_ref(x_39);
|
||||
x_42 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_42, 0, x_41);
|
||||
return x_42;
|
||||
}
|
||||
}
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
uint8_t x_43;
|
||||
x_43 = !lean_is_exclusive(x_1);
|
||||
if (x_43 == 0)
|
||||
{
|
||||
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47;
|
||||
x_44 = lean_ctor_get(x_1, 0);
|
||||
x_45 = lean_ctor_get(x_1, 1);
|
||||
x_46 = l_Lean_Grind_Linarith_Expr_renameVars(x_44, x_2);
|
||||
x_47 = l_Lean_Grind_Linarith_Expr_renameVars(x_45, x_2);
|
||||
lean_ctor_set(x_1, 1, x_47);
|
||||
lean_ctor_set(x_1, 0, x_46);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_48 = lean_ctor_get(x_1, 0);
|
||||
x_49 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_49);
|
||||
lean_inc(x_48);
|
||||
lean_dec(x_1);
|
||||
x_50 = l_Lean_Grind_Linarith_Expr_renameVars(x_48, x_2);
|
||||
x_51 = l_Lean_Grind_Linarith_Expr_renameVars(x_49, x_2);
|
||||
x_52 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_52, 0, x_50);
|
||||
lean_ctor_set(x_52, 1, x_51);
|
||||
return x_52;
|
||||
}
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
uint8_t x_53;
|
||||
x_53 = !lean_is_exclusive(x_1);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_54 = lean_ctor_get(x_1, 0);
|
||||
x_55 = lean_ctor_get(x_1, 1);
|
||||
x_56 = l_Lean_Grind_Linarith_Expr_renameVars(x_54, x_2);
|
||||
x_57 = l_Lean_Grind_Linarith_Expr_renameVars(x_55, x_2);
|
||||
lean_ctor_set(x_1, 1, x_57);
|
||||
lean_ctor_set(x_1, 0, x_56);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
x_58 = lean_ctor_get(x_1, 0);
|
||||
x_59 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_dec(x_1);
|
||||
x_60 = l_Lean_Grind_Linarith_Expr_renameVars(x_58, x_2);
|
||||
x_61 = l_Lean_Grind_Linarith_Expr_renameVars(x_59, x_2);
|
||||
x_62 = lean_alloc_ctor(3, 2, 0);
|
||||
lean_ctor_set(x_62, 0, x_60);
|
||||
lean_ctor_set(x_62, 1, x_61);
|
||||
return x_62;
|
||||
}
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
uint8_t x_63;
|
||||
x_63 = !lean_is_exclusive(x_1);
|
||||
if (x_63 == 0)
|
||||
{
|
||||
lean_object* x_64; lean_object* x_65;
|
||||
x_64 = lean_ctor_get(x_1, 0);
|
||||
x_65 = l_Lean_Grind_Linarith_Expr_renameVars(x_64, x_2);
|
||||
lean_ctor_set(x_1, 0, x_65);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_66; lean_object* x_67; lean_object* x_68;
|
||||
x_66 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_66);
|
||||
lean_dec(x_1);
|
||||
x_67 = l_Lean_Grind_Linarith_Expr_renameVars(x_66, x_2);
|
||||
x_68 = lean_alloc_ctor(4, 1, 0);
|
||||
lean_ctor_set(x_68, 0, x_67);
|
||||
return x_68;
|
||||
}
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
uint8_t x_69;
|
||||
x_69 = !lean_is_exclusive(x_1);
|
||||
if (x_69 == 0)
|
||||
{
|
||||
lean_object* x_70; lean_object* x_71;
|
||||
x_70 = lean_ctor_get(x_1, 1);
|
||||
x_71 = l_Lean_Grind_Linarith_Expr_renameVars(x_70, x_2);
|
||||
lean_ctor_set(x_1, 1, x_71);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75;
|
||||
x_72 = lean_ctor_get(x_1, 0);
|
||||
x_73 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_73);
|
||||
lean_inc(x_72);
|
||||
lean_dec(x_1);
|
||||
x_74 = l_Lean_Grind_Linarith_Expr_renameVars(x_73, x_2);
|
||||
x_75 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_75, 0, x_72);
|
||||
lean_ctor_set(x_75, 1, x_74);
|
||||
return x_75;
|
||||
}
|
||||
}
|
||||
default:
|
||||
{
|
||||
uint8_t x_76;
|
||||
x_76 = !lean_is_exclusive(x_1);
|
||||
if (x_76 == 0)
|
||||
{
|
||||
lean_object* x_77; lean_object* x_78;
|
||||
x_77 = lean_ctor_get(x_1, 1);
|
||||
x_78 = l_Lean_Grind_Linarith_Expr_renameVars(x_77, x_2);
|
||||
lean_ctor_set(x_1, 1, x_78);
|
||||
return x_1;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
|
||||
x_79 = lean_ctor_get(x_1, 0);
|
||||
x_80 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_80);
|
||||
lean_inc(x_79);
|
||||
lean_dec(x_1);
|
||||
x_81 = l_Lean_Grind_Linarith_Expr_renameVars(x_80, x_2);
|
||||
x_82 = lean_alloc_ctor(6, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_79);
|
||||
lean_ctor_set(x_82, 1, x_81);
|
||||
return x_82;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Expr_renameVars___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_Grind_Linarith_Expr_renameVars(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Poly_collectVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
x_3 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
x_4 = lean_ctor_get(x_1, 2);
|
||||
lean_inc(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_5 = l_Lean_Meta_Grind_Arith_collectVar(x_3, x_2);
|
||||
x_1 = x_4;
|
||||
x_2 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Grind_Linarith_Expr_collectVars(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5;
|
||||
switch (lean_obj_tag(x_1)) {
|
||||
case 0:
|
||||
{
|
||||
return x_2;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
lean_object* x_9; lean_object* x_10;
|
||||
x_9 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec_ref(x_1);
|
||||
x_10 = l_Lean_Meta_Grind_Arith_collectVar(x_9, x_2);
|
||||
return x_10;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
lean_object* x_11;
|
||||
x_11 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_11);
|
||||
lean_dec_ref(x_1);
|
||||
x_1 = x_11;
|
||||
goto _start;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
lean_object* x_13;
|
||||
x_13 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_13);
|
||||
lean_dec_ref(x_1);
|
||||
x_1 = x_13;
|
||||
goto _start;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
lean_object* x_15;
|
||||
x_15 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_15);
|
||||
lean_dec_ref(x_1);
|
||||
x_1 = x_15;
|
||||
goto _start;
|
||||
}
|
||||
default:
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18;
|
||||
x_17 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_17);
|
||||
x_18 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_1);
|
||||
x_3 = x_17;
|
||||
x_4 = x_18;
|
||||
x_5 = x_2;
|
||||
goto block_8;
|
||||
}
|
||||
}
|
||||
block_8:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l_Lean_Grind_Linarith_Expr_collectVars(x_3, x_5);
|
||||
x_1 = x_4;
|
||||
x_2 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Init_Grind_Ordered_Linarith(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_VarRename(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_Grind_Arith_Linear_VarRename(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_Grind_Ordered_Linarith(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Tactic_Grind_Arith_VarRename(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
l_Lean_Grind_Linarith_Expr_renameVars___closed__0 = _init_l_Lean_Grind_Linarith_Expr_renameVars___closed__0();
|
||||
lean_mark_persistent(l_Lean_Grind_Linarith_Expr_renameVars___closed__0);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
1175
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/ProofUtil.c
generated
1175
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/ProofUtil.c
generated
File diff suppressed because it is too large
Load diff
1389
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/VarRename.c
generated
Normal file
1389
stage0/stdlib/Lean/Meta/Tactic/Grind/Arith/VarRename.c
generated
Normal file
File diff suppressed because it is too large
Load diff
258
stage0/stdlib/Lean/Meta/Tactic/Grind/Main.c
generated
258
stage0/stdlib/Lean/Meta/Tactic/Grind/Main.c
generated
|
|
@ -9637,8 +9637,8 @@ x_94 = l_Array_isEmpty___redArg(x_93);
|
|||
if (x_94 == 0)
|
||||
{
|
||||
lean_object* x_95;
|
||||
lean_inc_ref(x_91);
|
||||
x_95 = l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_splitDiagInfoToMessageData(x_93, x_88, x_89, x_91, x_87, x_92);
|
||||
lean_inc_ref(x_86);
|
||||
x_95 = l___private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_splitDiagInfoToMessageData(x_93, x_90, x_91, x_86, x_92, x_88);
|
||||
if (lean_obj_tag(x_95) == 0)
|
||||
{
|
||||
lean_object* x_96; lean_object* x_97; lean_object* x_98;
|
||||
|
|
@ -9647,21 +9647,21 @@ lean_inc(x_96);
|
|||
x_97 = lean_ctor_get(x_95, 1);
|
||||
lean_inc(x_97);
|
||||
lean_dec_ref(x_95);
|
||||
x_98 = lean_array_push(x_90, x_96);
|
||||
x_67 = x_86;
|
||||
x_98 = lean_array_push(x_89, x_96);
|
||||
x_67 = x_87;
|
||||
x_68 = x_98;
|
||||
x_69 = x_88;
|
||||
x_70 = x_89;
|
||||
x_71 = x_91;
|
||||
x_72 = x_87;
|
||||
x_69 = x_90;
|
||||
x_70 = x_91;
|
||||
x_71 = x_86;
|
||||
x_72 = x_92;
|
||||
x_73 = x_97;
|
||||
goto block_85;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_99;
|
||||
lean_dec_ref(x_91);
|
||||
lean_dec_ref(x_90);
|
||||
lean_dec_ref(x_89);
|
||||
lean_dec_ref(x_87);
|
||||
lean_dec_ref(x_86);
|
||||
lean_dec(x_12);
|
||||
lean_dec_ref(x_11);
|
||||
|
|
@ -9689,13 +9689,13 @@ return x_102;
|
|||
else
|
||||
{
|
||||
lean_dec_ref(x_93);
|
||||
x_67 = x_86;
|
||||
x_68 = x_90;
|
||||
x_69 = x_88;
|
||||
x_70 = x_89;
|
||||
x_71 = x_91;
|
||||
x_72 = x_87;
|
||||
x_73 = x_92;
|
||||
x_67 = x_87;
|
||||
x_68 = x_89;
|
||||
x_69 = x_90;
|
||||
x_70 = x_91;
|
||||
x_71 = x_86;
|
||||
x_72 = x_92;
|
||||
x_73 = x_88;
|
||||
goto block_85;
|
||||
}
|
||||
}
|
||||
|
|
@ -9710,13 +9710,13 @@ if (x_114 == 0)
|
|||
{
|
||||
lean_dec(x_112);
|
||||
lean_dec_ref(x_111);
|
||||
x_86 = x_104;
|
||||
x_87 = x_109;
|
||||
x_88 = x_106;
|
||||
x_89 = x_107;
|
||||
x_90 = x_105;
|
||||
x_91 = x_108;
|
||||
x_92 = x_110;
|
||||
x_86 = x_108;
|
||||
x_87 = x_104;
|
||||
x_88 = x_110;
|
||||
x_89 = x_105;
|
||||
x_90 = x_106;
|
||||
x_91 = x_107;
|
||||
x_92 = x_109;
|
||||
x_93 = x_113;
|
||||
goto block_103;
|
||||
}
|
||||
|
|
@ -9728,13 +9728,13 @@ if (x_115 == 0)
|
|||
{
|
||||
lean_dec(x_112);
|
||||
lean_dec_ref(x_111);
|
||||
x_86 = x_104;
|
||||
x_87 = x_109;
|
||||
x_88 = x_106;
|
||||
x_89 = x_107;
|
||||
x_90 = x_105;
|
||||
x_91 = x_108;
|
||||
x_92 = x_110;
|
||||
x_86 = x_108;
|
||||
x_87 = x_104;
|
||||
x_88 = x_110;
|
||||
x_89 = x_105;
|
||||
x_90 = x_106;
|
||||
x_91 = x_107;
|
||||
x_92 = x_109;
|
||||
x_93 = x_113;
|
||||
goto block_103;
|
||||
}
|
||||
|
|
@ -9746,13 +9746,13 @@ x_117 = lean_usize_of_nat(x_112);
|
|||
lean_dec(x_112);
|
||||
x_118 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at_____private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_mkGlobalDiag_spec__12(x_111, x_116, x_117, x_113);
|
||||
lean_dec_ref(x_111);
|
||||
x_86 = x_104;
|
||||
x_87 = x_109;
|
||||
x_88 = x_106;
|
||||
x_89 = x_107;
|
||||
x_90 = x_105;
|
||||
x_91 = x_108;
|
||||
x_92 = x_110;
|
||||
x_86 = x_108;
|
||||
x_87 = x_104;
|
||||
x_88 = x_110;
|
||||
x_89 = x_105;
|
||||
x_90 = x_106;
|
||||
x_91 = x_107;
|
||||
x_92 = x_109;
|
||||
x_93 = x_118;
|
||||
goto block_103;
|
||||
}
|
||||
|
|
@ -11009,7 +11009,7 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Meta_Grind_main_spec__1_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_110; uint8_t x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; uint8_t x_127; uint8_t x_133; uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158;
|
||||
uint8_t x_10; uint8_t 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_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_110; uint8_t x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158;
|
||||
x_133 = 2;
|
||||
x_158 = l_Lean_beqMessageSeverity____x40_Lean_Message___hyg_187_(x_3, x_133);
|
||||
if (x_158 == 0)
|
||||
|
|
@ -11049,14 +11049,14 @@ lean_ctor_set(x_20, 1, x_25);
|
|||
lean_ctor_set(x_20, 0, x_24);
|
||||
x_28 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_20);
|
||||
lean_ctor_set(x_28, 1, x_11);
|
||||
lean_ctor_set(x_28, 1, x_13);
|
||||
x_29 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_29, 0, x_13);
|
||||
lean_ctor_set(x_29, 1, x_12);
|
||||
lean_ctor_set(x_29, 2, x_16);
|
||||
lean_ctor_set(x_29, 0, x_16);
|
||||
lean_ctor_set(x_29, 1, x_15);
|
||||
lean_ctor_set(x_29, 2, x_12);
|
||||
lean_ctor_set(x_29, 3, x_14);
|
||||
lean_ctor_set(x_29, 4, x_28);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_15);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_11);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_10);
|
||||
lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4);
|
||||
x_30 = l_Lean_MessageLog_add(x_29, x_27);
|
||||
|
|
@ -11111,14 +11111,14 @@ lean_ctor_set(x_20, 1, x_25);
|
|||
lean_ctor_set(x_20, 0, x_24);
|
||||
x_47 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_20);
|
||||
lean_ctor_set(x_47, 1, x_11);
|
||||
lean_ctor_set(x_47, 1, x_13);
|
||||
x_48 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_48, 0, x_13);
|
||||
lean_ctor_set(x_48, 1, x_12);
|
||||
lean_ctor_set(x_48, 2, x_16);
|
||||
lean_ctor_set(x_48, 0, x_16);
|
||||
lean_ctor_set(x_48, 1, x_15);
|
||||
lean_ctor_set(x_48, 2, x_12);
|
||||
lean_ctor_set(x_48, 3, x_14);
|
||||
lean_ctor_set(x_48, 4, x_47);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_15);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*5, x_11);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 1, x_10);
|
||||
lean_ctor_set_uint8(x_48, sizeof(void*)*5 + 2, x_4);
|
||||
x_49 = l_Lean_MessageLog_add(x_48, x_44);
|
||||
|
|
@ -11205,14 +11205,14 @@ lean_ctor_set(x_70, 0, x_58);
|
|||
lean_ctor_set(x_70, 1, x_59);
|
||||
x_71 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_11);
|
||||
lean_ctor_set(x_71, 1, x_13);
|
||||
x_72 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_72, 0, x_13);
|
||||
lean_ctor_set(x_72, 1, x_12);
|
||||
lean_ctor_set(x_72, 2, x_16);
|
||||
lean_ctor_set(x_72, 0, x_16);
|
||||
lean_ctor_set(x_72, 1, x_15);
|
||||
lean_ctor_set(x_72, 2, x_12);
|
||||
lean_ctor_set(x_72, 3, x_14);
|
||||
lean_ctor_set(x_72, 4, x_71);
|
||||
lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_15);
|
||||
lean_ctor_set_uint8(x_72, sizeof(void*)*5, x_11);
|
||||
lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 1, x_10);
|
||||
lean_ctor_set_uint8(x_72, sizeof(void*)*5 + 2, x_4);
|
||||
x_73 = l_Lean_MessageLog_add(x_72, x_66);
|
||||
|
|
@ -11263,25 +11263,25 @@ if (x_91 == 0)
|
|||
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97;
|
||||
x_92 = lean_ctor_get(x_90, 0);
|
||||
x_93 = lean_ctor_get(x_90, 1);
|
||||
lean_inc_ref(x_84);
|
||||
x_94 = l_Lean_FileMap_toPosition(x_84, x_87);
|
||||
lean_dec(x_87);
|
||||
x_95 = l_Lean_FileMap_toPosition(x_84, x_88);
|
||||
lean_inc_ref(x_85);
|
||||
x_94 = l_Lean_FileMap_toPosition(x_85, x_84);
|
||||
lean_dec(x_84);
|
||||
x_95 = l_Lean_FileMap_toPosition(x_85, x_88);
|
||||
lean_dec(x_88);
|
||||
x_96 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_96, 0, x_95);
|
||||
x_97 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_countersToMessageData_spec__10___closed__0;
|
||||
if (x_82 == 0)
|
||||
if (x_86 == 0)
|
||||
{
|
||||
lean_free_object(x_90);
|
||||
lean_dec_ref(x_81);
|
||||
x_10 = x_83;
|
||||
x_11 = x_92;
|
||||
x_12 = x_94;
|
||||
x_13 = x_85;
|
||||
x_10 = x_82;
|
||||
x_11 = x_83;
|
||||
x_12 = x_96;
|
||||
x_13 = x_92;
|
||||
x_14 = x_97;
|
||||
x_15 = x_86;
|
||||
x_16 = x_96;
|
||||
x_15 = x_94;
|
||||
x_16 = x_87;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
x_19 = x_93;
|
||||
|
|
@ -11298,7 +11298,7 @@ lean_object* x_99;
|
|||
lean_dec_ref(x_96);
|
||||
lean_dec_ref(x_94);
|
||||
lean_dec(x_92);
|
||||
lean_dec_ref(x_85);
|
||||
lean_dec_ref(x_87);
|
||||
lean_dec_ref(x_7);
|
||||
x_99 = lean_box(0);
|
||||
lean_ctor_set(x_90, 0, x_99);
|
||||
|
|
@ -11307,13 +11307,13 @@ return x_90;
|
|||
else
|
||||
{
|
||||
lean_free_object(x_90);
|
||||
x_10 = x_83;
|
||||
x_11 = x_92;
|
||||
x_12 = x_94;
|
||||
x_13 = x_85;
|
||||
x_10 = x_82;
|
||||
x_11 = x_83;
|
||||
x_12 = x_96;
|
||||
x_13 = x_92;
|
||||
x_14 = x_97;
|
||||
x_15 = x_86;
|
||||
x_16 = x_96;
|
||||
x_15 = x_94;
|
||||
x_16 = x_87;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
x_19 = x_93;
|
||||
|
|
@ -11329,24 +11329,24 @@ x_101 = lean_ctor_get(x_90, 1);
|
|||
lean_inc(x_101);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_90);
|
||||
lean_inc_ref(x_84);
|
||||
x_102 = l_Lean_FileMap_toPosition(x_84, x_87);
|
||||
lean_dec(x_87);
|
||||
x_103 = l_Lean_FileMap_toPosition(x_84, x_88);
|
||||
lean_inc_ref(x_85);
|
||||
x_102 = l_Lean_FileMap_toPosition(x_85, x_84);
|
||||
lean_dec(x_84);
|
||||
x_103 = l_Lean_FileMap_toPosition(x_85, x_88);
|
||||
lean_dec(x_88);
|
||||
x_104 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_104, 0, x_103);
|
||||
x_105 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Meta_Tactic_Grind_Main_0__Lean_Meta_Grind_countersToMessageData_spec__10___closed__0;
|
||||
if (x_82 == 0)
|
||||
if (x_86 == 0)
|
||||
{
|
||||
lean_dec_ref(x_81);
|
||||
x_10 = x_83;
|
||||
x_11 = x_100;
|
||||
x_12 = x_102;
|
||||
x_13 = x_85;
|
||||
x_10 = x_82;
|
||||
x_11 = x_83;
|
||||
x_12 = x_104;
|
||||
x_13 = x_100;
|
||||
x_14 = x_105;
|
||||
x_15 = x_86;
|
||||
x_16 = x_104;
|
||||
x_15 = x_102;
|
||||
x_16 = x_87;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
x_19 = x_101;
|
||||
|
|
@ -11363,7 +11363,7 @@ lean_object* x_107; lean_object* x_108;
|
|||
lean_dec_ref(x_104);
|
||||
lean_dec_ref(x_102);
|
||||
lean_dec(x_100);
|
||||
lean_dec_ref(x_85);
|
||||
lean_dec_ref(x_87);
|
||||
lean_dec_ref(x_7);
|
||||
x_107 = lean_box(0);
|
||||
x_108 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -11373,13 +11373,13 @@ return x_108;
|
|||
}
|
||||
else
|
||||
{
|
||||
x_10 = x_83;
|
||||
x_11 = x_100;
|
||||
x_12 = x_102;
|
||||
x_13 = x_85;
|
||||
x_10 = x_82;
|
||||
x_11 = x_83;
|
||||
x_12 = x_104;
|
||||
x_13 = x_100;
|
||||
x_14 = x_105;
|
||||
x_15 = x_86;
|
||||
x_16 = x_104;
|
||||
x_15 = x_102;
|
||||
x_16 = x_87;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
x_19 = x_101;
|
||||
|
|
@ -11391,18 +11391,18 @@ goto block_80;
|
|||
block_120:
|
||||
{
|
||||
lean_object* x_118;
|
||||
x_118 = l_Lean_Syntax_getTailPos_x3f(x_116, x_115);
|
||||
lean_dec(x_116);
|
||||
x_118 = l_Lean_Syntax_getTailPos_x3f(x_112, x_113);
|
||||
lean_dec(x_112);
|
||||
if (lean_obj_tag(x_118) == 0)
|
||||
{
|
||||
lean_inc(x_117);
|
||||
x_81 = x_110;
|
||||
x_82 = x_111;
|
||||
x_83 = x_113;
|
||||
x_84 = x_112;
|
||||
x_84 = x_117;
|
||||
x_85 = x_114;
|
||||
x_86 = x_115;
|
||||
x_87 = x_117;
|
||||
x_87 = x_116;
|
||||
x_88 = x_117;
|
||||
goto block_109;
|
||||
}
|
||||
|
|
@ -11415,10 +11415,10 @@ lean_dec_ref(x_118);
|
|||
x_81 = x_110;
|
||||
x_82 = x_111;
|
||||
x_83 = x_113;
|
||||
x_84 = x_112;
|
||||
x_84 = x_117;
|
||||
x_85 = x_114;
|
||||
x_86 = x_115;
|
||||
x_87 = x_117;
|
||||
x_87 = x_116;
|
||||
x_88 = x_119;
|
||||
goto block_109;
|
||||
}
|
||||
|
|
@ -11426,20 +11426,20 @@ goto block_109;
|
|||
block_132:
|
||||
{
|
||||
lean_object* x_128; lean_object* x_129;
|
||||
x_128 = l_Lean_replaceRef(x_1, x_125);
|
||||
lean_dec(x_125);
|
||||
x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_126);
|
||||
x_128 = l_Lean_replaceRef(x_1, x_123);
|
||||
lean_dec(x_123);
|
||||
x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_122);
|
||||
if (lean_obj_tag(x_129) == 0)
|
||||
{
|
||||
lean_object* x_130;
|
||||
x_130 = lean_unsigned_to_nat(0u);
|
||||
x_110 = x_121;
|
||||
x_111 = x_122;
|
||||
x_112 = x_123;
|
||||
x_113 = x_127;
|
||||
x_111 = x_127;
|
||||
x_112 = x_128;
|
||||
x_113 = x_122;
|
||||
x_114 = x_124;
|
||||
x_115 = x_126;
|
||||
x_116 = x_128;
|
||||
x_115 = x_125;
|
||||
x_116 = x_126;
|
||||
x_117 = x_130;
|
||||
goto block_120;
|
||||
}
|
||||
|
|
@ -11450,12 +11450,12 @@ x_131 = lean_ctor_get(x_129, 0);
|
|||
lean_inc(x_131);
|
||||
lean_dec_ref(x_129);
|
||||
x_110 = x_121;
|
||||
x_111 = x_122;
|
||||
x_112 = x_123;
|
||||
x_113 = x_127;
|
||||
x_111 = x_127;
|
||||
x_112 = x_128;
|
||||
x_113 = x_122;
|
||||
x_114 = x_124;
|
||||
x_115 = x_126;
|
||||
x_116 = x_128;
|
||||
x_115 = x_125;
|
||||
x_116 = x_126;
|
||||
x_117 = x_131;
|
||||
goto block_120;
|
||||
}
|
||||
|
|
@ -11464,23 +11464,23 @@ block_141:
|
|||
{
|
||||
if (x_140 == 0)
|
||||
{
|
||||
x_121 = x_138;
|
||||
x_122 = x_134;
|
||||
x_123 = x_135;
|
||||
x_124 = x_137;
|
||||
x_121 = x_137;
|
||||
x_122 = x_139;
|
||||
x_123 = x_134;
|
||||
x_124 = x_135;
|
||||
x_125 = x_136;
|
||||
x_126 = x_139;
|
||||
x_126 = x_138;
|
||||
x_127 = x_3;
|
||||
goto block_132;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_121 = x_138;
|
||||
x_122 = x_134;
|
||||
x_123 = x_135;
|
||||
x_124 = x_137;
|
||||
x_121 = x_137;
|
||||
x_122 = x_139;
|
||||
x_123 = x_134;
|
||||
x_124 = x_135;
|
||||
x_125 = x_136;
|
||||
x_126 = x_139;
|
||||
x_126 = x_138;
|
||||
x_127 = x_133;
|
||||
goto block_132;
|
||||
}
|
||||
|
|
@ -11505,13 +11505,13 @@ x_152 = l_Lean_beqMessageSeverity____x40_Lean_Message___hyg_187_(x_3, x_151);
|
|||
if (x_152 == 0)
|
||||
{
|
||||
lean_inc_ref(x_143);
|
||||
lean_inc(x_146);
|
||||
lean_inc_ref(x_144);
|
||||
x_134 = x_147;
|
||||
lean_inc(x_146);
|
||||
x_134 = x_146;
|
||||
x_135 = x_144;
|
||||
x_136 = x_146;
|
||||
x_137 = x_143;
|
||||
x_138 = x_150;
|
||||
x_136 = x_147;
|
||||
x_137 = x_150;
|
||||
x_138 = x_143;
|
||||
x_139 = x_142;
|
||||
x_140 = x_152;
|
||||
goto block_141;
|
||||
|
|
@ -11522,13 +11522,13 @@ lean_object* x_153; uint8_t x_154;
|
|||
x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logInfo___at___Lean_Meta_Grind_main_spec__1_spec__1_spec__1___redArg___closed__0;
|
||||
x_154 = l_Lean_Option_get___at___Lean_Meta_Grind_main_spec__0(x_145, x_153);
|
||||
lean_inc_ref(x_143);
|
||||
lean_inc(x_146);
|
||||
lean_inc_ref(x_144);
|
||||
x_134 = x_147;
|
||||
lean_inc(x_146);
|
||||
x_134 = x_146;
|
||||
x_135 = x_144;
|
||||
x_136 = x_146;
|
||||
x_137 = x_143;
|
||||
x_138 = x_150;
|
||||
x_136 = x_147;
|
||||
x_137 = x_150;
|
||||
x_138 = x_143;
|
||||
x_139 = x_142;
|
||||
x_140 = x_154;
|
||||
goto block_141;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue