lean4-htt/old_tests/tests/lean/1952.lean
2018-04-10 12:56:55 -07:00

16 lines
431 B
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.

structure foo :=
(fn : nat → nat)
(fn_ax : ∀ a : nat, fn a = a)
/-
set_option pp.all true
set_option pp.universes false -- universes are probably irrelevant
set_option pp.purify_metavars false
set_option trace.type_context.is_def_eq true
set_option trace.type_context.is_def_eq_detail true
-/
def bla : foo := { fn_ax := λ x, rfl }
instance foo2 (α : Type) : group α := { mul_assoc := λ x y z, rfl }