chore: update stage0
This commit is contained in:
parent
4c707d3b3c
commit
e30ac86bd5
16 changed files with 2330 additions and 2250 deletions
7
stage0/src/Init/Data/Fin/Basic.lean
generated
7
stage0/src/Init/Data/Fin/Basic.lean
generated
|
|
@ -56,7 +56,7 @@ protected def mod : Fin n → Fin n → Fin n
|
|||
protected def div : Fin n → Fin n → Fin n
|
||||
| ⟨a, h⟩, ⟨b, _⟩ => ⟨(a / b) % n, mlt h⟩
|
||||
|
||||
protected def modn : Fin n → Nat → Fin n
|
||||
def modn : Fin n → Nat → Fin n
|
||||
| ⟨a, h⟩, m => ⟨(a % m) % n, mlt h⟩
|
||||
|
||||
def land : Fin n → Fin n → Fin n
|
||||
|
|
@ -100,9 +100,6 @@ instance : ShiftLeft (Fin n) where
|
|||
instance : ShiftRight (Fin n) where
|
||||
shiftRight := Fin.shiftRight
|
||||
|
||||
instance : HMod (Fin n) Nat (Fin n) where
|
||||
hMod := Fin.modn
|
||||
|
||||
instance : OfNat (Fin (no_index (n+1))) i where
|
||||
ofNat := Fin.ofNat i
|
||||
|
||||
|
|
@ -112,7 +109,7 @@ instance : Inhabited (Fin (no_index (n+1))) where
|
|||
theorem val_ne_of_ne {i j : Fin n} (h : i ≠ j) : val i ≠ val j :=
|
||||
fun h' => absurd (eq_of_val_eq h') h
|
||||
|
||||
theorem modn_lt : ∀ {m : Nat} (i : Fin n), m > 0 → (i % m).val < m
|
||||
theorem modn_lt : ∀ {m : Nat} (i : Fin n), m > 0 → (modn i m).val < m
|
||||
| _, ⟨_, _⟩, hp => Nat.lt_of_le_of_lt (mod_le _ _) (mod_lt _ hp)
|
||||
|
||||
end Fin
|
||||
|
|
|
|||
10
stage0/src/Init/Data/UInt.lean
generated
10
stage0/src/Init/Data/UInt.lean
generated
|
|
@ -25,7 +25,7 @@ def UInt8.div (a b : UInt8) : UInt8 := ⟨a.val / b.val⟩
|
|||
@[extern "lean_uint8_mod"]
|
||||
def UInt8.mod (a b : UInt8) : UInt8 := ⟨a.val % b.val⟩
|
||||
@[extern "lean_uint8_modn"]
|
||||
def UInt8.modn (a : UInt8) (n : @& Nat) : UInt8 := ⟨a.val % n⟩
|
||||
def UInt8.modn (a : UInt8) (n : @& Nat) : UInt8 := ⟨Fin.modn a.val n⟩
|
||||
@[extern "lean_uint8_land"]
|
||||
def UInt8.land (a b : UInt8) : UInt8 := ⟨Fin.land a.val b.val⟩
|
||||
@[extern "lean_uint8_lor"]
|
||||
|
|
@ -90,7 +90,7 @@ def UInt16.div (a b : UInt16) : UInt16 := ⟨a.val / b.val⟩
|
|||
@[extern "lean_uint16_mod"]
|
||||
def UInt16.mod (a b : UInt16) : UInt16 := ⟨a.val % b.val⟩
|
||||
@[extern "lean_uint16_modn"]
|
||||
def UInt16.modn (a : UInt16) (n : @& Nat) : UInt16 := ⟨a.val % n⟩
|
||||
def UInt16.modn (a : UInt16) (n : @& Nat) : UInt16 := ⟨Fin.modn a.val n⟩
|
||||
@[extern "lean_uint16_land"]
|
||||
def UInt16.land (a b : UInt16) : UInt16 := ⟨Fin.land a.val b.val⟩
|
||||
@[extern "lean_uint16_lor"]
|
||||
|
|
@ -160,7 +160,7 @@ def UInt32.div (a b : UInt32) : UInt32 := ⟨a.val / b.val⟩
|
|||
@[extern "lean_uint32_mod"]
|
||||
def UInt32.mod (a b : UInt32) : UInt32 := ⟨a.val % b.val⟩
|
||||
@[extern "lean_uint32_modn"]
|
||||
def UInt32.modn (a : UInt32) (n : @& Nat) : UInt32 := ⟨a.val % n⟩
|
||||
def UInt32.modn (a : UInt32) (n : @& Nat) : UInt32 := ⟨Fin.modn a.val n⟩
|
||||
@[extern "lean_uint32_land"]
|
||||
def UInt32.land (a b : UInt32) : UInt32 := ⟨Fin.land a.val b.val⟩
|
||||
@[extern "lean_uint32_lor"]
|
||||
|
|
@ -214,7 +214,7 @@ def UInt64.div (a b : UInt64) : UInt64 := ⟨a.val / b.val⟩
|
|||
@[extern "lean_uint64_mod"]
|
||||
def UInt64.mod (a b : UInt64) : UInt64 := ⟨a.val % b.val⟩
|
||||
@[extern "lean_uint64_modn"]
|
||||
def UInt64.modn (a : UInt64) (n : @& Nat) : UInt64 := ⟨a.val % n⟩
|
||||
def UInt64.modn (a : UInt64) (n : @& Nat) : UInt64 := ⟨Fin.modn a.val n⟩
|
||||
@[extern "lean_uint64_land"]
|
||||
def UInt64.land (a b : UInt64) : UInt64 := ⟨Fin.land a.val b.val⟩
|
||||
@[extern "lean_uint64_lor"]
|
||||
|
|
@ -297,7 +297,7 @@ def USize.div (a b : USize) : USize := ⟨a.val / b.val⟩
|
|||
@[extern "lean_usize_mod"]
|
||||
def USize.mod (a b : USize) : USize := ⟨a.val % b.val⟩
|
||||
@[extern "lean_usize_modn"]
|
||||
def USize.modn (a : USize) (n : @& Nat) : USize := ⟨a.val % n⟩
|
||||
def USize.modn (a : USize) (n : @& Nat) : USize := ⟨Fin.modn a.val n⟩
|
||||
@[extern "lean_usize_land"]
|
||||
def USize.land (a b : USize) : USize := ⟨Fin.land a.val b.val⟩
|
||||
@[extern "lean_usize_lor"]
|
||||
|
|
|
|||
1
stage0/src/Init/Notation.lean
generated
1
stage0/src/Init/Notation.lean
generated
|
|
@ -100,6 +100,7 @@ macro_rules | `($x + $y) => `(binop% HAdd.hAdd $x $y)
|
|||
macro_rules | `($x - $y) => `(binop% HSub.hSub $x $y)
|
||||
macro_rules | `($x * $y) => `(binop% HMul.hMul $x $y)
|
||||
macro_rules | `($x / $y) => `(binop% HDiv.hDiv $x $y)
|
||||
macro_rules | `($x % $y) => `(binop% HMod.hMod $x $y)
|
||||
macro_rules | `($x ++ $y) => `(binop% HAppend.hAppend $x $y)
|
||||
|
||||
-- declare ASCII alternatives first so that the latter Unicode unexpander wins
|
||||
|
|
|
|||
48
stage0/src/Lean/Elab/App.lean
generated
48
stage0/src/Lean/Elab/App.lean
generated
|
|
@ -374,35 +374,29 @@ private def finalize : M Expr := do
|
|||
-/
|
||||
let eType ← inferType e
|
||||
trace[Elab.app.finalize] "after etaArgs, {e} : {eType}"
|
||||
let defaultCont (e : Expr) : M Expr := do
|
||||
/- Recall that `resultTypeOutParam? = some mvarId` if the function result type is the output parameter
|
||||
of a local instance. The value of this parameter may be inferable using other arguments. For example,
|
||||
suppose we have
|
||||
```lean
|
||||
def add_one {X} [Trait X] [One (Trait.R X)] [HAdd X (Trait.R X) X] (x : X) : X := x + (One.one : (Trait.R X))
|
||||
```
|
||||
from test `948.lean`. There are multiple ways to infer `X`, and we don't want to mark it as `syntheticOpaque`.
|
||||
-/
|
||||
if let some outParamMVarId := s.resultTypeOutParam? then
|
||||
synthesizeAppInstMVars
|
||||
return e
|
||||
match s.expectedType? with
|
||||
| none => defaultCont e
|
||||
| some expectedType =>
|
||||
/- Recall that `resultTypeOutParam? = some mvarId` if the function result type is the output parameter
|
||||
of a local instance. The value of this parameter may be inferable using other arguments. For example,
|
||||
suppose we have
|
||||
```lean
|
||||
def add_one {X} [Trait X] [One (Trait.R X)] [HAdd X (Trait.R X) X] (x : X) : X := x + (One.one : (Trait.R X))
|
||||
```
|
||||
from test `948.lean`. There are multiple ways to infer `X`, and we don't want to mark it as `syntheticOpaque`.
|
||||
-/
|
||||
if let some outParamMVarId := s.resultTypeOutParam? then
|
||||
synthesizeAppInstMVars
|
||||
/- If `eType != mkMVar outParamMVarId`, then the
|
||||
function is partially applied, and we do not apply default instances. -/
|
||||
if !(← isExprMVarAssigned outParamMVarId) && eType.isMVar && eType.mvarId! == outParamMVarId then
|
||||
synthesizeSyntheticMVarsUsingDefault
|
||||
return e
|
||||
else
|
||||
return e
|
||||
else
|
||||
-- Try to propagate expected type. Ignore if types are not definitionally equal, caller must handle it.
|
||||
trace[Elab.app.finalize] "expected type: {expectedType}"
|
||||
discard <| isDefEq expectedType eType
|
||||
synthesizeAppInstMVars
|
||||
/- If `eType != mkMVar outParamMVarId`, then the
|
||||
function is partially applied, and we do not apply default instances. -/
|
||||
if !(← isExprMVarAssigned outParamMVarId) && eType.isMVar && eType.mvarId! == outParamMVarId then
|
||||
synthesizeSyntheticMVarsUsingDefault
|
||||
return e
|
||||
else
|
||||
return e
|
||||
if let some expectedType := s.expectedType? then
|
||||
-- Try to propagate expected type. Ignore if types are not definitionally equal, caller must handle it.
|
||||
trace[Elab.app.finalize] "expected type: {expectedType}"
|
||||
discard <| isDefEq expectedType eType
|
||||
synthesizeAppInstMVars
|
||||
return e
|
||||
|
||||
/-- Return `true` if there is a named argument that depends on the next argument. -/
|
||||
private def anyNamedArgDependsOnCurrent : M Bool := do
|
||||
|
|
|
|||
10
stage0/stdlib/Init/Data/Fin/Basic.c
generated
10
stage0/stdlib/Init/Data/Fin/Basic.c
generated
|
|
@ -13,7 +13,6 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Fin_instHModFinNat(lean_object*);
|
||||
lean_object* lean_nat_div(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Fin_ofNat(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Fin_elim0___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -519,15 +518,6 @@ lean_closure_set(x_2, 0, x_1);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Fin_instHModFinNat(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = lean_alloc_closure((void*)(l_Fin_modn___boxed), 3, 1);
|
||||
lean_closure_set(x_2, 0, x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Fin_instOfNatFinHAddNatInstHAddInstAddNatOfNat(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Data/Random.c
generated
6
stage0/stdlib/Init/Data/Random.c
generated
|
|
@ -77,7 +77,7 @@ LEAN_EXPORT lean_object* l_stdSplit(lean_object*);
|
|||
static lean_object* l_stdNext___closed__7;
|
||||
lean_object* lean_int_add(lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mod(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Init_Data_Random___hyg_711_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Init_Data_Random___hyg_710_(lean_object*);
|
||||
lean_object* l_ByteArray_toUInt64LE_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instReprStdGen(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_instInhabitedStdGen;
|
||||
|
|
@ -1291,7 +1291,7 @@ x_2 = lean_alloc_closure((void*)(l_randBool___rarg), 2, 0);
|
|||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Init_Data_Random___hyg_711_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_initFn____x40_Init_Data_Random___hyg_710_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
size_t x_2; lean_object* x_3;
|
||||
|
|
@ -1855,7 +1855,7 @@ l_instRandomGenStdGen___closed__4 = _init_l_instRandomGenStdGen___closed__4();
|
|||
lean_mark_persistent(l_instRandomGenStdGen___closed__4);
|
||||
l_instRandomGenStdGen = _init_l_instRandomGenStdGen();
|
||||
lean_mark_persistent(l_instRandomGenStdGen);
|
||||
res = l_initFn____x40_Init_Data_Random___hyg_711_(lean_io_mk_world());
|
||||
res = l_initFn____x40_Init_Data_Random___hyg_710_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_IO_stdGenRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_IO_stdGenRef);
|
||||
|
|
|
|||
1912
stage0/stdlib/Init/Meta.c
generated
1912
stage0/stdlib/Init/Meta.c
generated
File diff suppressed because it is too large
Load diff
113
stage0/stdlib/Init/Notation.c
generated
113
stage0/stdlib/Init/Notation.c
generated
|
|
@ -1061,6 +1061,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__SeqLeft__seqLeft
|
|||
static lean_object* l_term___x3a_x3a_____closed__7;
|
||||
static lean_object* l_term___x3d_x3d_____closed__3;
|
||||
static lean_object* l_termDepIfThenElse___closed__8;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x25____2(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_term___x2a_x3e_____closed__4;
|
||||
static lean_object* l_term_x5b___x5d___closed__4;
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2209____1(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -13545,6 +13546,118 @@ return x_51;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x25____2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4; uint8_t x_5;
|
||||
x_4 = l_term___x25_____closed__2;
|
||||
lean_inc(x_1);
|
||||
x_5 = l_Lean_Syntax_isOfKind(x_1, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7;
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
x_6 = lean_box(1);
|
||||
x_7 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_6);
|
||||
lean_ctor_set(x_7, 1, x_3);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13;
|
||||
x_8 = lean_unsigned_to_nat(0u);
|
||||
x_9 = l_Lean_Syntax_getArg(x_1, x_8);
|
||||
x_10 = lean_unsigned_to_nat(2u);
|
||||
x_11 = l_Lean_Syntax_getArg(x_1, x_10);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3);
|
||||
x_13 = !lean_is_exclusive(x_12);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_14 = lean_ctor_get(x_12, 0);
|
||||
x_15 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_16);
|
||||
lean_dec(x_2);
|
||||
x_17 = l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__3;
|
||||
lean_inc(x_14);
|
||||
x_18 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_14);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
x_19 = l___aux__Init__Notation______macroRules__term___x25____1___closed__7;
|
||||
x_20 = l_Lean_addMacroScope(x_16, x_19, x_15);
|
||||
x_21 = l___aux__Init__Notation______macroRules__term___x25____1___closed__3;
|
||||
x_22 = l___aux__Init__Notation______macroRules__term___x25____1___closed__9;
|
||||
x_23 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_23, 0, x_14);
|
||||
lean_ctor_set(x_23, 1, x_21);
|
||||
lean_ctor_set(x_23, 2, x_20);
|
||||
lean_ctor_set(x_23, 3, x_22);
|
||||
x_24 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9;
|
||||
x_25 = lean_array_push(x_24, x_18);
|
||||
x_26 = lean_array_push(x_25, x_23);
|
||||
x_27 = lean_array_push(x_26, x_9);
|
||||
x_28 = lean_array_push(x_27, x_11);
|
||||
x_29 = lean_box(2);
|
||||
x_30 = l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__2;
|
||||
x_31 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_31, 0, x_29);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
lean_ctor_set(x_31, 2, x_28);
|
||||
lean_ctor_set(x_12, 0, x_31);
|
||||
return x_12;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51;
|
||||
x_32 = lean_ctor_get(x_12, 0);
|
||||
x_33 = lean_ctor_get(x_12, 1);
|
||||
lean_inc(x_33);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_12);
|
||||
x_34 = lean_ctor_get(x_2, 2);
|
||||
lean_inc(x_34);
|
||||
x_35 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_2);
|
||||
x_36 = l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__3;
|
||||
lean_inc(x_32);
|
||||
x_37 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_32);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
x_38 = l___aux__Init__Notation______macroRules__term___x25____1___closed__7;
|
||||
x_39 = l_Lean_addMacroScope(x_35, x_38, x_34);
|
||||
x_40 = l___aux__Init__Notation______macroRules__term___x25____1___closed__3;
|
||||
x_41 = l___aux__Init__Notation______macroRules__term___x25____1___closed__9;
|
||||
x_42 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_42, 0, x_32);
|
||||
lean_ctor_set(x_42, 1, x_40);
|
||||
lean_ctor_set(x_42, 2, x_39);
|
||||
lean_ctor_set(x_42, 3, x_41);
|
||||
x_43 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9;
|
||||
x_44 = lean_array_push(x_43, x_37);
|
||||
x_45 = lean_array_push(x_44, x_42);
|
||||
x_46 = lean_array_push(x_45, x_9);
|
||||
x_47 = lean_array_push(x_46, x_11);
|
||||
x_48 = lean_box(2);
|
||||
x_49 = l___aux__Init__Notation______macroRules__term___x7c_x7c_x7c____2___closed__2;
|
||||
x_50 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_50, 0, x_48);
|
||||
lean_ctor_set(x_50, 1, x_49);
|
||||
lean_ctor_set(x_50, 2, x_47);
|
||||
x_51 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_50);
|
||||
lean_ctor_set(x_51, 1, x_33);
|
||||
return x_51;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x2b_x2b____2(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
1229
stage0/stdlib/Lean/Elab/App.c
generated
1229
stage0/stdlib/Lean/Elab/App.c
generated
File diff suppressed because it is too large
Load diff
12
stage0/stdlib/Lean/Meta/Basic.c
generated
12
stage0/stdlib/Lean/Meta/Basic.c
generated
|
|
@ -239,7 +239,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_forallMetaBoundedTelescope(lean_object*, le
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_setInlineAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_withConfig___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1394,7 +1394,7 @@ x_5 = lean_ctor_get(x_1, 1);
|
|||
x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*2);
|
||||
x_7 = lean_ctor_get(x_2, 0);
|
||||
x_8 = lean_ctor_get(x_2, 1);
|
||||
x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_3, x_6);
|
||||
x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_3, x_6);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
uint8_t x_10;
|
||||
|
|
@ -7252,7 +7252,7 @@ x_8 = lean_ctor_get(x_6, 0);
|
|||
x_9 = 0;
|
||||
x_10 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_10, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_10, x_9);
|
||||
x_12 = lean_box(x_11);
|
||||
lean_ctor_set(x_6, 0, x_12);
|
||||
return x_6;
|
||||
|
|
@ -7268,7 +7268,7 @@ lean_dec(x_6);
|
|||
x_15 = 0;
|
||||
x_16 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_16, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_16, x_15);
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
@ -7302,7 +7302,7 @@ x_8 = lean_ctor_get(x_6, 0);
|
|||
x_9 = 2;
|
||||
x_10 = lean_unbox(x_8);
|
||||
lean_dec(x_8);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_10, x_9);
|
||||
x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_10, x_9);
|
||||
x_12 = lean_box(x_11);
|
||||
lean_ctor_set(x_6, 0, x_12);
|
||||
return x_6;
|
||||
|
|
@ -7318,7 +7318,7 @@ lean_dec(x_6);
|
|||
x_15 = 2;
|
||||
x_16 = lean_unbox(x_13);
|
||||
lean_dec(x_13);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_16, x_15);
|
||||
x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_16, x_15);
|
||||
x_18 = lean_box(x_17);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_18);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
6
stage0/stdlib/Lean/Meta/ExprDefEq.c
generated
|
|
@ -228,7 +228,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_c
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_defaultCase___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2;
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_markUsedAssignment___at_Lean_Meta_CheckAssignment_checkApp___spec__3(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -69192,7 +69192,7 @@ x_11 = lean_ctor_get(x_8, 1);
|
|||
x_12 = 3;
|
||||
x_13 = lean_unbox(x_10);
|
||||
lean_dec(x_10);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_13, x_12);
|
||||
x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_13, x_12);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
uint8_t x_15; lean_object* x_16;
|
||||
|
|
@ -69227,7 +69227,7 @@ lean_dec(x_8);
|
|||
x_21 = 3;
|
||||
x_22 = lean_unbox(x_19);
|
||||
lean_dec(x_19);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_22, x_21);
|
||||
x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_22, x_21);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
uint8_t x_24; lean_object* x_25; lean_object* x_26;
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Meta/GetConst.c
generated
6
stage0/stdlib/Lean/Meta/GetConst.c
generated
|
|
@ -21,7 +21,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Meta_getConstNoEx_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_isReducible___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__3(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(uint8_t, uint8_t);
|
||||
lean_object* l_Lean_ConstantInfo_name(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -315,7 +315,7 @@ x_39 = lean_ctor_get(x_38, 0);
|
|||
lean_inc(x_39);
|
||||
lean_dec(x_38);
|
||||
x_40 = 3;
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_6, x_40);
|
||||
x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_6, x_40);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
uint8_t x_42; lean_object* x_43;
|
||||
|
|
@ -360,7 +360,7 @@ x_51 = lean_ctor_get(x_49, 0);
|
|||
lean_inc(x_51);
|
||||
lean_dec(x_49);
|
||||
x_52 = 3;
|
||||
x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_6, x_52);
|
||||
x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_6, x_52);
|
||||
if (x_53 == 0)
|
||||
{
|
||||
uint8_t x_54; lean_object* x_55; lean_object* x_56;
|
||||
|
|
|
|||
8
stage0/stdlib/Lean/Meta/WHNF.c
generated
8
stage0/stdlib/Lean/Meta/WHNF.c
generated
|
|
@ -132,7 +132,7 @@ size_t lean_usize_shift_right(size_t, size_t);
|
|||
static lean_object* l_Lean_Meta_reduceNative_x3f___closed__14;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_smartUnfoldingMatch_x3f(lean_object*);
|
||||
lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(uint8_t, uint8_t);
|
||||
uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(uint8_t, uint8_t);
|
||||
static lean_object* l_Lean_Meta_toCtorIfLit___closed__16;
|
||||
static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__10;
|
||||
uint8_t lean_usize_dec_lt(size_t, size_t);
|
||||
|
|
@ -10071,7 +10071,7 @@ lean_inc(x_9);
|
|||
lean_dec(x_7);
|
||||
x_10 = 2;
|
||||
x_11 = lean_unbox(x_8);
|
||||
x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_11, x_10);
|
||||
x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_11, x_10);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14; lean_object* x_15;
|
||||
|
|
@ -20649,7 +20649,7 @@ x_10 = lean_ctor_get(x_7, 1);
|
|||
x_11 = 3;
|
||||
x_12 = lean_unbox(x_9);
|
||||
lean_dec(x_9);
|
||||
x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_12, x_11);
|
||||
x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_12, x_11);
|
||||
if (x_13 == 0)
|
||||
{
|
||||
lean_object* x_14;
|
||||
|
|
@ -20681,7 +20681,7 @@ lean_dec(x_7);
|
|||
x_18 = 3;
|
||||
x_19 = lean_unbox(x_16);
|
||||
lean_dec(x_16);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9636_(x_19, x_18);
|
||||
x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_9635_(x_19, x_18);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
lean_object* x_21; lean_object* x_22;
|
||||
|
|
|
|||
1188
stage0/stdlib/Lean/Parser/Extra.c
generated
1188
stage0/stdlib/Lean/Parser/Extra.c
generated
File diff suppressed because it is too large
Load diff
12
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
12
stage0/stdlib/Lean/PrettyPrinter/Formatter.c
generated
|
|
@ -24,7 +24,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_ite___rarg___boxed(lean_
|
|||
uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
size_t lean_usize_add(size_t, size_t);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4453_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4452_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter___rarg(lean_object*);
|
||||
uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*);
|
||||
lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*);
|
||||
|
|
@ -426,7 +426,7 @@ static lean_object* l_Lean_PrettyPrinter_Formatter_numLitNoAntiquot_formatter___
|
|||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_concat___lambda__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_nameLitNoAntiquot_formatter___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4772_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4771_(lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Formatter_categoryFormatterCore___spec__2___closed__7;
|
||||
lean_object* lean_int_sub(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__6;
|
||||
|
|
@ -10526,7 +10526,7 @@ x_10 = l_Lean_PrettyPrinter_Formatter_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x
|
|||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4453_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4452_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -11327,7 +11327,7 @@ x_6 = l_Lean_PrettyPrinter_formatCategory(x_5, x_1, x_2, x_3, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4772_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4771_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -11605,7 +11605,7 @@ l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_interpolatedStr_form
|
|||
lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__2___closed__2);
|
||||
l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1 = _init_l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1);
|
||||
if (builtin) {res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4453_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4452_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_PrettyPrinter_Formatter_formatterAliasesRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_formatterAliasesRef);
|
||||
|
|
@ -11634,7 +11634,7 @@ l_Lean_PrettyPrinter_formatCommand___closed__1 = _init_l_Lean_PrettyPrinter_form
|
|||
lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__1);
|
||||
l_Lean_PrettyPrinter_formatCommand___closed__2 = _init_l_Lean_PrettyPrinter_formatCommand___closed__2();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__2);
|
||||
res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4772_(lean_io_mk_world());
|
||||
res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4771_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
12
stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c
generated
12
stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c
generated
|
|
@ -89,7 +89,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object*);
|
||||
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*);
|
||||
lean_object* lean_st_ref_get(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4163_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4162_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__6;
|
||||
|
|
@ -382,7 +382,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_p
|
|||
static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__2;
|
||||
static lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkKind___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3871_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3870_(lean_object*);
|
||||
static lean_object* l_Lean_addTrace___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2___closed__8;
|
||||
static lean_object* l_Option_format___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___closed__4;
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer(lean_object*);
|
||||
|
|
@ -10491,7 +10491,7 @@ x_10 = l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_
|
|||
return x_10;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3871_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3870_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
|
|
@ -11246,7 +11246,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesize(x_5, x_1, x_2, x_3, x_4);
|
|||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4163_(lean_object* x_1) {
|
||||
LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4162_(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
|
|
@ -11644,7 +11644,7 @@ l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1 = _
|
|||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1);
|
||||
l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1);
|
||||
if (builtin) {res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3871_(lean_io_mk_world());
|
||||
if (builtin) {res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3870_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef = lean_io_result_get_value(res);
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef);
|
||||
|
|
@ -11669,7 +11669,7 @@ l_Lean_PrettyPrinter_parenthesizeCommand___closed__2 = _init_l_Lean_PrettyPrinte
|
|||
lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__2);
|
||||
l_Lean_PrettyPrinter_parenthesizeCommand___closed__3 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__3();
|
||||
lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__3);
|
||||
res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4163_(lean_io_mk_world());
|
||||
res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4162_(lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue