lean4-htt/tests/elab/sint_basic.lean.out.expected
Garmelon 08eb78a5b2
chore: switch to new test/bench suite (#12590)
This PR sets up the new integrated test/bench suite. It then migrates
all benchmarks and some related tests to the new suite. There's also
some documentation and some linting.

For now, a lot of the old tests are left alone so this PR doesn't become
even larger than it already is. Eventually, all tests should be migrated
to the new suite though so there isn't a confusing mix of two systems.
2026-02-25 13:51:53 +00:00

413 lines
3.4 KiB
Text

Int8 : Type
20
-20
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
[Compiler.IR] [result]
def _private.elab.sint_basic.0.myId8 (x_1 : u8) : u8 :=
ret x_1
def _private.elab.sint_basic.0.myId8._boxed (x_1 : tagged) : tagged :=
let x_2 : u8 := unbox x_1;
let x_3 : u8 := _private.elab.sint_basic.0.myId8 x_2;
let x_4 : tagged := box x_3;
ret x_4
Int16 : Type
20
-20
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
[Compiler.IR] [result]
def _private.elab.sint_basic.0.myId16 (x_1 : u16) : u16 :=
ret x_1
def _private.elab.sint_basic.0.myId16._boxed (x_1 : tagged) : tagged :=
let x_2 : u16 := unbox x_1;
let x_3 : u16 := _private.elab.sint_basic.0.myId16 x_2;
let x_4 : tagged := box x_3;
ret x_4
Int32 : Type
20
-20
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
[Compiler.IR] [result]
def _private.elab.sint_basic.0.myId32 (x_1 : u32) : u32 :=
ret x_1
def _private.elab.sint_basic.0.myId32._boxed (x_1 : tobj) : tobj :=
let x_2 : u32 := unbox x_1;
dec x_1;
let x_3 : u32 := _private.elab.sint_basic.0.myId32 x_2;
let x_4 : tobj := box x_3;
ret x_4
Int64 : Type
20
-20
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
[Compiler.IR] [result]
def _private.elab.sint_basic.0.myId64 (x_1 : u64) : u64 :=
ret x_1
def _private.elab.sint_basic.0.myId64._boxed (x_1 : obj) : obj :=
let x_2 : u64 := unbox x_1;
dec x_1;
let x_3 : u64 := _private.elab.sint_basic.0.myId64 x_2;
let x_4 : obj := box x_3;
ret x_4
ISize : Type
20
-20
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
true
[Compiler.IR] [result]
def _private.elab.sint_basic.0.myIdSize (x_1 : usize) : usize :=
ret x_1
def _private.elab.sint_basic.0.myIdSize._boxed (x_1 : tobj) : tobj :=
let x_2 : usize := unbox x_1;
dec x_1;
let x_3 : usize := _private.elab.sint_basic.0.myIdSize x_2;
let x_4 : tobj := box x_3;
ret x_4