lean4-htt/tests/elab/newfrontend1.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

144 lines
2.7 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

x : Nat
tst [1, 2, 3] : Nat
fun x y => x + y : Nat → Nat → Nat
tst (xs : List Nat) : Nat
fun stx =>
if True then
let e := stx;
pure e
else pure stx : Nat → Id Nat
let x := 1;
x : Nat
foo (@OfNat.ofNat.{0} Nat (nat_lit 1) (instOfNatNat (nat_lit 1)))
(@OfNat.ofNat.{0} Nat (nat_lit 10) (instOfNatNat (nat_lit 10))) Bool.true : Nat
foo (@OfNat.ofNat.{0} Nat (nat_lit 3) (instOfNatNat (nat_lit 3)))
(@OfNat.ofNat.{0} Nat (nat_lit 10) (instOfNatNat (nat_lit 10))) Bool.false : Nat
Nat.boo (a : Nat) : Nat
Bool.true : Bool
apply : String
0 + 1 : Nat
0 + 1 : Nat
0 + 1 + 0 : Nat
0 + 1 + 0 : Nat
x y z : Nat
h1 : y = z
a✝ : x = x
h3 : x = y
⊢ x = z
x y z : Nat
h1 : y = z
a✝ : x = x
h3 : x = y
⊢ x = z
(2, 3) : Nat × Nat
case h₁
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ x = ?b
case h₂
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ ?b = z
case b
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ Nat
case h₁
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ x = ?b
case h₂
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ ?b = z
case b
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ Nat
case h₂
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ y = z
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ x = z
case h₁
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ x = y
case h₂
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ y = z
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ x = z
case h₁
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ x = y
case h₂
x y z : Nat
h1 : y = z
h2 : x = x
h3 : x = y
⊢ y = z
x y z : Nat
h1 : y = z
h3 : x = y
⊢ x = z
blabla : Nat
fun {α : Sort u_1} (a : α) => a : {α : Sort u_1} → (a : α) → α
fun (α : Sort u_1) (a : α) => a : (α : Sort u_1) → (a : α) → α
let myid : {α : Type} → (a : α) → α := fun {α : Type} (a : α) => a;
@myid (List.{0} Nat)
(@List.cons.{0} Nat (@myid Nat (@OfNat.ofNat.{0} Nat (nat_lit 1) (instOfNatNat (nat_lit 1))))
(@List.nil.{0} Nat)) : List.{0} Nat
fun (α : Type u_1) (s : Add.{u_1} α) (a : α) =>
@HAdd.hAdd.{u_1, u_1, u_1} α α α (@instHAdd.{u_1} α s) a a : (α : Type u_1) → (s : Add.{u_1} α) → (a : α) → α
failed to synthesize instance of type class
HAdd.{0, 0, ?u} Nat Bool ?m
Hint: Type class instance resolution failures can be inspected with the `set_option trace.Meta.synthInstance true` command.
@HAdd.hAdd.{0, 0, u_1} Nat Bool ?m ?m (@OfNat.ofNat.{0} Nat (nat_lit 1) (instOfNatNat (nat_lit 1))) Bool.true : ?m
fun x => x + 1 : Nat → Nat
fun α a => a : (α : Sort u_1) → αα
@tst1 : {α : Type} → αα
fun x => x + 1 : Nat → Nat
@tst2a : {α : Type} → αα
@tst2b : {α : Type} → αα
x y z : Nat
h1 : y = z
h3 : x = y
⊢ x = z
20