chore: update stage0
This commit is contained in:
parent
bf269ce250
commit
eadf1404c5
21 changed files with 61224 additions and 62264 deletions
38
stage0/stdlib/Lake/Config/Workspace.c
generated
38
stage0/stdlib/Lake/Config/Workspace.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lake.Config.Workspace
|
||||
// Imports: public import Lake.Config.Env public import Lake.Config.LeanExe public import Lake.Config.ExternLib public import Lake.Config.FacetConfig public import Lake.Config.TargetConfig public import Lake.Config.LakeConfig meta import Lake.Util.OpaqueType import Lean.DocString.Syntax
|
||||
// Imports: public import Lake.Config.Env public import Lake.Config.LeanExe public import Lake.Config.ExternLib public import Lake.Config.FacetConfig public import Lake.Config.TargetConfig public import Lake.Config.LakeConfig meta import Lake.Util.OpaqueType import Lean.DocString.Syntax import Init.Data.Range.Polymorphic.Iterators import Init.Data.Range.Polymorphic.Lemmas
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -3981,9 +3981,9 @@ goto v___jp_1399_;
|
|||
v___jp_1349_:
|
||||
{
|
||||
lean_object* v___x_1355_; lean_object* v___x_1356_; lean_object* v___x_1357_; lean_object* v___x_1358_; lean_object* v___x_1359_; lean_object* v___x_1360_; lean_object* v___x_1361_; lean_object* v___x_1362_; lean_object* v___x_1363_; lean_object* v___x_1364_; lean_object* v___x_1365_; lean_object* v___x_1366_; lean_object* v___x_1367_; lean_object* v___x_1368_; lean_object* v_vars_1369_; uint8_t v___x_1370_;
|
||||
lean_inc_ref(v___y_1352_);
|
||||
lean_inc_ref(v___y_1351_);
|
||||
v___x_1355_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_1355_, 0, v___y_1352_);
|
||||
lean_ctor_set(v___x_1355_, 0, v___y_1351_);
|
||||
lean_ctor_set(v___x_1355_, 1, v___y_1354_);
|
||||
v___x_1356_ = ((lean_object*)(l_Lake_Workspace_augmentedEnvVars___closed__1));
|
||||
v___x_1357_ = l_Lake_Workspace_augmentedPath(v_self_1340_);
|
||||
|
|
@ -3996,9 +3996,9 @@ lean_ctor_set(v___x_1360_, 1, v___x_1359_);
|
|||
v___x_1361_ = lean_unsigned_to_nat(6u);
|
||||
v___x_1362_ = lean_mk_empty_array_with_capacity(v___x_1361_);
|
||||
v___x_1363_ = lean_array_push(v___x_1362_, v___x_1348_);
|
||||
v___x_1364_ = lean_array_push(v___x_1363_, v___y_1351_);
|
||||
v___x_1364_ = lean_array_push(v___x_1363_, v___y_1350_);
|
||||
v___x_1365_ = lean_array_push(v___x_1364_, v___y_1353_);
|
||||
v___x_1366_ = lean_array_push(v___x_1365_, v___y_1350_);
|
||||
v___x_1366_ = lean_array_push(v___x_1365_, v___y_1352_);
|
||||
v___x_1367_ = lean_array_push(v___x_1366_, v___x_1355_);
|
||||
v___x_1368_ = lean_array_push(v___x_1367_, v___x_1360_);
|
||||
v_vars_1369_ = l_Array_append___redArg(v___x_1345_, v___x_1368_);
|
||||
|
|
@ -4058,9 +4058,9 @@ lean_object* v___x_1396_; lean_object* v___x_1397_;
|
|||
v___x_1396_ = l_Lake_Env_leanGithash(v_lakeEnv_1341_);
|
||||
v___x_1397_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_1397_, 0, v___x_1396_);
|
||||
v___y_1350_ = v___x_1394_;
|
||||
v___y_1351_ = v___x_1384_;
|
||||
v___y_1352_ = v___x_1395_;
|
||||
v___y_1350_ = v___x_1384_;
|
||||
v___y_1351_ = v___x_1395_;
|
||||
v___y_1352_ = v___x_1394_;
|
||||
v___y_1353_ = v___x_1389_;
|
||||
v___y_1354_ = v___x_1397_;
|
||||
goto v___jp_1349_;
|
||||
|
|
@ -4069,9 +4069,9 @@ else
|
|||
{
|
||||
lean_object* v___x_1398_;
|
||||
v___x_1398_ = lean_box(0);
|
||||
v___y_1350_ = v___x_1394_;
|
||||
v___y_1351_ = v___x_1384_;
|
||||
v___y_1352_ = v___x_1395_;
|
||||
v___y_1350_ = v___x_1384_;
|
||||
v___y_1351_ = v___x_1395_;
|
||||
v___y_1352_ = v___x_1394_;
|
||||
v___y_1353_ = v___x_1389_;
|
||||
v___y_1354_ = v___x_1398_;
|
||||
goto v___jp_1349_;
|
||||
|
|
@ -4211,6 +4211,8 @@ lean_object* runtime_initialize_Lake_Config_FacetConfig(uint8_t builtin);
|
|||
lean_object* runtime_initialize_Lake_Config_TargetConfig(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lake_Config_LakeConfig(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Lean_DocString_Syntax(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Range_Polymorphic_Iterators(uint8_t builtin);
|
||||
lean_object* runtime_initialize_Init_Data_Range_Polymorphic_Lemmas(uint8_t builtin);
|
||||
static bool _G_runtime_initialized = false;
|
||||
LEAN_EXPORT lean_object* runtime_initialize_Lake_Config_Workspace(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -4237,6 +4239,12 @@ lean_dec_ref(res);
|
|||
res = runtime_initialize_Lean_DocString_Syntax(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Range_Polymorphic_Iterators(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Init_Data_Range_Polymorphic_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
lean_object* runtime_initialize_Lake_Util_OpaqueType(uint8_t builtin);
|
||||
|
|
@ -4258,6 +4266,8 @@ lean_object* initialize_Lake_Config_TargetConfig(uint8_t builtin);
|
|||
lean_object* initialize_Lake_Config_LakeConfig(uint8_t builtin);
|
||||
lean_object* initialize_Lake_Util_OpaqueType(uint8_t builtin);
|
||||
lean_object* initialize_Lean_DocString_Syntax(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Range_Polymorphic_Iterators(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_Range_Polymorphic_Lemmas(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lake_Config_Workspace(uint8_t builtin) {
|
||||
lean_object * res;
|
||||
|
|
@ -4287,6 +4297,12 @@ lean_dec_ref(res);
|
|||
res = initialize_Lean_DocString_Syntax(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Range_Polymorphic_Iterators(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Data_Range_Polymorphic_Lemmas(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = runtime_initialize_Lake_Config_Workspace(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
|
|||
33915
stage0/stdlib/Lake/Load/Resolve.c
generated
33915
stage0/stdlib/Lake/Load/Resolve.c
generated
File diff suppressed because it is too large
Load diff
10022
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
10022
stage0/stdlib/Lean/Data/Lsp/Capabilities.c
generated
File diff suppressed because it is too large
Load diff
8782
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
generated
8782
stage0/stdlib/Lean/Data/Lsp/Diagnostics.c
generated
File diff suppressed because it is too large
Load diff
21433
stage0/stdlib/Lean/Data/Lsp/Ipc.c
generated
21433
stage0/stdlib/Lean/Data/Lsp/Ipc.c
generated
File diff suppressed because it is too large
Load diff
196
stage0/stdlib/Lean/DocString/Add.c
generated
196
stage0/stdlib/Lean/DocString/Add.c
generated
|
|
@ -68,6 +68,7 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*);
|
|||
lean_object* lean_array_uget(lean_object*, size_t);
|
||||
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
|
||||
lean_object* l_Lean_getMainVersoModuleDocs(lean_object*);
|
||||
lean_object* l_Lean_VersoModuleDocs_terminalNesting(lean_object*);
|
||||
lean_object* l_Lean_getMainModuleDoc(lean_object*);
|
||||
uint8_t l_Lean_PersistentArray_isEmpty___redArg(lean_object*);
|
||||
lean_object* l_Lean_stringToMessageData(lean_object*);
|
||||
|
|
@ -4319,35 +4320,34 @@ return v_res_1570_;
|
|||
LEAN_EXPORT lean_object* l_Lean_versoModDocString(lean_object* v_range_1571_, lean_object* v_doc_1572_, lean_object* v_a_1573_, lean_object* v_a_1574_, lean_object* v_a_1575_, lean_object* v_a_1576_, lean_object* v_a_1577_, lean_object* v_a_1578_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_1580_; lean_object* v___y_1582_; lean_object* v___y_1583_; lean_object* v___y_1588_; lean_object* v_env_1595_; lean_object* v___x_1596_; lean_object* v_terminalNesting_1597_;
|
||||
lean_object* v___x_1580_; lean_object* v___y_1582_; lean_object* v___y_1583_; lean_object* v___y_1588_; lean_object* v_env_1595_; lean_object* v___x_1596_; lean_object* v___x_1597_;
|
||||
v___x_1580_ = lean_st_ref_get(v_a_1578_);
|
||||
v_env_1595_ = lean_ctor_get(v___x_1580_, 0);
|
||||
lean_inc_ref(v_env_1595_);
|
||||
lean_dec(v___x_1580_);
|
||||
v___x_1596_ = l_Lean_getMainVersoModuleDocs(v_env_1595_);
|
||||
v_terminalNesting_1597_ = lean_ctor_get(v___x_1596_, 1);
|
||||
lean_inc(v_terminalNesting_1597_);
|
||||
v___x_1597_ = l_Lean_VersoModuleDocs_terminalNesting(v___x_1596_);
|
||||
lean_dec_ref(v___x_1596_);
|
||||
if (lean_obj_tag(v_terminalNesting_1597_) == 0)
|
||||
if (lean_obj_tag(v___x_1597_) == 0)
|
||||
{
|
||||
v___y_1588_ = v_terminalNesting_1597_;
|
||||
v___y_1588_ = v___x_1597_;
|
||||
goto v___jp_1587_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_val_1598_; lean_object* v___x_1600_; uint8_t v_isShared_1601_; uint8_t v_isSharedCheck_1607_;
|
||||
v_val_1598_ = lean_ctor_get(v_terminalNesting_1597_, 0);
|
||||
v_isSharedCheck_1607_ = !lean_is_exclusive(v_terminalNesting_1597_);
|
||||
v_val_1598_ = lean_ctor_get(v___x_1597_, 0);
|
||||
v_isSharedCheck_1607_ = !lean_is_exclusive(v___x_1597_);
|
||||
if (v_isSharedCheck_1607_ == 0)
|
||||
{
|
||||
v___x_1600_ = v_terminalNesting_1597_;
|
||||
v___x_1600_ = v___x_1597_;
|
||||
v_isShared_1601_ = v_isSharedCheck_1607_;
|
||||
goto v_resetjp_1599_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_val_1598_);
|
||||
lean_dec(v_terminalNesting_1597_);
|
||||
lean_dec(v___x_1597_);
|
||||
v___x_1600_ = lean_box(0);
|
||||
v_isShared_1601_ = v_isSharedCheck_1607_;
|
||||
goto v_resetjp_1599_;
|
||||
|
|
@ -4657,7 +4657,7 @@ return v_r_1695_;
|
|||
LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_versoDocStringFromString_spec__3___redArg(lean_object* v_ref_1696_, lean_object* v_msgData_1697_, uint8_t v_severity_1698_, uint8_t v_isSilent_1699_, lean_object* v___y_1700_, lean_object* v___y_1701_, lean_object* v___y_1702_, lean_object* v___y_1703_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___y_1706_; lean_object* v___y_1707_; lean_object* v___y_1708_; lean_object* v___y_1709_; uint8_t v___y_1710_; uint8_t v___y_1711_; lean_object* v___y_1712_; lean_object* v___y_1713_; lean_object* v___y_1714_; lean_object* v___y_1742_; lean_object* v___y_1743_; uint8_t v___y_1744_; lean_object* v___y_1745_; lean_object* v___y_1746_; uint8_t v___y_1747_; uint8_t v___y_1748_; lean_object* v___y_1749_; lean_object* v___y_1767_; lean_object* v___y_1768_; uint8_t v___y_1769_; lean_object* v___y_1770_; lean_object* v___y_1771_; uint8_t v___y_1772_; uint8_t v___y_1773_; lean_object* v___y_1774_; lean_object* v___y_1778_; lean_object* v___y_1779_; uint8_t v___y_1780_; lean_object* v___y_1781_; lean_object* v___y_1782_; uint8_t v___y_1783_; uint8_t v___y_1784_; uint8_t v___x_1789_; lean_object* v___y_1791_; lean_object* v___y_1792_; uint8_t v___y_1793_; lean_object* v___y_1794_; lean_object* v___y_1795_; uint8_t v___y_1796_; uint8_t v___y_1797_; uint8_t v___y_1799_; uint8_t v___x_1814_;
|
||||
uint8_t v___y_1706_; uint8_t v___y_1707_; lean_object* v___y_1708_; lean_object* v___y_1709_; lean_object* v___y_1710_; lean_object* v___y_1711_; lean_object* v___y_1712_; lean_object* v___y_1713_; lean_object* v___y_1714_; lean_object* v___y_1742_; uint8_t v___y_1743_; uint8_t v___y_1744_; lean_object* v___y_1745_; lean_object* v___y_1746_; uint8_t v___y_1747_; lean_object* v___y_1748_; lean_object* v___y_1749_; lean_object* v___y_1767_; uint8_t v___y_1768_; uint8_t v___y_1769_; lean_object* v___y_1770_; lean_object* v___y_1771_; uint8_t v___y_1772_; lean_object* v___y_1773_; lean_object* v___y_1774_; lean_object* v___y_1778_; uint8_t v___y_1779_; lean_object* v___y_1780_; lean_object* v___y_1781_; lean_object* v___y_1782_; uint8_t v___y_1783_; uint8_t v___y_1784_; uint8_t v___x_1789_; lean_object* v___y_1791_; lean_object* v___y_1792_; lean_object* v___y_1793_; lean_object* v___y_1794_; uint8_t v___y_1795_; uint8_t v___y_1796_; uint8_t v___y_1797_; uint8_t v___y_1799_; uint8_t v___x_1814_;
|
||||
v___x_1789_ = 2;
|
||||
v___x_1814_ = l_Lean_instBEqMessageSeverity_beq(v_severity_1698_, v___x_1789_);
|
||||
if (v___x_1814_ == 0)
|
||||
|
|
@ -4721,17 +4721,17 @@ lean_ctor_set(v___x_1730_, 0, v_currNamespace_1716_);
|
|||
lean_ctor_set(v___x_1730_, 1, v_openDecls_1717_);
|
||||
v___x_1731_ = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(v___x_1731_, 0, v___x_1730_);
|
||||
lean_ctor_set(v___x_1731_, 1, v___y_1712_);
|
||||
lean_inc_ref(v___y_1708_);
|
||||
lean_inc_ref(v___y_1706_);
|
||||
lean_ctor_set(v___x_1731_, 1, v___y_1708_);
|
||||
lean_inc_ref(v___y_1709_);
|
||||
lean_inc_ref(v___y_1711_);
|
||||
v___x_1732_ = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(v___x_1732_, 0, v___y_1706_);
|
||||
lean_ctor_set(v___x_1732_, 1, v___y_1709_);
|
||||
lean_ctor_set(v___x_1732_, 2, v___y_1707_);
|
||||
lean_ctor_set(v___x_1732_, 3, v___y_1708_);
|
||||
lean_ctor_set(v___x_1732_, 0, v___y_1711_);
|
||||
lean_ctor_set(v___x_1732_, 1, v___y_1710_);
|
||||
lean_ctor_set(v___x_1732_, 2, v___y_1712_);
|
||||
lean_ctor_set(v___x_1732_, 3, v___y_1709_);
|
||||
lean_ctor_set(v___x_1732_, 4, v___x_1731_);
|
||||
lean_ctor_set_uint8(v___x_1732_, sizeof(void*)*5, v___y_1710_);
|
||||
lean_ctor_set_uint8(v___x_1732_, sizeof(void*)*5 + 1, v___y_1711_);
|
||||
lean_ctor_set_uint8(v___x_1732_, sizeof(void*)*5, v___y_1707_);
|
||||
lean_ctor_set_uint8(v___x_1732_, sizeof(void*)*5 + 1, v___y_1706_);
|
||||
lean_ctor_set_uint8(v___x_1732_, sizeof(void*)*5 + 2, v_isSilent_1699_);
|
||||
v___x_1733_ = l_Lean_MessageLog_add(v___x_1732_, v_messages_1724_);
|
||||
if (v_isShared_1729_ == 0)
|
||||
|
|
@ -4791,25 +4791,25 @@ goto v_resetjp_1753_;
|
|||
v_resetjp_1753_:
|
||||
{
|
||||
lean_object* v___x_1756_; lean_object* v___x_1757_; lean_object* v___x_1758_; lean_object* v___x_1759_;
|
||||
lean_inc_ref_n(v___y_1746_, 2);
|
||||
v___x_1756_ = l_Lean_FileMap_toPosition(v___y_1746_, v___y_1745_);
|
||||
lean_dec(v___y_1745_);
|
||||
v___x_1757_ = l_Lean_FileMap_toPosition(v___y_1746_, v___y_1749_);
|
||||
lean_inc_ref_n(v___y_1745_, 2);
|
||||
v___x_1756_ = l_Lean_FileMap_toPosition(v___y_1745_, v___y_1748_);
|
||||
lean_dec(v___y_1748_);
|
||||
v___x_1757_ = l_Lean_FileMap_toPosition(v___y_1745_, v___y_1749_);
|
||||
lean_dec(v___y_1749_);
|
||||
v___x_1758_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_1758_, 0, v___x_1757_);
|
||||
v___x_1759_ = ((lean_object*)(l_Lean_parseVersoDocString___redArg___lam__3___closed__0));
|
||||
if (v___y_1744_ == 0)
|
||||
if (v___y_1747_ == 0)
|
||||
{
|
||||
lean_del_object(v___x_1754_);
|
||||
lean_dec_ref(v___y_1742_);
|
||||
v___y_1706_ = v___y_1743_;
|
||||
v___y_1707_ = v___x_1758_;
|
||||
v___y_1708_ = v___x_1759_;
|
||||
v___y_1709_ = v___x_1756_;
|
||||
v___y_1710_ = v___y_1747_;
|
||||
v___y_1711_ = v___y_1748_;
|
||||
v___y_1712_ = v_a_1752_;
|
||||
v___y_1706_ = v___y_1744_;
|
||||
v___y_1707_ = v___y_1743_;
|
||||
v___y_1708_ = v_a_1752_;
|
||||
v___y_1709_ = v___x_1759_;
|
||||
v___y_1710_ = v___x_1756_;
|
||||
v___y_1711_ = v___y_1746_;
|
||||
v___y_1712_ = v___x_1758_;
|
||||
v___y_1713_ = v___y_1702_;
|
||||
v___y_1714_ = v___y_1703_;
|
||||
goto v___jp_1705_;
|
||||
|
|
@ -4848,13 +4848,13 @@ return v___x_1763_;
|
|||
else
|
||||
{
|
||||
lean_del_object(v___x_1754_);
|
||||
v___y_1706_ = v___y_1743_;
|
||||
v___y_1707_ = v___x_1758_;
|
||||
v___y_1708_ = v___x_1759_;
|
||||
v___y_1709_ = v___x_1756_;
|
||||
v___y_1710_ = v___y_1747_;
|
||||
v___y_1711_ = v___y_1748_;
|
||||
v___y_1712_ = v_a_1752_;
|
||||
v___y_1706_ = v___y_1744_;
|
||||
v___y_1707_ = v___y_1743_;
|
||||
v___y_1708_ = v_a_1752_;
|
||||
v___y_1709_ = v___x_1759_;
|
||||
v___y_1710_ = v___x_1756_;
|
||||
v___y_1711_ = v___y_1746_;
|
||||
v___y_1712_ = v___x_1758_;
|
||||
v___y_1713_ = v___y_1702_;
|
||||
v___y_1714_ = v___y_1703_;
|
||||
goto v___jp_1705_;
|
||||
|
|
@ -4865,18 +4865,18 @@ goto v___jp_1705_;
|
|||
v___jp_1766_:
|
||||
{
|
||||
lean_object* v___x_1775_;
|
||||
v___x_1775_ = l_Lean_Syntax_getTailPos_x3f(v___y_1770_, v___y_1772_);
|
||||
lean_dec(v___y_1770_);
|
||||
v___x_1775_ = l_Lean_Syntax_getTailPos_x3f(v___y_1773_, v___y_1769_);
|
||||
lean_dec(v___y_1773_);
|
||||
if (lean_obj_tag(v___x_1775_) == 0)
|
||||
{
|
||||
lean_inc(v___y_1774_);
|
||||
v___y_1742_ = v___y_1767_;
|
||||
v___y_1743_ = v___y_1768_;
|
||||
v___y_1744_ = v___y_1769_;
|
||||
v___y_1745_ = v___y_1774_;
|
||||
v___y_1743_ = v___y_1769_;
|
||||
v___y_1744_ = v___y_1768_;
|
||||
v___y_1745_ = v___y_1770_;
|
||||
v___y_1746_ = v___y_1771_;
|
||||
v___y_1747_ = v___y_1772_;
|
||||
v___y_1748_ = v___y_1773_;
|
||||
v___y_1748_ = v___y_1774_;
|
||||
v___y_1749_ = v___y_1774_;
|
||||
goto v___jp_1741_;
|
||||
}
|
||||
|
|
@ -4887,12 +4887,12 @@ v_val_1776_ = lean_ctor_get(v___x_1775_, 0);
|
|||
lean_inc(v_val_1776_);
|
||||
lean_dec_ref(v___x_1775_);
|
||||
v___y_1742_ = v___y_1767_;
|
||||
v___y_1743_ = v___y_1768_;
|
||||
v___y_1744_ = v___y_1769_;
|
||||
v___y_1745_ = v___y_1774_;
|
||||
v___y_1743_ = v___y_1769_;
|
||||
v___y_1744_ = v___y_1768_;
|
||||
v___y_1745_ = v___y_1770_;
|
||||
v___y_1746_ = v___y_1771_;
|
||||
v___y_1747_ = v___y_1772_;
|
||||
v___y_1748_ = v___y_1773_;
|
||||
v___y_1748_ = v___y_1774_;
|
||||
v___y_1749_ = v_val_1776_;
|
||||
goto v___jp_1741_;
|
||||
}
|
||||
|
|
@ -4900,19 +4900,19 @@ goto v___jp_1741_;
|
|||
v___jp_1777_:
|
||||
{
|
||||
lean_object* v_ref_1785_; lean_object* v___x_1786_;
|
||||
v_ref_1785_ = l_Lean_replaceRef(v_ref_1696_, v___y_1782_);
|
||||
v___x_1786_ = l_Lean_Syntax_getPos_x3f(v_ref_1785_, v___y_1783_);
|
||||
v_ref_1785_ = l_Lean_replaceRef(v_ref_1696_, v___y_1781_);
|
||||
v___x_1786_ = l_Lean_Syntax_getPos_x3f(v_ref_1785_, v___y_1779_);
|
||||
if (lean_obj_tag(v___x_1786_) == 0)
|
||||
{
|
||||
lean_object* v___x_1787_;
|
||||
v___x_1787_ = lean_unsigned_to_nat(0u);
|
||||
v___y_1767_ = v___y_1778_;
|
||||
v___y_1768_ = v___y_1779_;
|
||||
v___y_1769_ = v___y_1780_;
|
||||
v___y_1770_ = v_ref_1785_;
|
||||
v___y_1771_ = v___y_1781_;
|
||||
v___y_1768_ = v___y_1784_;
|
||||
v___y_1769_ = v___y_1779_;
|
||||
v___y_1770_ = v___y_1780_;
|
||||
v___y_1771_ = v___y_1782_;
|
||||
v___y_1772_ = v___y_1783_;
|
||||
v___y_1773_ = v___y_1784_;
|
||||
v___y_1773_ = v_ref_1785_;
|
||||
v___y_1774_ = v___x_1787_;
|
||||
goto v___jp_1766_;
|
||||
}
|
||||
|
|
@ -4923,12 +4923,12 @@ v_val_1788_ = lean_ctor_get(v___x_1786_, 0);
|
|||
lean_inc(v_val_1788_);
|
||||
lean_dec_ref(v___x_1786_);
|
||||
v___y_1767_ = v___y_1778_;
|
||||
v___y_1768_ = v___y_1779_;
|
||||
v___y_1769_ = v___y_1780_;
|
||||
v___y_1770_ = v_ref_1785_;
|
||||
v___y_1771_ = v___y_1781_;
|
||||
v___y_1768_ = v___y_1784_;
|
||||
v___y_1769_ = v___y_1779_;
|
||||
v___y_1770_ = v___y_1780_;
|
||||
v___y_1771_ = v___y_1782_;
|
||||
v___y_1772_ = v___y_1783_;
|
||||
v___y_1773_ = v___y_1784_;
|
||||
v___y_1773_ = v_ref_1785_;
|
||||
v___y_1774_ = v_val_1788_;
|
||||
goto v___jp_1766_;
|
||||
}
|
||||
|
|
@ -4937,23 +4937,23 @@ v___jp_1790_:
|
|||
{
|
||||
if (v___y_1797_ == 0)
|
||||
{
|
||||
v___y_1778_ = v___y_1792_;
|
||||
v___y_1779_ = v___y_1791_;
|
||||
v___y_1780_ = v___y_1793_;
|
||||
v___y_1781_ = v___y_1794_;
|
||||
v___y_1782_ = v___y_1795_;
|
||||
v___y_1783_ = v___y_1796_;
|
||||
v___y_1778_ = v___y_1791_;
|
||||
v___y_1779_ = v___y_1796_;
|
||||
v___y_1780_ = v___y_1792_;
|
||||
v___y_1781_ = v___y_1793_;
|
||||
v___y_1782_ = v___y_1794_;
|
||||
v___y_1783_ = v___y_1795_;
|
||||
v___y_1784_ = v_severity_1698_;
|
||||
goto v___jp_1777_;
|
||||
}
|
||||
else
|
||||
{
|
||||
v___y_1778_ = v___y_1792_;
|
||||
v___y_1779_ = v___y_1791_;
|
||||
v___y_1780_ = v___y_1793_;
|
||||
v___y_1781_ = v___y_1794_;
|
||||
v___y_1782_ = v___y_1795_;
|
||||
v___y_1783_ = v___y_1796_;
|
||||
v___y_1778_ = v___y_1791_;
|
||||
v___y_1779_ = v___y_1796_;
|
||||
v___y_1780_ = v___y_1792_;
|
||||
v___y_1781_ = v___y_1793_;
|
||||
v___y_1782_ = v___y_1794_;
|
||||
v___y_1783_ = v___y_1795_;
|
||||
v___y_1784_ = v___x_1789_;
|
||||
goto v___jp_1777_;
|
||||
}
|
||||
|
|
@ -4977,11 +4977,11 @@ v___x_1808_ = 1;
|
|||
v___x_1809_ = l_Lean_instBEqMessageSeverity_beq(v_severity_1698_, v___x_1808_);
|
||||
if (v___x_1809_ == 0)
|
||||
{
|
||||
v___y_1791_ = v_fileName_1800_;
|
||||
v___y_1792_ = v___f_1807_;
|
||||
v___y_1793_ = v_suppressElabErrors_1804_;
|
||||
v___y_1794_ = v_fileMap_1801_;
|
||||
v___y_1795_ = v_ref_1803_;
|
||||
v___y_1791_ = v___f_1807_;
|
||||
v___y_1792_ = v_fileMap_1801_;
|
||||
v___y_1793_ = v_ref_1803_;
|
||||
v___y_1794_ = v_fileName_1800_;
|
||||
v___y_1795_ = v_suppressElabErrors_1804_;
|
||||
v___y_1796_ = v___y_1799_;
|
||||
v___y_1797_ = v___x_1809_;
|
||||
goto v___jp_1790_;
|
||||
|
|
@ -4991,11 +4991,11 @@ else
|
|||
lean_object* v___x_1810_; uint8_t v___x_1811_;
|
||||
v___x_1810_ = l_Lean_warningAsError;
|
||||
v___x_1811_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_parseVersoDocString___at___00Lean_versoDocString_spec__0_spec__1_spec__2_spec__5_spec__6(v_options_1802_, v___x_1810_);
|
||||
v___y_1791_ = v_fileName_1800_;
|
||||
v___y_1792_ = v___f_1807_;
|
||||
v___y_1793_ = v_suppressElabErrors_1804_;
|
||||
v___y_1794_ = v_fileMap_1801_;
|
||||
v___y_1795_ = v_ref_1803_;
|
||||
v___y_1791_ = v___f_1807_;
|
||||
v___y_1792_ = v_fileMap_1801_;
|
||||
v___y_1793_ = v_ref_1803_;
|
||||
v___y_1794_ = v_fileName_1800_;
|
||||
v___y_1795_ = v_suppressElabErrors_1804_;
|
||||
v___y_1796_ = v___y_1799_;
|
||||
v___y_1797_ = v___x_1811_;
|
||||
goto v___jp_1790_;
|
||||
|
|
@ -8304,9 +8304,9 @@ goto v___jp_3103_;
|
|||
v___jp_3092_:
|
||||
{
|
||||
lean_object* v___x_3096_; lean_object* v___x_3098_;
|
||||
v___x_3096_ = lean_nat_add(v___y_3094_, v___y_3095_);
|
||||
v___x_3096_ = lean_nat_add(v___y_3093_, v___y_3095_);
|
||||
lean_dec(v___y_3095_);
|
||||
lean_dec(v___y_3094_);
|
||||
lean_dec(v___y_3093_);
|
||||
if (v_isShared_3089_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3088_, 4, v_r_3066_);
|
||||
|
|
@ -8335,7 +8335,7 @@ lean_object* v___x_3100_;
|
|||
if (v_isShared_3077_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3076_, 4, v___x_3098_);
|
||||
lean_ctor_set(v___x_3076_, 3, v___y_3093_);
|
||||
lean_ctor_set(v___x_3076_, 3, v___y_3094_);
|
||||
lean_ctor_set(v___x_3076_, 2, v_v_3080_);
|
||||
lean_ctor_set(v___x_3076_, 1, v_k_3079_);
|
||||
lean_ctor_set(v___x_3076_, 0, v___x_3091_);
|
||||
|
|
@ -8349,7 +8349,7 @@ v_reuseFailAlloc_3101_ = lean_alloc_ctor(0, 5, 0);
|
|||
lean_ctor_set(v_reuseFailAlloc_3101_, 0, v___x_3091_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3101_, 1, v_k_3079_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3101_, 2, v_v_3080_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3101_, 3, v___y_3093_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3101_, 3, v___y_3094_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3101_, 4, v___x_3098_);
|
||||
v___x_3100_ = v_reuseFailAlloc_3101_;
|
||||
goto v_reusejp_3099_;
|
||||
|
|
@ -8395,8 +8395,8 @@ if (lean_obj_tag(v_r_3082_) == 0)
|
|||
lean_object* v_size_3109_;
|
||||
v_size_3109_ = lean_ctor_get(v_r_3082_, 0);
|
||||
lean_inc(v_size_3109_);
|
||||
v___y_3093_ = v___x_3107_;
|
||||
v___y_3094_ = v___x_3108_;
|
||||
v___y_3093_ = v___x_3108_;
|
||||
v___y_3094_ = v___x_3107_;
|
||||
v___y_3095_ = v_size_3109_;
|
||||
goto v___jp_3092_;
|
||||
}
|
||||
|
|
@ -8404,8 +8404,8 @@ else
|
|||
{
|
||||
lean_object* v___x_3110_;
|
||||
v___x_3110_ = lean_unsigned_to_nat(0u);
|
||||
v___y_3093_ = v___x_3107_;
|
||||
v___y_3094_ = v___x_3108_;
|
||||
v___y_3093_ = v___x_3108_;
|
||||
v___y_3094_ = v___x_3107_;
|
||||
v___y_3095_ = v___x_3110_;
|
||||
goto v___jp_3092_;
|
||||
}
|
||||
|
|
@ -9191,9 +9191,9 @@ goto v___jp_3289_;
|
|||
v___jp_3278_:
|
||||
{
|
||||
lean_object* v___x_3282_; lean_object* v___x_3284_;
|
||||
v___x_3282_ = lean_nat_add(v___y_3279_, v___y_3281_);
|
||||
v___x_3282_ = lean_nat_add(v___y_3280_, v___y_3281_);
|
||||
lean_dec(v___y_3281_);
|
||||
lean_dec(v___y_3279_);
|
||||
lean_dec(v___y_3280_);
|
||||
if (v_isShared_3275_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3274_, 4, v_r_3242_);
|
||||
|
|
@ -9222,7 +9222,7 @@ lean_object* v___x_3286_;
|
|||
if (v_isShared_3263_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_3262_, 4, v___x_3284_);
|
||||
lean_ctor_set(v___x_3262_, 3, v___y_3280_);
|
||||
lean_ctor_set(v___x_3262_, 3, v___y_3279_);
|
||||
lean_ctor_set(v___x_3262_, 2, v_v_3266_);
|
||||
lean_ctor_set(v___x_3262_, 1, v_k_3265_);
|
||||
lean_ctor_set(v___x_3262_, 0, v___x_3277_);
|
||||
|
|
@ -9236,7 +9236,7 @@ v_reuseFailAlloc_3287_ = lean_alloc_ctor(0, 5, 0);
|
|||
lean_ctor_set(v_reuseFailAlloc_3287_, 0, v___x_3277_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3287_, 1, v_k_3265_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3287_, 2, v_v_3266_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3287_, 3, v___y_3280_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3287_, 3, v___y_3279_);
|
||||
lean_ctor_set(v_reuseFailAlloc_3287_, 4, v___x_3284_);
|
||||
v___x_3286_ = v_reuseFailAlloc_3287_;
|
||||
goto v_reusejp_3285_;
|
||||
|
|
@ -9284,8 +9284,8 @@ if (lean_obj_tag(v_r_3268_) == 0)
|
|||
lean_object* v_size_3295_;
|
||||
v_size_3295_ = lean_ctor_get(v_r_3268_, 0);
|
||||
lean_inc(v_size_3295_);
|
||||
v___y_3279_ = v___x_3294_;
|
||||
v___y_3280_ = v___x_3293_;
|
||||
v___y_3279_ = v___x_3293_;
|
||||
v___y_3280_ = v___x_3294_;
|
||||
v___y_3281_ = v_size_3295_;
|
||||
goto v___jp_3278_;
|
||||
}
|
||||
|
|
@ -9293,8 +9293,8 @@ else
|
|||
{
|
||||
lean_object* v___x_3296_;
|
||||
v___x_3296_ = lean_unsigned_to_nat(0u);
|
||||
v___y_3279_ = v___x_3294_;
|
||||
v___y_3280_ = v___x_3293_;
|
||||
v___y_3279_ = v___x_3293_;
|
||||
v___y_3280_ = v___x_3294_;
|
||||
v___y_3281_ = v___x_3296_;
|
||||
goto v___jp_3278_;
|
||||
}
|
||||
|
|
|
|||
3797
stage0/stdlib/Lean/DocString/Extension.c
generated
3797
stage0/stdlib/Lean/DocString/Extension.c
generated
File diff suppressed because it is too large
Load diff
26
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
26
stage0/stdlib/Lean/Elab/BuiltinCommand.c
generated
|
|
@ -3680,8 +3680,8 @@ if (v___y_352_ == 0)
|
|||
{
|
||||
lean_dec_ref(v___y_351_);
|
||||
lean_dec_ref(v___y_350_);
|
||||
lean_dec_ref(v___y_347_);
|
||||
v___y_327_ = v___y_348_;
|
||||
lean_dec_ref(v___y_348_);
|
||||
v___y_327_ = v___y_347_;
|
||||
v___y_328_ = v___y_349_;
|
||||
goto v___jp_326_;
|
||||
}
|
||||
|
|
@ -3693,9 +3693,9 @@ lean_inc(v_pos_353_);
|
|||
lean_dec_ref(v___y_349_);
|
||||
v___x_354_ = ((lean_object*)(l_Lean_reportVersoParseFailure___at___00Lean_Elab_Command_elabModuleDoc_spec__2___closed__4));
|
||||
v___x_355_ = l_Lean_Parser_ParserState_setPos(v___y_351_, v_pos_353_);
|
||||
lean_inc_ref(v___y_348_);
|
||||
v___x_356_ = l_Lean_Parser_ParserFn_run(v___x_354_, v___y_348_, v___y_350_, v___y_347_, v___x_355_);
|
||||
v___y_327_ = v___y_348_;
|
||||
lean_inc_ref(v___y_347_);
|
||||
v___x_356_ = l_Lean_Parser_ParserFn_run(v___x_354_, v___y_347_, v___y_350_, v___y_348_, v___x_355_);
|
||||
v___y_327_ = v___y_347_;
|
||||
v___y_328_ = v___x_356_;
|
||||
goto v___jp_326_;
|
||||
}
|
||||
|
|
@ -3743,8 +3743,8 @@ lean_dec_ref(v___x_369_);
|
|||
v___x_371_ = lean_nat_dec_eq(v___x_370_, v___x_241_);
|
||||
if (v___x_371_ == 0)
|
||||
{
|
||||
v___y_347_ = v___x_367_;
|
||||
v___y_348_ = v_ictx_361_;
|
||||
v___y_347_ = v_ictx_361_;
|
||||
v___y_348_ = v___x_367_;
|
||||
v___y_349_ = v_s_368_;
|
||||
v___y_350_ = v_pmctx_362_;
|
||||
v___y_351_ = v___x_364_;
|
||||
|
|
@ -3760,8 +3760,8 @@ v___x_373_ = l_Lean_Parser_InputContext_atEnd(v_ictx_361_, v_pos_372_);
|
|||
lean_dec(v_pos_372_);
|
||||
if (v___x_373_ == 0)
|
||||
{
|
||||
v___y_347_ = v___x_367_;
|
||||
v___y_348_ = v_ictx_361_;
|
||||
v___y_347_ = v_ictx_361_;
|
||||
v___y_348_ = v___x_367_;
|
||||
v___y_349_ = v_s_368_;
|
||||
v___y_350_ = v_pmctx_362_;
|
||||
v___y_351_ = v___x_364_;
|
||||
|
|
@ -4876,8 +4876,8 @@ goto v___jp_628_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_pre_700_);
|
||||
lean_dec(v_pre_701_);
|
||||
lean_dec_ref(v_pre_700_);
|
||||
lean_dec_ref(v_pre_699_);
|
||||
lean_dec_ref(v_kind_698_);
|
||||
lean_dec_ref(v___x_652_);
|
||||
|
|
@ -4889,8 +4889,8 @@ goto v___jp_628_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_pre_699_);
|
||||
lean_dec(v_pre_700_);
|
||||
lean_dec_ref(v_pre_699_);
|
||||
lean_dec_ref(v_kind_698_);
|
||||
lean_dec_ref(v___x_652_);
|
||||
lean_dec(v_val_641_);
|
||||
|
|
@ -4901,8 +4901,8 @@ goto v___jp_628_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(v_kind_698_);
|
||||
lean_dec(v_pre_699_);
|
||||
lean_dec_ref(v_kind_698_);
|
||||
lean_dec_ref(v___x_652_);
|
||||
lean_dec(v_val_641_);
|
||||
v___y_629_ = v_a_625_;
|
||||
|
|
@ -4912,8 +4912,8 @@ goto v___jp_628_;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec(v_kind_698_);
|
||||
lean_dec_ref(v___x_652_);
|
||||
lean_dec(v_kind_698_);
|
||||
lean_dec(v_val_641_);
|
||||
v___y_629_ = v_a_625_;
|
||||
v___y_630_ = v_a_626_;
|
||||
|
|
|
|||
40672
stage0/stdlib/Lean/Server/FileWorker.c
generated
40672
stage0/stdlib/Lean/Server/FileWorker.c
generated
File diff suppressed because it is too large
Load diff
2179
stage0/stdlib/Lean/Server/FileWorker/Utils.c
generated
2179
stage0/stdlib/Lean/Server/FileWorker/Utils.c
generated
File diff suppressed because it is too large
Load diff
181
stage0/stdlib/Lean/Server/ProtocolOverview.c
generated
181
stage0/stdlib/Lean/Server/ProtocolOverview.c
generated
File diff suppressed because one or more lines are too long
25
stage0/stdlib/Lean/Server/Test/Runner.c
generated
25
stage0/stdlib/Lean/Server/Test/Runner.c
generated
|
|
@ -67157,7 +67157,7 @@ return v___x_17921_;
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_Test_Runner_main(lean_object* v_args_17947_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v_args_17949_; lean_object* v___x_17950_; lean_object* v___y_17952_; uint8_t v___y_17953_; lean_object* v___y_17954_; lean_object* v___y_17955_; lean_object* v___y_17956_; lean_object* v_fst_17981_; lean_object* v_snd_17982_; lean_object* v___x_17994_; uint8_t v___x_17995_;
|
||||
lean_object* v_args_17949_; lean_object* v___x_17950_; lean_object* v___y_17952_; lean_object* v___y_17953_; uint8_t v___y_17954_; lean_object* v___y_17955_; lean_object* v___y_17956_; lean_object* v_fst_17981_; lean_object* v_snd_17982_; lean_object* v___x_17994_; uint8_t v___x_17995_;
|
||||
v_args_17949_ = lean_array_mk(v_args_17947_);
|
||||
v___x_17950_ = lean_unsigned_to_nat(0u);
|
||||
v___x_17994_ = lean_array_get_size(v_args_17949_);
|
||||
|
|
@ -67192,11 +67192,11 @@ v___jp_17951_:
|
|||
lean_object* v___x_17957_; lean_object* v_uri_17958_; lean_object* v___x_17959_; lean_object* v___x_17960_; lean_object* v___x_17961_; lean_object* v___x_17962_; lean_object* v_initializationOptions_x3f_17963_; lean_object* v___x_17964_; lean_object* v___x_17965_; lean_object* v___x_17966_; lean_object* v___x_17967_; lean_object* v___x_17968_; lean_object* v___x_17969_; lean_object* v___x_17970_; lean_object* v_capabilities_17971_; lean_object* v___x_17972_; lean_object* v___x_17973_; uint8_t v___x_17974_; lean_object* v___x_17975_; lean_object* v___x_17976_; lean_object* v___x_17977_; lean_object* v___f_17978_; lean_object* v___x_17979_;
|
||||
v___x_17957_ = ((lean_object*)(l_Lean_Server_Test_Runner_main___closed__0));
|
||||
v_uri_17958_ = lean_string_append(v___x_17957_, v___y_17956_);
|
||||
v___x_17959_ = lean_box(v___y_17953_);
|
||||
v___x_17959_ = lean_box(v___y_17954_);
|
||||
v___x_17960_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_17960_, 0, v___x_17959_);
|
||||
v___x_17961_ = lean_box(0);
|
||||
lean_inc_ref_n(v___x_17960_, 2);
|
||||
lean_inc_ref_n(v___x_17960_, 3);
|
||||
v___x_17962_ = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(v___x_17962_, 0, v___x_17960_);
|
||||
lean_ctor_set(v___x_17962_, 1, v___x_17961_);
|
||||
|
|
@ -67213,9 +67213,10 @@ lean_ctor_set(v___x_17966_, 2, v___x_17961_);
|
|||
v___x_17967_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_17967_, 0, v___x_17966_);
|
||||
v___x_17968_ = ((lean_object*)(l_Lean_Server_Test_Runner_main___closed__1));
|
||||
v___x_17969_ = lean_alloc_ctor(0, 2, 0);
|
||||
v___x_17969_ = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(v___x_17969_, 0, v___x_17960_);
|
||||
lean_ctor_set(v___x_17969_, 1, v___x_17968_);
|
||||
lean_ctor_set(v___x_17969_, 1, v___x_17960_);
|
||||
lean_ctor_set(v___x_17969_, 2, v___x_17968_);
|
||||
v___x_17970_ = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(v___x_17970_, 0, v___x_17969_);
|
||||
v_capabilities_17971_ = lean_alloc_ctor(0, 4, 0);
|
||||
|
|
@ -67238,7 +67239,7 @@ v___x_17976_ = lean_alloc_ctor(0, 3, 0);
|
|||
lean_ctor_set(v___x_17976_, 0, v___x_17972_);
|
||||
lean_ctor_set(v___x_17976_, 1, v___x_17973_);
|
||||
lean_ctor_set(v___x_17976_, 2, v___x_17975_);
|
||||
v___x_17977_ = lean_box(v___y_17953_);
|
||||
v___x_17977_ = lean_box(v___y_17954_);
|
||||
v___f_17978_ = lean_alloc_closure((void*)(l_Lean_Server_Test_Runner_main___lam__1___boxed), 9, 7);
|
||||
lean_closure_set(v___f_17978_, 0, v___x_17976_);
|
||||
lean_closure_set(v___f_17978_, 1, v___x_17972_);
|
||||
|
|
@ -67247,9 +67248,9 @@ lean_closure_set(v___f_17978_, 3, v___x_17950_);
|
|||
lean_closure_set(v___f_17978_, 4, v_uri_17958_);
|
||||
lean_closure_set(v___f_17978_, 5, v___x_17977_);
|
||||
lean_closure_set(v___f_17978_, 6, v___y_17952_);
|
||||
lean_inc_ref(v___y_17954_);
|
||||
lean_inc_ref(v___y_17953_);
|
||||
lean_inc_ref(v___y_17955_);
|
||||
v___x_17979_ = l_Lean_Lsp_Ipc_runWith___redArg(v___y_17955_, v___y_17954_, v___f_17978_);
|
||||
v___x_17979_ = l_Lean_Lsp_Ipc_runWith___redArg(v___y_17955_, v___y_17953_, v___f_17978_);
|
||||
return v___x_17979_;
|
||||
}
|
||||
v___jp_17980_:
|
||||
|
|
@ -67266,8 +67267,8 @@ v___x_17987_ = ((lean_object*)(l_Std_Internal_Parsec_manyCharsCore___at___00Lean
|
|||
v___x_17988_ = lean_array_get(v___x_17987_, v_args_17949_, v___x_17984_);
|
||||
lean_dec_ref(v_args_17949_);
|
||||
v___y_17952_ = v___x_17984_;
|
||||
v___y_17953_ = v___x_17986_;
|
||||
v___y_17954_ = v_snd_17982_;
|
||||
v___y_17953_ = v_snd_17982_;
|
||||
v___y_17954_ = v___x_17986_;
|
||||
v___y_17955_ = v_fst_17981_;
|
||||
v___y_17956_ = v___x_17988_;
|
||||
goto v___jp_17951_;
|
||||
|
|
@ -67279,8 +67280,8 @@ v___x_17989_ = ((lean_object*)(l_Std_Internal_Parsec_manyCharsCore___at___00Lean
|
|||
v___x_17990_ = lean_array_get(v___x_17989_, v_args_17949_, v___x_17950_);
|
||||
lean_dec_ref(v_args_17949_);
|
||||
v___y_17952_ = v___x_17984_;
|
||||
v___y_17953_ = v___x_17986_;
|
||||
v___y_17954_ = v_snd_17982_;
|
||||
v___y_17953_ = v_snd_17982_;
|
||||
v___y_17954_ = v___x_17986_;
|
||||
v___y_17955_ = v_fst_17981_;
|
||||
v___y_17956_ = v___x_17990_;
|
||||
goto v___jp_17951_;
|
||||
|
|
|
|||
1321
stage0/stdlib/Lean/Server/Utils.c
generated
1321
stage0/stdlib/Lean/Server/Utils.c
generated
File diff suppressed because it is too large
Load diff
89
stage0/stdlib/Lean/Server/Watchdog.c
generated
89
stage0/stdlib/Lean/Server/Watchdog.c
generated
|
|
@ -189,7 +189,7 @@ extern lean_object* l_Lean_Lsp_SemanticTokenModifier_names;
|
|||
extern lean_object* l_Lean_Lsp_SemanticTokenType_names;
|
||||
lean_object* l_Lean_Lsp_instFromJsonDidSaveTextDocumentParams_fromJson(lean_object*);
|
||||
extern lean_object* l_Lean_Server_Logging_instInhabitedMessageMethod_default;
|
||||
lean_object* l_Lean_Server_mkPublishDiagnosticsNotification(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Server_mkPublishDiagnosticsNotification(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Lsp_instToJsonPublishDiagnosticsParams_toJson(lean_object*);
|
||||
lean_object* l_Lean_Lsp_instFromJsonWorkspaceFolder_fromJson(lean_object*);
|
||||
uint8_t l_Lean_JsonRpc_instBEqRequestID_beq(lean_object*, lean_object*);
|
||||
|
|
@ -33386,49 +33386,48 @@ v___x_8101_ = lean_string_append(v___x_8099_, v___x_8100_);
|
|||
v___x_8102_ = l_Lean_Server_Watchdog_errorPendingRequests(v_uri_8067_, v___x_8097_, v___x_8101_, v_a_8068_);
|
||||
if (lean_obj_tag(v___x_8102_) == 0)
|
||||
{
|
||||
lean_object* v_doc_8103_; lean_object* v___x_8104_; lean_object* v___x_8105_; lean_object* v_method_8106_; lean_object* v_param_8107_; lean_object* v___x_8109_; uint8_t v_isShared_8110_; uint8_t v_isSharedCheck_8123_;
|
||||
lean_object* v_doc_8103_; lean_object* v___x_8104_; lean_object* v___x_8105_; lean_object* v___x_8106_; lean_object* v_method_8107_; lean_object* v_param_8108_; lean_object* v___x_8110_; uint8_t v_isShared_8111_; uint8_t v_isSharedCheck_8123_;
|
||||
lean_dec_ref(v___x_8102_);
|
||||
v_doc_8103_ = lean_ctor_get(v_val_8075_, 0);
|
||||
v___x_8104_ = ((lean_object*)(l_Lean_Server_Watchdog_terminateFileWorker___closed__2));
|
||||
v___x_8105_ = lean_box(0);
|
||||
lean_inc_ref(v_doc_8103_);
|
||||
v___x_8105_ = l_Lean_Server_mkPublishDiagnosticsNotification(v_doc_8103_, v___x_8104_);
|
||||
v_method_8106_ = lean_ctor_get(v___x_8105_, 0);
|
||||
v_param_8107_ = lean_ctor_get(v___x_8105_, 1);
|
||||
v_isSharedCheck_8123_ = !lean_is_exclusive(v___x_8105_);
|
||||
v___x_8106_ = l_Lean_Server_mkPublishDiagnosticsNotification(v_doc_8103_, v___x_8104_, v___x_8105_);
|
||||
v_method_8107_ = lean_ctor_get(v___x_8106_, 0);
|
||||
v_param_8108_ = lean_ctor_get(v___x_8106_, 1);
|
||||
v_isSharedCheck_8123_ = !lean_is_exclusive(v___x_8106_);
|
||||
if (v_isSharedCheck_8123_ == 0)
|
||||
{
|
||||
v___x_8109_ = v___x_8105_;
|
||||
v_isShared_8110_ = v_isSharedCheck_8123_;
|
||||
goto v_resetjp_8108_;
|
||||
v___x_8110_ = v___x_8106_;
|
||||
v_isShared_8111_ = v_isSharedCheck_8123_;
|
||||
goto v_resetjp_8109_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_inc(v_param_8107_);
|
||||
lean_inc(v_method_8106_);
|
||||
lean_dec(v___x_8105_);
|
||||
v___x_8109_ = lean_box(0);
|
||||
v_isShared_8110_ = v_isSharedCheck_8123_;
|
||||
goto v_resetjp_8108_;
|
||||
lean_inc(v_param_8108_);
|
||||
lean_inc(v_method_8107_);
|
||||
lean_dec(v___x_8106_);
|
||||
v___x_8110_ = lean_box(0);
|
||||
v_isShared_8111_ = v_isSharedCheck_8123_;
|
||||
goto v_resetjp_8109_;
|
||||
}
|
||||
v_resetjp_8108_:
|
||||
v_resetjp_8109_:
|
||||
{
|
||||
lean_object* v___y_8112_; lean_object* v___x_8117_;
|
||||
v___x_8117_ = l_Lean_Json_toStructured_x3f___at___00Lean_Server_Watchdog_terminateFileWorker_spec__0(v_param_8107_);
|
||||
if (lean_obj_tag(v___x_8117_) == 0)
|
||||
lean_object* v___y_8113_; lean_object* v___x_8118_;
|
||||
v___x_8118_ = l_Lean_Json_toStructured_x3f___at___00Lean_Server_Watchdog_terminateFileWorker_spec__0(v_param_8108_);
|
||||
if (lean_obj_tag(v___x_8118_) == 0)
|
||||
{
|
||||
lean_object* v___x_8118_;
|
||||
lean_dec_ref(v___x_8117_);
|
||||
lean_dec_ref(v___x_8118_);
|
||||
lean_del_object(v___x_8077_);
|
||||
v___x_8118_ = lean_box(0);
|
||||
v___y_8112_ = v___x_8118_;
|
||||
goto v___jp_8111_;
|
||||
v___y_8113_ = v___x_8105_;
|
||||
goto v___jp_8112_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_a_8119_; lean_object* v___x_8121_;
|
||||
v_a_8119_ = lean_ctor_get(v___x_8117_, 0);
|
||||
v_a_8119_ = lean_ctor_get(v___x_8118_, 0);
|
||||
lean_inc(v_a_8119_);
|
||||
lean_dec_ref(v___x_8117_);
|
||||
lean_dec_ref(v___x_8118_);
|
||||
if (v_isShared_8078_ == 0)
|
||||
{
|
||||
lean_ctor_set(v___x_8077_, 0, v_a_8119_);
|
||||
|
|
@ -33445,34 +33444,34 @@ goto v_reusejp_8120_;
|
|||
}
|
||||
v_reusejp_8120_:
|
||||
{
|
||||
v___y_8112_ = v___x_8121_;
|
||||
goto v___jp_8111_;
|
||||
v___y_8113_ = v___x_8121_;
|
||||
goto v___jp_8112_;
|
||||
}
|
||||
}
|
||||
v___jp_8111_:
|
||||
v___jp_8112_:
|
||||
{
|
||||
lean_object* v___x_8114_;
|
||||
if (v_isShared_8110_ == 0)
|
||||
lean_object* v___x_8115_;
|
||||
if (v_isShared_8111_ == 0)
|
||||
{
|
||||
lean_ctor_set_tag(v___x_8109_, 1);
|
||||
lean_ctor_set(v___x_8109_, 1, v___y_8112_);
|
||||
v___x_8114_ = v___x_8109_;
|
||||
goto v_reusejp_8113_;
|
||||
lean_ctor_set_tag(v___x_8110_, 1);
|
||||
lean_ctor_set(v___x_8110_, 1, v___y_8113_);
|
||||
v___x_8115_ = v___x_8110_;
|
||||
goto v_reusejp_8114_;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* v_reuseFailAlloc_8116_;
|
||||
v_reuseFailAlloc_8116_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8116_, 0, v_method_8106_);
|
||||
lean_ctor_set(v_reuseFailAlloc_8116_, 1, v___y_8112_);
|
||||
v___x_8114_ = v_reuseFailAlloc_8116_;
|
||||
goto v_reusejp_8113_;
|
||||
lean_object* v_reuseFailAlloc_8117_;
|
||||
v_reuseFailAlloc_8117_ = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(v_reuseFailAlloc_8117_, 0, v_method_8107_);
|
||||
lean_ctor_set(v_reuseFailAlloc_8117_, 1, v___y_8113_);
|
||||
v___x_8115_ = v_reuseFailAlloc_8117_;
|
||||
goto v_reusejp_8114_;
|
||||
}
|
||||
v_reusejp_8113_:
|
||||
v_reusejp_8114_:
|
||||
{
|
||||
lean_object* v___x_8115_;
|
||||
v___x_8115_ = l_Lean_Server_Watchdog_writeMessage(v___x_8114_, v_a_8068_);
|
||||
v___y_8093_ = v___x_8115_;
|
||||
lean_object* v___x_8116_;
|
||||
v___x_8116_ = l_Lean_Server_Watchdog_writeMessage(v___x_8115_, v_a_8068_);
|
||||
v___y_8093_ = v___x_8116_;
|
||||
goto v___jp_8092_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
100
stage0/stdlib/Std/Time/Date/Unit/Day.c
generated
100
stage0/stdlib/Std/Time/Date/Unit/Day.c
generated
|
|
@ -94,6 +94,8 @@ LEAN_EXPORT lean_object* l_Std_Time_Day_instReprOffset___aux__1___boxed(lean_obj
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Day_instReprOffset = (const lean_object*)&l_Std_Time_Day_instReprOrdinal___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Day_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Day_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Day_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Day_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -101,13 +103,11 @@ static lean_object* l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0;
|
|||
static lean_once_cell_t l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Day_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Day_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Day_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Day_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Day_instInhabitedOffset___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Day_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Day_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -760,91 +760,91 @@ v_r_151_ = lean_box(v_res_150_);
|
|||
return v_r_151_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Day_instDecidableEqOffset(lean_object* v_a_152_, lean_object* v_b_153_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Day_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_152_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_154_;
|
||||
v___x_154_ = lean_int_dec_eq(v_a_152_, v_b_153_);
|
||||
return v___x_154_;
|
||||
lean_object* v___x_153_;
|
||||
v___x_153_ = lean_nat_to_int(v_a_152_);
|
||||
return v___x_153_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instDecidableEqOffset___boxed(lean_object* v_a_155_, lean_object* v_b_156_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Day_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_154_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_157_; lean_object* v_r_158_;
|
||||
v_res_157_ = l_Std_Time_Day_instDecidableEqOffset(v_a_155_, v_b_156_);
|
||||
lean_dec(v_b_156_);
|
||||
lean_dec(v_a_155_);
|
||||
v_r_158_ = lean_box(v_res_157_);
|
||||
return v_r_158_;
|
||||
lean_object* v___x_155_; lean_object* v___x_156_;
|
||||
v___x_155_ = lean_nat_to_int(v_a_154_);
|
||||
v___x_156_ = l_Rat_ofInt(v___x_155_);
|
||||
return v___x_156_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Day_instDecidableEqOffset(lean_object* v_a_157_, lean_object* v_b_158_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_159_;
|
||||
v___x_159_ = lean_int_dec_eq(v_a_157_, v_b_158_);
|
||||
return v___x_159_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Day_instDecidableEqOffset___boxed(lean_object* v_a_160_, lean_object* v_b_161_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_162_; lean_object* v_r_163_;
|
||||
v_res_162_ = l_Std_Time_Day_instDecidableEqOffset(v_a_160_, v_b_161_);
|
||||
lean_dec(v_b_161_);
|
||||
lean_dec(v_a_160_);
|
||||
v_r_163_ = lean_box(v_res_162_);
|
||||
return v_r_163_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_159_; lean_object* v___x_160_;
|
||||
v___x_159_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_160_ = l_Rat_instNatCast___lam__0(v___x_159_);
|
||||
return v___x_160_;
|
||||
lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_164_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_165_ = l_Rat_instNatCast___lam__0(v___x_164_);
|
||||
return v___x_165_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_161_; lean_object* v___x_162_;
|
||||
v___x_161_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_162_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_161_);
|
||||
return v___x_162_;
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Day_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_167_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_166_);
|
||||
return v___x_167_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Day_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_163_;
|
||||
v___x_163_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_163_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Day_instInhabitedOffset_spec__0(lean_object* v_a_164_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_165_; lean_object* v___x_166_;
|
||||
v___x_165_ = lean_nat_to_int(v_a_164_);
|
||||
v___x_166_ = l_Rat_ofInt(v___x_165_);
|
||||
return v___x_166_;
|
||||
lean_object* v___x_168_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Day_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_168_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Day_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_167_; lean_object* v___x_168_;
|
||||
v___x_167_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_168_ = l_Nat_cast___at___00Std_Time_Day_instInhabitedOffset_spec__0(v___x_167_);
|
||||
return v___x_168_;
|
||||
lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_169_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_170_ = l_Nat_cast___at___00Std_Time_Day_instDecidableEqOffset___aux__1_spec__0(v___x_169_);
|
||||
return v___x_170_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Day_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_169_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___closed__0, &l_Std_Time_Day_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Day_instInhabitedOffset___closed__0);
|
||||
v___x_170_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_169_);
|
||||
return v___x_170_;
|
||||
lean_object* v___x_171_; lean_object* v___x_172_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___closed__0, &l_Std_Time_Day_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Day_instInhabitedOffset___closed__0);
|
||||
v___x_172_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_171_);
|
||||
return v___x_172_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Day_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_171_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___closed__1, &l_Std_Time_Day_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Day_instInhabitedOffset___closed__1);
|
||||
return v___x_171_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Day_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_172_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_173_;
|
||||
v___x_173_ = lean_nat_to_int(v_a_172_);
|
||||
v___x_173_ = lean_obj_once(&l_Std_Time_Day_instInhabitedOffset___closed__1, &l_Std_Time_Day_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Day_instInhabitedOffset___closed__1);
|
||||
return v___x_173_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
138
stage0/stdlib/Std/Time/Date/Unit/Week.c
generated
138
stage0/stdlib/Std/Time/Date/Unit/Week.c
generated
|
|
@ -29,6 +29,7 @@ lean_object* l_Lean_Name_mkStr1(lean_object*);
|
|||
lean_object* lean_array_push(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_mkAtom(lean_object*);
|
||||
lean_object* l_Rat_ofInt(lean_object*);
|
||||
lean_object* l_Int_repr___boxed(lean_object*);
|
||||
uint8_t lean_int_dec_le(lean_object*, lean_object*);
|
||||
lean_object* lean_int_mul(lean_object*, lean_object*);
|
||||
|
|
@ -36,7 +37,6 @@ lean_object* l_Rat_instNatCast___lam__0(lean_object*);
|
|||
lean_object* l_Rat_mul(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Time_Internal_instInhabitedUnitVal_default(lean_object*);
|
||||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Rat_ofInt(lean_object*);
|
||||
lean_object* l_Int_neg___boxed(lean_object*);
|
||||
lean_object* lean_int_neg(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Week_instReprOrdinal___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -95,6 +95,8 @@ LEAN_EXPORT lean_object* l_Std_Time_Week_instReprOffset___aux__1___boxed(lean_ob
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Week_instReprOffset = (const lean_object*)&l_Std_Time_Week_instReprOrdinal___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Week_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Week_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Week_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Week_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -106,7 +108,6 @@ static lean_object* l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2;
|
|||
static lean_once_cell_t l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Week_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Week_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Week_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Week_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -116,7 +117,6 @@ static lean_object* l_Std_Time_Week_instInhabitedOffset___closed__2;
|
|||
static lean_once_cell_t l_Std_Time_Week_instInhabitedOffset___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Week_instInhabitedOffset___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Week_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Week_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -750,129 +750,129 @@ v_r_151_ = lean_box(v_res_150_);
|
|||
return v_r_151_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Week_instDecidableEqOffset(lean_object* v_a_152_, lean_object* v_b_153_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Week_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_152_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_154_;
|
||||
v___x_154_ = lean_int_dec_eq(v_a_152_, v_b_153_);
|
||||
return v___x_154_;
|
||||
lean_object* v___x_153_;
|
||||
v___x_153_ = lean_nat_to_int(v_a_152_);
|
||||
return v___x_153_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instDecidableEqOffset___boxed(lean_object* v_a_155_, lean_object* v_b_156_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Week_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_154_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_157_; lean_object* v_r_158_;
|
||||
v_res_157_ = l_Std_Time_Week_instDecidableEqOffset(v_a_155_, v_b_156_);
|
||||
lean_dec(v_b_156_);
|
||||
lean_dec(v_a_155_);
|
||||
v_r_158_ = lean_box(v_res_157_);
|
||||
return v_r_158_;
|
||||
lean_object* v___x_155_; lean_object* v___x_156_;
|
||||
v___x_155_ = lean_nat_to_int(v_a_154_);
|
||||
v___x_156_ = l_Rat_ofInt(v___x_155_);
|
||||
return v___x_156_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Week_instDecidableEqOffset(lean_object* v_a_157_, lean_object* v_b_158_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_159_;
|
||||
v___x_159_ = lean_int_dec_eq(v_a_157_, v_b_158_);
|
||||
return v___x_159_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Week_instDecidableEqOffset___boxed(lean_object* v_a_160_, lean_object* v_b_161_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_162_; lean_object* v_r_163_;
|
||||
v_res_162_ = l_Std_Time_Week_instDecidableEqOffset(v_a_160_, v_b_161_);
|
||||
lean_dec(v_b_161_);
|
||||
lean_dec(v_a_160_);
|
||||
v_r_163_ = lean_box(v_res_162_);
|
||||
return v_r_163_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_159_; lean_object* v___x_160_;
|
||||
v___x_159_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_160_ = l_Rat_instNatCast___lam__0(v___x_159_);
|
||||
return v___x_160_;
|
||||
lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_164_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_165_ = l_Rat_instNatCast___lam__0(v___x_164_);
|
||||
return v___x_165_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_161_; lean_object* v___x_162_;
|
||||
v___x_161_ = lean_unsigned_to_nat(7u);
|
||||
v___x_162_ = l_Rat_instNatCast___lam__0(v___x_161_);
|
||||
return v___x_162_;
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_unsigned_to_nat(7u);
|
||||
v___x_167_ = l_Rat_instNatCast___lam__0(v___x_166_);
|
||||
return v___x_167_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_163_; lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_163_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1);
|
||||
v___x_164_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_165_ = l_Rat_mul(v___x_164_, v___x_163_);
|
||||
return v___x_165_;
|
||||
lean_object* v___x_168_; lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__1);
|
||||
v___x_169_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_170_ = l_Rat_mul(v___x_169_, v___x_168_);
|
||||
return v___x_170_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2);
|
||||
v___x_167_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_166_);
|
||||
return v___x_167_;
|
||||
lean_object* v___x_171_; lean_object* v___x_172_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__2);
|
||||
v___x_172_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_171_);
|
||||
return v___x_172_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_168_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3);
|
||||
return v___x_168_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Week_instInhabitedOffset_spec__0(lean_object* v_a_169_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_170_; lean_object* v___x_171_;
|
||||
v___x_170_ = lean_nat_to_int(v_a_169_);
|
||||
v___x_171_ = l_Rat_ofInt(v___x_170_);
|
||||
return v___x_171_;
|
||||
lean_object* v___x_173_;
|
||||
v___x_173_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3, &l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3_once, _init_l_Std_Time_Week_instInhabitedOffset___aux__1___closed__3);
|
||||
return v___x_173_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_172_; lean_object* v___x_173_;
|
||||
v___x_172_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_173_ = l_Nat_cast___at___00Std_Time_Week_instInhabitedOffset_spec__0(v___x_172_);
|
||||
return v___x_173_;
|
||||
lean_object* v___x_174_; lean_object* v___x_175_;
|
||||
v___x_174_ = lean_unsigned_to_nat(86400u);
|
||||
v___x_175_ = l_Nat_cast___at___00Std_Time_Week_instDecidableEqOffset___aux__1_spec__0(v___x_174_);
|
||||
return v___x_175_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_174_; lean_object* v___x_175_;
|
||||
v___x_174_ = lean_unsigned_to_nat(7u);
|
||||
v___x_175_ = l_Nat_cast___at___00Std_Time_Week_instInhabitedOffset_spec__0(v___x_174_);
|
||||
return v___x_175_;
|
||||
lean_object* v___x_176_; lean_object* v___x_177_;
|
||||
v___x_176_ = lean_unsigned_to_nat(7u);
|
||||
v___x_177_ = l_Nat_cast___at___00Std_Time_Week_instDecidableEqOffset___aux__1_spec__0(v___x_176_);
|
||||
return v___x_177_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___closed__2(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_176_; lean_object* v___x_177_; lean_object* v___x_178_;
|
||||
v___x_176_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__1, &l_Std_Time_Week_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__1);
|
||||
v___x_177_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__0, &l_Std_Time_Week_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__0);
|
||||
v___x_178_ = l_Rat_mul(v___x_177_, v___x_176_);
|
||||
return v___x_178_;
|
||||
lean_object* v___x_178_; lean_object* v___x_179_; lean_object* v___x_180_;
|
||||
v___x_178_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__1, &l_Std_Time_Week_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__1);
|
||||
v___x_179_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__0, &l_Std_Time_Week_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__0);
|
||||
v___x_180_ = l_Rat_mul(v___x_179_, v___x_178_);
|
||||
return v___x_180_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_179_; lean_object* v___x_180_;
|
||||
v___x_179_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__2, &l_Std_Time_Week_instInhabitedOffset___closed__2_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__2);
|
||||
v___x_180_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_179_);
|
||||
return v___x_180_;
|
||||
lean_object* v___x_181_; lean_object* v___x_182_;
|
||||
v___x_181_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__2, &l_Std_Time_Week_instInhabitedOffset___closed__2_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__2);
|
||||
v___x_182_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_181_);
|
||||
return v___x_182_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Week_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_181_;
|
||||
v___x_181_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__3, &l_Std_Time_Week_instInhabitedOffset___closed__3_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__3);
|
||||
return v___x_181_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Week_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_182_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_183_;
|
||||
v___x_183_ = lean_nat_to_int(v_a_182_);
|
||||
v___x_183_ = lean_obj_once(&l_Std_Time_Week_instInhabitedOffset___closed__3, &l_Std_Time_Week_instInhabitedOffset___closed__3_once, _init_l_Std_Time_Week_instInhabitedOffset___closed__3);
|
||||
return v___x_183_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
100
stage0/stdlib/Std/Time/Time/Unit/Hour.c
generated
100
stage0/stdlib/Std/Time/Time/Unit/Hour.c
generated
|
|
@ -86,6 +86,8 @@ LEAN_EXPORT lean_object* l_Std_Time_Hour_instReprOffset___aux__1___boxed(lean_ob
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Hour_instReprOffset = (const lean_object*)&l_Std_Time_Hour_instReprOrdinal___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Hour_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Hour_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Hour_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Hour_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -93,13 +95,11 @@ static lean_object* l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0;
|
|||
static lean_once_cell_t l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Hour_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Hour_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Hour_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Hour_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Hour_instInhabitedOffset___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Hour_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Hour_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -619,91 +619,91 @@ v_r_151_ = lean_box(v_res_150_);
|
|||
return v_r_151_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Hour_instDecidableEqOffset(lean_object* v_a_152_, lean_object* v_b_153_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Hour_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_152_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_154_;
|
||||
v___x_154_ = lean_int_dec_eq(v_a_152_, v_b_153_);
|
||||
return v___x_154_;
|
||||
lean_object* v___x_153_;
|
||||
v___x_153_ = lean_nat_to_int(v_a_152_);
|
||||
return v___x_153_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instDecidableEqOffset___boxed(lean_object* v_a_155_, lean_object* v_b_156_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Hour_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_154_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_157_; lean_object* v_r_158_;
|
||||
v_res_157_ = l_Std_Time_Hour_instDecidableEqOffset(v_a_155_, v_b_156_);
|
||||
lean_dec(v_b_156_);
|
||||
lean_dec(v_a_155_);
|
||||
v_r_158_ = lean_box(v_res_157_);
|
||||
return v_r_158_;
|
||||
lean_object* v___x_155_; lean_object* v___x_156_;
|
||||
v___x_155_ = lean_nat_to_int(v_a_154_);
|
||||
v___x_156_ = l_Rat_ofInt(v___x_155_);
|
||||
return v___x_156_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Hour_instDecidableEqOffset(lean_object* v_a_157_, lean_object* v_b_158_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_159_;
|
||||
v___x_159_ = lean_int_dec_eq(v_a_157_, v_b_158_);
|
||||
return v___x_159_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Hour_instDecidableEqOffset___boxed(lean_object* v_a_160_, lean_object* v_b_161_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_162_; lean_object* v_r_163_;
|
||||
v_res_162_ = l_Std_Time_Hour_instDecidableEqOffset(v_a_160_, v_b_161_);
|
||||
lean_dec(v_b_161_);
|
||||
lean_dec(v_a_160_);
|
||||
v_r_163_ = lean_box(v_res_162_);
|
||||
return v_r_163_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_159_; lean_object* v___x_160_;
|
||||
v___x_159_ = lean_unsigned_to_nat(3600u);
|
||||
v___x_160_ = l_Rat_instNatCast___lam__0(v___x_159_);
|
||||
return v___x_160_;
|
||||
lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_164_ = lean_unsigned_to_nat(3600u);
|
||||
v___x_165_ = l_Rat_instNatCast___lam__0(v___x_164_);
|
||||
return v___x_165_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_161_; lean_object* v___x_162_;
|
||||
v___x_161_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_162_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_161_);
|
||||
return v___x_162_;
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_167_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_166_);
|
||||
return v___x_167_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Hour_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_163_;
|
||||
v___x_163_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_163_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Hour_instInhabitedOffset_spec__0(lean_object* v_a_164_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_165_; lean_object* v___x_166_;
|
||||
v___x_165_ = lean_nat_to_int(v_a_164_);
|
||||
v___x_166_ = l_Rat_ofInt(v___x_165_);
|
||||
return v___x_166_;
|
||||
lean_object* v___x_168_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Hour_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_168_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Hour_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_167_; lean_object* v___x_168_;
|
||||
v___x_167_ = lean_unsigned_to_nat(3600u);
|
||||
v___x_168_ = l_Nat_cast___at___00Std_Time_Hour_instInhabitedOffset_spec__0(v___x_167_);
|
||||
return v___x_168_;
|
||||
lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_169_ = lean_unsigned_to_nat(3600u);
|
||||
v___x_170_ = l_Nat_cast___at___00Std_Time_Hour_instDecidableEqOffset___aux__1_spec__0(v___x_169_);
|
||||
return v___x_170_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Hour_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_169_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___closed__0, &l_Std_Time_Hour_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Hour_instInhabitedOffset___closed__0);
|
||||
v___x_170_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_169_);
|
||||
return v___x_170_;
|
||||
lean_object* v___x_171_; lean_object* v___x_172_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___closed__0, &l_Std_Time_Hour_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Hour_instInhabitedOffset___closed__0);
|
||||
v___x_172_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_171_);
|
||||
return v___x_172_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Hour_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_171_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___closed__1, &l_Std_Time_Hour_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Hour_instInhabitedOffset___closed__1);
|
||||
return v___x_171_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Hour_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_172_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_173_;
|
||||
v___x_173_ = lean_nat_to_int(v_a_172_);
|
||||
v___x_173_ = lean_obj_once(&l_Std_Time_Hour_instInhabitedOffset___closed__1, &l_Std_Time_Hour_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Hour_instInhabitedOffset___closed__1);
|
||||
return v___x_173_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
138
stage0/stdlib/Std/Time/Time/Unit/Millisecond.c
generated
138
stage0/stdlib/Std/Time/Time/Unit/Millisecond.c
generated
|
|
@ -21,10 +21,10 @@ lean_object* l_Rat_ofInt(lean_object*);
|
|||
uint8_t lean_int_dec_le(lean_object*, lean_object*);
|
||||
lean_object* l_Rat_div(lean_object*, lean_object*);
|
||||
lean_object* l_Std_Time_Internal_instInhabitedUnitVal_default(lean_object*);
|
||||
uint8_t lean_int_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
lean_object* lean_int_emod(lean_object*, lean_object*);
|
||||
uint8_t lean_int_dec_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Int_neg___boxed(lean_object*);
|
||||
lean_object* l_Int_sub___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Rat_instNatCast___lam__0(lean_object*);
|
||||
|
|
@ -87,6 +87,8 @@ LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instReprOffset___aux__1___boxed(
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Millisecond_instReprOffset = (const lean_object*)&l_Std_Time_Millisecond_instReprOrdinal___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Millisecond_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Millisecond_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Millisecond_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Millisecond_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -98,7 +100,6 @@ static lean_object* l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed
|
|||
static lean_once_cell_t l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Millisecond_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Millisecond_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Millisecond_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Millisecond_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -108,7 +109,6 @@ static lean_object* l_Std_Time_Millisecond_instInhabitedOffset___closed__2;
|
|||
static lean_once_cell_t l_Std_Time_Millisecond_instInhabitedOffset___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Millisecond_instInhabitedOffset___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Millisecond_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Millisecond_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -606,129 +606,129 @@ v_r_151_ = lean_box(v_res_150_);
|
|||
return v_r_151_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Millisecond_instDecidableEqOffset(lean_object* v_a_152_, lean_object* v_b_153_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Millisecond_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_152_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_154_;
|
||||
v___x_154_ = lean_int_dec_eq(v_a_152_, v_b_153_);
|
||||
return v___x_154_;
|
||||
lean_object* v___x_153_;
|
||||
v___x_153_ = lean_nat_to_int(v_a_152_);
|
||||
return v___x_153_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instDecidableEqOffset___boxed(lean_object* v_a_155_, lean_object* v_b_156_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Millisecond_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_154_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_157_; lean_object* v_r_158_;
|
||||
v_res_157_ = l_Std_Time_Millisecond_instDecidableEqOffset(v_a_155_, v_b_156_);
|
||||
lean_dec(v_b_156_);
|
||||
lean_dec(v_a_155_);
|
||||
v_r_158_ = lean_box(v_res_157_);
|
||||
return v_r_158_;
|
||||
lean_object* v___x_155_; lean_object* v___x_156_;
|
||||
v___x_155_ = lean_nat_to_int(v_a_154_);
|
||||
v___x_156_ = l_Rat_ofInt(v___x_155_);
|
||||
return v___x_156_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Millisecond_instDecidableEqOffset(lean_object* v_a_157_, lean_object* v_b_158_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_159_;
|
||||
v___x_159_ = lean_int_dec_eq(v_a_157_, v_b_158_);
|
||||
return v___x_159_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Millisecond_instDecidableEqOffset___boxed(lean_object* v_a_160_, lean_object* v_b_161_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_162_; lean_object* v_r_163_;
|
||||
v_res_162_ = l_Std_Time_Millisecond_instDecidableEqOffset(v_a_160_, v_b_161_);
|
||||
lean_dec(v_b_161_);
|
||||
lean_dec(v_a_160_);
|
||||
v_r_163_ = lean_box(v_res_162_);
|
||||
return v_r_163_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_159_; lean_object* v___x_160_;
|
||||
v___x_159_ = lean_unsigned_to_nat(1u);
|
||||
v___x_160_ = l_Rat_instNatCast___lam__0(v___x_159_);
|
||||
return v___x_160_;
|
||||
lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_164_ = lean_unsigned_to_nat(1u);
|
||||
v___x_165_ = l_Rat_instNatCast___lam__0(v___x_164_);
|
||||
return v___x_165_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_161_; lean_object* v___x_162_;
|
||||
v___x_161_ = lean_unsigned_to_nat(1000u);
|
||||
v___x_162_ = l_Rat_instNatCast___lam__0(v___x_161_);
|
||||
return v___x_162_;
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_unsigned_to_nat(1000u);
|
||||
v___x_167_ = l_Rat_instNatCast___lam__0(v___x_166_);
|
||||
return v___x_167_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_163_; lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_163_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1);
|
||||
v___x_164_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_165_ = l_Rat_div(v___x_164_, v___x_163_);
|
||||
return v___x_165_;
|
||||
lean_object* v___x_168_; lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__1);
|
||||
v___x_169_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_170_ = l_Rat_div(v___x_169_, v___x_168_);
|
||||
return v___x_170_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2);
|
||||
v___x_167_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_166_);
|
||||
return v___x_167_;
|
||||
lean_object* v___x_171_; lean_object* v___x_172_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__2);
|
||||
v___x_172_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_171_);
|
||||
return v___x_172_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_168_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3);
|
||||
return v___x_168_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Millisecond_instInhabitedOffset_spec__0(lean_object* v_a_169_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_170_; lean_object* v___x_171_;
|
||||
v___x_170_ = lean_nat_to_int(v_a_169_);
|
||||
v___x_171_ = l_Rat_ofInt(v___x_170_);
|
||||
return v___x_171_;
|
||||
lean_object* v___x_173_;
|
||||
v___x_173_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3, &l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___aux__1___closed__3);
|
||||
return v___x_173_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_172_; lean_object* v___x_173_;
|
||||
v___x_172_ = lean_unsigned_to_nat(1u);
|
||||
v___x_173_ = l_Nat_cast___at___00Std_Time_Millisecond_instInhabitedOffset_spec__0(v___x_172_);
|
||||
return v___x_173_;
|
||||
lean_object* v___x_174_; lean_object* v___x_175_;
|
||||
v___x_174_ = lean_unsigned_to_nat(1u);
|
||||
v___x_175_ = l_Nat_cast___at___00Std_Time_Millisecond_instDecidableEqOffset___aux__1_spec__0(v___x_174_);
|
||||
return v___x_175_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_174_; lean_object* v___x_175_;
|
||||
v___x_174_ = lean_unsigned_to_nat(1000u);
|
||||
v___x_175_ = l_Nat_cast___at___00Std_Time_Millisecond_instInhabitedOffset_spec__0(v___x_174_);
|
||||
return v___x_175_;
|
||||
lean_object* v___x_176_; lean_object* v___x_177_;
|
||||
v___x_176_ = lean_unsigned_to_nat(1000u);
|
||||
v___x_177_ = l_Nat_cast___at___00Std_Time_Millisecond_instDecidableEqOffset___aux__1_spec__0(v___x_176_);
|
||||
return v___x_177_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__2(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_176_; lean_object* v___x_177_; lean_object* v___x_178_;
|
||||
v___x_176_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__1, &l_Std_Time_Millisecond_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__1);
|
||||
v___x_177_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__0, &l_Std_Time_Millisecond_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__0);
|
||||
v___x_178_ = l_Rat_div(v___x_177_, v___x_176_);
|
||||
return v___x_178_;
|
||||
lean_object* v___x_178_; lean_object* v___x_179_; lean_object* v___x_180_;
|
||||
v___x_178_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__1, &l_Std_Time_Millisecond_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__1);
|
||||
v___x_179_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__0, &l_Std_Time_Millisecond_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__0);
|
||||
v___x_180_ = l_Rat_div(v___x_179_, v___x_178_);
|
||||
return v___x_180_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_179_; lean_object* v___x_180_;
|
||||
v___x_179_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__2, &l_Std_Time_Millisecond_instInhabitedOffset___closed__2_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__2);
|
||||
v___x_180_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_179_);
|
||||
return v___x_180_;
|
||||
lean_object* v___x_181_; lean_object* v___x_182_;
|
||||
v___x_181_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__2, &l_Std_Time_Millisecond_instInhabitedOffset___closed__2_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__2);
|
||||
v___x_182_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_181_);
|
||||
return v___x_182_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Millisecond_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_181_;
|
||||
v___x_181_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__3, &l_Std_Time_Millisecond_instInhabitedOffset___closed__3_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__3);
|
||||
return v___x_181_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Millisecond_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_182_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_183_;
|
||||
v___x_183_ = lean_nat_to_int(v_a_182_);
|
||||
v___x_183_ = lean_obj_once(&l_Std_Time_Millisecond_instInhabitedOffset___closed__3, &l_Std_Time_Millisecond_instInhabitedOffset___closed__3_once, _init_l_Std_Time_Millisecond_instInhabitedOffset___closed__3);
|
||||
return v___x_183_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
100
stage0/stdlib/Std/Time/Time/Unit/Minute.c
generated
100
stage0/stdlib/Std/Time/Time/Unit/Minute.c
generated
|
|
@ -86,6 +86,8 @@ LEAN_EXPORT lean_object* l_Std_Time_Minute_instReprOffset___aux__1___boxed(lean_
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Minute_instReprOffset = (const lean_object*)&l_Std_Time_Minute_instReprOrdinal___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Minute_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Minute_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Minute_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Minute_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -93,13 +95,11 @@ static lean_object* l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0;
|
|||
static lean_once_cell_t l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Minute_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Minute_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Minute_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Minute_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Minute_instInhabitedOffset___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Minute_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Minute_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -597,91 +597,91 @@ v_r_151_ = lean_box(v_res_150_);
|
|||
return v_r_151_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Minute_instDecidableEqOffset(lean_object* v_a_152_, lean_object* v_b_153_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Minute_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_152_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_154_;
|
||||
v___x_154_ = lean_int_dec_eq(v_a_152_, v_b_153_);
|
||||
return v___x_154_;
|
||||
lean_object* v___x_153_;
|
||||
v___x_153_ = lean_nat_to_int(v_a_152_);
|
||||
return v___x_153_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instDecidableEqOffset___boxed(lean_object* v_a_155_, lean_object* v_b_156_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Minute_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_154_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_157_; lean_object* v_r_158_;
|
||||
v_res_157_ = l_Std_Time_Minute_instDecidableEqOffset(v_a_155_, v_b_156_);
|
||||
lean_dec(v_b_156_);
|
||||
lean_dec(v_a_155_);
|
||||
v_r_158_ = lean_box(v_res_157_);
|
||||
return v_r_158_;
|
||||
lean_object* v___x_155_; lean_object* v___x_156_;
|
||||
v___x_155_ = lean_nat_to_int(v_a_154_);
|
||||
v___x_156_ = l_Rat_ofInt(v___x_155_);
|
||||
return v___x_156_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Minute_instDecidableEqOffset(lean_object* v_a_157_, lean_object* v_b_158_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_159_;
|
||||
v___x_159_ = lean_int_dec_eq(v_a_157_, v_b_158_);
|
||||
return v___x_159_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Minute_instDecidableEqOffset___boxed(lean_object* v_a_160_, lean_object* v_b_161_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_162_; lean_object* v_r_163_;
|
||||
v_res_162_ = l_Std_Time_Minute_instDecidableEqOffset(v_a_160_, v_b_161_);
|
||||
lean_dec(v_b_161_);
|
||||
lean_dec(v_a_160_);
|
||||
v_r_163_ = lean_box(v_res_162_);
|
||||
return v_r_163_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_159_; lean_object* v___x_160_;
|
||||
v___x_159_ = lean_unsigned_to_nat(60u);
|
||||
v___x_160_ = l_Rat_instNatCast___lam__0(v___x_159_);
|
||||
return v___x_160_;
|
||||
lean_object* v___x_164_; lean_object* v___x_165_;
|
||||
v___x_164_ = lean_unsigned_to_nat(60u);
|
||||
v___x_165_ = l_Rat_instNatCast___lam__0(v___x_164_);
|
||||
return v___x_165_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_161_; lean_object* v___x_162_;
|
||||
v___x_161_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_162_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_161_);
|
||||
return v___x_162_;
|
||||
lean_object* v___x_166_; lean_object* v___x_167_;
|
||||
v___x_166_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_167_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_166_);
|
||||
return v___x_167_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Minute_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_163_;
|
||||
v___x_163_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_163_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Minute_instInhabitedOffset_spec__0(lean_object* v_a_164_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_165_; lean_object* v___x_166_;
|
||||
v___x_165_ = lean_nat_to_int(v_a_164_);
|
||||
v___x_166_ = l_Rat_ofInt(v___x_165_);
|
||||
return v___x_166_;
|
||||
lean_object* v___x_168_;
|
||||
v___x_168_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Minute_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_168_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Minute_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_167_; lean_object* v___x_168_;
|
||||
v___x_167_ = lean_unsigned_to_nat(60u);
|
||||
v___x_168_ = l_Nat_cast___at___00Std_Time_Minute_instInhabitedOffset_spec__0(v___x_167_);
|
||||
return v___x_168_;
|
||||
lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_169_ = lean_unsigned_to_nat(60u);
|
||||
v___x_170_ = l_Nat_cast___at___00Std_Time_Minute_instDecidableEqOffset___aux__1_spec__0(v___x_169_);
|
||||
return v___x_170_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Minute_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_169_; lean_object* v___x_170_;
|
||||
v___x_169_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___closed__0, &l_Std_Time_Minute_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Minute_instInhabitedOffset___closed__0);
|
||||
v___x_170_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_169_);
|
||||
return v___x_170_;
|
||||
lean_object* v___x_171_; lean_object* v___x_172_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___closed__0, &l_Std_Time_Minute_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Minute_instInhabitedOffset___closed__0);
|
||||
v___x_172_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_171_);
|
||||
return v___x_172_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Minute_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_171_;
|
||||
v___x_171_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___closed__1, &l_Std_Time_Minute_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Minute_instInhabitedOffset___closed__1);
|
||||
return v___x_171_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Minute_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_172_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_173_;
|
||||
v___x_173_ = lean_nat_to_int(v_a_172_);
|
||||
v___x_173_ = lean_obj_once(&l_Std_Time_Minute_instInhabitedOffset___closed__1, &l_Std_Time_Minute_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Minute_instInhabitedOffset___closed__1);
|
||||
return v___x_173_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
136
stage0/stdlib/Std/Time/Time/Unit/Nanosecond.c
generated
136
stage0/stdlib/Std/Time/Time/Unit/Nanosecond.c
generated
|
|
@ -71,6 +71,8 @@ LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instReprOffset___aux__1___boxed(l
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Nanosecond_instReprOffset = (const lean_object*)&l_Std_Time_Nanosecond_instReprOrdinal___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Nanosecond_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Nanosecond_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Nanosecond_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Nanosecond_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -82,7 +84,6 @@ static lean_object* l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed_
|
|||
static lean_once_cell_t l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Nanosecond_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Nanosecond_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Nanosecond_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Nanosecond_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -92,7 +93,6 @@ static lean_object* l_Std_Time_Nanosecond_instInhabitedOffset___closed__2;
|
|||
static lean_once_cell_t l_Std_Time_Nanosecond_instInhabitedOffset___closed__3_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Nanosecond_instInhabitedOffset___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Nanosecond_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Nanosecond_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -539,129 +539,129 @@ v_r_117_ = lean_box(v_res_116_);
|
|||
return v_r_117_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Nanosecond_instDecidableEqOffset(lean_object* v_a_118_, lean_object* v_b_119_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Nanosecond_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_118_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_120_;
|
||||
v___x_120_ = lean_int_dec_eq(v_a_118_, v_b_119_);
|
||||
return v___x_120_;
|
||||
lean_object* v___x_119_;
|
||||
v___x_119_ = lean_nat_to_int(v_a_118_);
|
||||
return v___x_119_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instDecidableEqOffset___boxed(lean_object* v_a_121_, lean_object* v_b_122_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Nanosecond_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_120_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_123_; lean_object* v_r_124_;
|
||||
v_res_123_ = l_Std_Time_Nanosecond_instDecidableEqOffset(v_a_121_, v_b_122_);
|
||||
lean_dec(v_b_122_);
|
||||
lean_dec(v_a_121_);
|
||||
v_r_124_ = lean_box(v_res_123_);
|
||||
return v_r_124_;
|
||||
lean_object* v___x_121_; lean_object* v___x_122_;
|
||||
v___x_121_ = lean_nat_to_int(v_a_120_);
|
||||
v___x_122_ = l_Rat_ofInt(v___x_121_);
|
||||
return v___x_122_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Nanosecond_instDecidableEqOffset(lean_object* v_a_123_, lean_object* v_b_124_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_125_;
|
||||
v___x_125_ = lean_int_dec_eq(v_a_123_, v_b_124_);
|
||||
return v___x_125_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Nanosecond_instDecidableEqOffset___boxed(lean_object* v_a_126_, lean_object* v_b_127_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_128_; lean_object* v_r_129_;
|
||||
v_res_128_ = l_Std_Time_Nanosecond_instDecidableEqOffset(v_a_126_, v_b_127_);
|
||||
lean_dec(v_b_127_);
|
||||
lean_dec(v_a_126_);
|
||||
v_r_129_ = lean_box(v_res_128_);
|
||||
return v_r_129_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_125_; lean_object* v___x_126_;
|
||||
v___x_125_ = lean_unsigned_to_nat(1u);
|
||||
v___x_126_ = l_Rat_instNatCast___lam__0(v___x_125_);
|
||||
return v___x_126_;
|
||||
lean_object* v___x_130_; lean_object* v___x_131_;
|
||||
v___x_130_ = lean_unsigned_to_nat(1u);
|
||||
v___x_131_ = l_Rat_instNatCast___lam__0(v___x_130_);
|
||||
return v___x_131_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_127_; lean_object* v___x_128_;
|
||||
v___x_127_ = lean_unsigned_to_nat(1000000000u);
|
||||
v___x_128_ = l_Rat_instNatCast___lam__0(v___x_127_);
|
||||
return v___x_128_;
|
||||
lean_object* v___x_132_; lean_object* v___x_133_;
|
||||
v___x_132_ = lean_unsigned_to_nat(1000000000u);
|
||||
v___x_133_ = l_Rat_instNatCast___lam__0(v___x_132_);
|
||||
return v___x_133_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_129_; lean_object* v___x_130_; lean_object* v___x_131_;
|
||||
v___x_129_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1);
|
||||
v___x_130_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_131_ = l_Rat_div(v___x_130_, v___x_129_);
|
||||
return v___x_131_;
|
||||
lean_object* v___x_134_; lean_object* v___x_135_; lean_object* v___x_136_;
|
||||
v___x_134_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__1);
|
||||
v___x_135_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_136_ = l_Rat_div(v___x_135_, v___x_134_);
|
||||
return v___x_136_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_132_; lean_object* v___x_133_;
|
||||
v___x_132_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2);
|
||||
v___x_133_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_132_);
|
||||
return v___x_133_;
|
||||
lean_object* v___x_137_; lean_object* v___x_138_;
|
||||
v___x_137_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__2);
|
||||
v___x_138_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_137_);
|
||||
return v___x_138_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_134_;
|
||||
v___x_134_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3);
|
||||
return v___x_134_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Nanosecond_instInhabitedOffset_spec__0(lean_object* v_a_135_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_136_; lean_object* v___x_137_;
|
||||
v___x_136_ = lean_nat_to_int(v_a_135_);
|
||||
v___x_137_ = l_Rat_ofInt(v___x_136_);
|
||||
return v___x_137_;
|
||||
lean_object* v___x_139_;
|
||||
v___x_139_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3, &l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___aux__1___closed__3);
|
||||
return v___x_139_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_138_; lean_object* v___x_139_;
|
||||
v___x_138_ = lean_unsigned_to_nat(1u);
|
||||
v___x_139_ = l_Nat_cast___at___00Std_Time_Nanosecond_instInhabitedOffset_spec__0(v___x_138_);
|
||||
return v___x_139_;
|
||||
lean_object* v___x_140_; lean_object* v___x_141_;
|
||||
v___x_140_ = lean_unsigned_to_nat(1u);
|
||||
v___x_141_ = l_Nat_cast___at___00Std_Time_Nanosecond_instDecidableEqOffset___aux__1_spec__0(v___x_140_);
|
||||
return v___x_141_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_140_; lean_object* v___x_141_;
|
||||
v___x_140_ = lean_unsigned_to_nat(1000000000u);
|
||||
v___x_141_ = l_Nat_cast___at___00Std_Time_Nanosecond_instInhabitedOffset_spec__0(v___x_140_);
|
||||
return v___x_141_;
|
||||
lean_object* v___x_142_; lean_object* v___x_143_;
|
||||
v___x_142_ = lean_unsigned_to_nat(1000000000u);
|
||||
v___x_143_ = l_Nat_cast___at___00Std_Time_Nanosecond_instDecidableEqOffset___aux__1_spec__0(v___x_142_);
|
||||
return v___x_143_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__2(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_142_; lean_object* v___x_143_; lean_object* v___x_144_;
|
||||
v___x_142_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__1, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__1);
|
||||
v___x_143_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__0, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__0);
|
||||
v___x_144_ = l_Rat_div(v___x_143_, v___x_142_);
|
||||
return v___x_144_;
|
||||
lean_object* v___x_144_; lean_object* v___x_145_; lean_object* v___x_146_;
|
||||
v___x_144_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__1, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__1);
|
||||
v___x_145_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__0, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__0);
|
||||
v___x_146_ = l_Rat_div(v___x_145_, v___x_144_);
|
||||
return v___x_146_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__3(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_145_; lean_object* v___x_146_;
|
||||
v___x_145_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__2, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__2_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__2);
|
||||
v___x_146_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_145_);
|
||||
return v___x_146_;
|
||||
lean_object* v___x_147_; lean_object* v___x_148_;
|
||||
v___x_147_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__2, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__2_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__2);
|
||||
v___x_148_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_147_);
|
||||
return v___x_148_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Nanosecond_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_147_;
|
||||
v___x_147_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__3, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__3_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__3);
|
||||
return v___x_147_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Nanosecond_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_148_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_149_;
|
||||
v___x_149_ = lean_nat_to_int(v_a_148_);
|
||||
v___x_149_ = lean_obj_once(&l_Std_Time_Nanosecond_instInhabitedOffset___closed__3, &l_Std_Time_Nanosecond_instInhabitedOffset___closed__3_once, _init_l_Std_Time_Nanosecond_instInhabitedOffset___closed__3);
|
||||
return v___x_149_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
100
stage0/stdlib/Std/Time/Time/Unit/Second.c
generated
100
stage0/stdlib/Std/Time/Time/Unit/Second.c
generated
|
|
@ -90,6 +90,8 @@ static const lean_object* l_Std_Time_Second_instReprOffset___closed__0 = (const
|
|||
LEAN_EXPORT const lean_object* l_Std_Time_Second_instReprOffset = (const lean_object*)&l_Std_Time_Second_instReprOffset___closed__0_value;
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Second_instDecidableEqOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instDecidableEqOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Second_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Second_instDecidableEqOffset___aux__1_spec__0(lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Second_instDecidableEqOffset(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instDecidableEqOffset___boxed(lean_object*, lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
|
|
@ -97,13 +99,11 @@ static lean_object* l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0;
|
|||
static lean_once_cell_t l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instInhabitedOffset___aux__1;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Second_instInhabitedOffset_spec__0(lean_object*);
|
||||
static lean_once_cell_t l_Std_Time_Second_instInhabitedOffset___closed__0_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Second_instInhabitedOffset___closed__0;
|
||||
static lean_once_cell_t l_Std_Time_Second_instInhabitedOffset___closed__1_once = LEAN_ONCE_CELL_INITIALIZER;
|
||||
static lean_object* l_Std_Time_Second_instInhabitedOffset___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instInhabitedOffset;
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Second_instInhabitedOffset_spec__0_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instAddOffset___aux__1(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instAddOffset___aux__1___boxed(lean_object*, lean_object*);
|
||||
static const lean_closure_object l_Std_Time_Second_instAddOffset___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Int_add___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} };
|
||||
|
|
@ -702,91 +702,91 @@ v_r_197_ = lean_box(v_res_196_);
|
|||
return v_r_197_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Second_instDecidableEqOffset(lean_object* v_a_198_, lean_object* v_b_199_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Second_instDecidableEqOffset___aux__1_spec__0_spec__0(lean_object* v_a_198_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_200_;
|
||||
v___x_200_ = lean_int_dec_eq(v_a_198_, v_b_199_);
|
||||
return v___x_200_;
|
||||
lean_object* v___x_199_;
|
||||
v___x_199_ = lean_nat_to_int(v_a_198_);
|
||||
return v___x_199_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instDecidableEqOffset___boxed(lean_object* v_a_201_, lean_object* v_b_202_){
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Second_instDecidableEqOffset___aux__1_spec__0(lean_object* v_a_200_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_203_; lean_object* v_r_204_;
|
||||
v_res_203_ = l_Std_Time_Second_instDecidableEqOffset(v_a_201_, v_b_202_);
|
||||
lean_dec(v_b_202_);
|
||||
lean_dec(v_a_201_);
|
||||
v_r_204_ = lean_box(v_res_203_);
|
||||
return v_r_204_;
|
||||
lean_object* v___x_201_; lean_object* v___x_202_;
|
||||
v___x_201_ = lean_nat_to_int(v_a_200_);
|
||||
v___x_202_ = l_Rat_ofInt(v___x_201_);
|
||||
return v___x_202_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l_Std_Time_Second_instDecidableEqOffset(lean_object* v_a_203_, lean_object* v_b_204_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v___x_205_;
|
||||
v___x_205_ = lean_int_dec_eq(v_a_203_, v_b_204_);
|
||||
return v___x_205_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Time_Second_instDecidableEqOffset___boxed(lean_object* v_a_206_, lean_object* v_b_207_){
|
||||
_start:
|
||||
{
|
||||
uint8_t v_res_208_; lean_object* v_r_209_;
|
||||
v_res_208_ = l_Std_Time_Second_instDecidableEqOffset(v_a_206_, v_b_207_);
|
||||
lean_dec(v_b_207_);
|
||||
lean_dec(v_a_206_);
|
||||
v_r_209_ = lean_box(v_res_208_);
|
||||
return v_r_209_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_205_; lean_object* v___x_206_;
|
||||
v___x_205_ = lean_unsigned_to_nat(1u);
|
||||
v___x_206_ = l_Rat_instNatCast___lam__0(v___x_205_);
|
||||
return v___x_206_;
|
||||
lean_object* v___x_210_; lean_object* v___x_211_;
|
||||
v___x_210_ = lean_unsigned_to_nat(1u);
|
||||
v___x_211_ = l_Rat_instNatCast___lam__0(v___x_210_);
|
||||
return v___x_211_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_207_; lean_object* v___x_208_;
|
||||
v___x_207_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_208_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_207_);
|
||||
return v___x_208_;
|
||||
lean_object* v___x_212_; lean_object* v___x_213_;
|
||||
v___x_212_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0, &l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0_once, _init_l_Std_Time_Second_instInhabitedOffset___aux__1___closed__0);
|
||||
v___x_213_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_212_);
|
||||
return v___x_213_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Second_instInhabitedOffset___aux__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_209_;
|
||||
v___x_209_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_209_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Std_Time_Second_instInhabitedOffset_spec__0(lean_object* v_a_210_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_211_; lean_object* v___x_212_;
|
||||
v___x_211_ = lean_nat_to_int(v_a_210_);
|
||||
v___x_212_ = l_Rat_ofInt(v___x_211_);
|
||||
return v___x_212_;
|
||||
lean_object* v___x_214_;
|
||||
v___x_214_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1, &l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1_once, _init_l_Std_Time_Second_instInhabitedOffset___aux__1___closed__1);
|
||||
return v___x_214_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Second_instInhabitedOffset___closed__0(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_213_; lean_object* v___x_214_;
|
||||
v___x_213_ = lean_unsigned_to_nat(1u);
|
||||
v___x_214_ = l_Nat_cast___at___00Std_Time_Second_instInhabitedOffset_spec__0(v___x_213_);
|
||||
return v___x_214_;
|
||||
lean_object* v___x_215_; lean_object* v___x_216_;
|
||||
v___x_215_ = lean_unsigned_to_nat(1u);
|
||||
v___x_216_ = l_Nat_cast___at___00Std_Time_Second_instDecidableEqOffset___aux__1_spec__0(v___x_215_);
|
||||
return v___x_216_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Second_instInhabitedOffset___closed__1(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_215_; lean_object* v___x_216_;
|
||||
v___x_215_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___closed__0, &l_Std_Time_Second_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Second_instInhabitedOffset___closed__0);
|
||||
v___x_216_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_215_);
|
||||
return v___x_216_;
|
||||
lean_object* v___x_217_; lean_object* v___x_218_;
|
||||
v___x_217_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___closed__0, &l_Std_Time_Second_instInhabitedOffset___closed__0_once, _init_l_Std_Time_Second_instInhabitedOffset___closed__0);
|
||||
v___x_218_ = l_Std_Time_Internal_instInhabitedUnitVal_default(v___x_217_);
|
||||
return v___x_218_;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Std_Time_Second_instInhabitedOffset(void){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_217_;
|
||||
v___x_217_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___closed__1, &l_Std_Time_Second_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Second_instInhabitedOffset___closed__1);
|
||||
return v___x_217_;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Nat_cast___at___00Nat_cast___at___00Std_Time_Second_instInhabitedOffset_spec__0_spec__0(lean_object* v_a_218_){
|
||||
_start:
|
||||
{
|
||||
lean_object* v___x_219_;
|
||||
v___x_219_ = lean_nat_to_int(v_a_218_);
|
||||
v___x_219_ = lean_obj_once(&l_Std_Time_Second_instInhabitedOffset___closed__1, &l_Std_Time_Second_instInhabitedOffset___closed__1_once, _init_l_Std_Time_Second_instInhabitedOffset___closed__1);
|
||||
return v___x_219_;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue