lean4-htt/tests/lean/353.lean
2021-03-16 17:31:51 -07:00

13 lines
478 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.

class ArrSort (α : Sort u1) where
Arr : αα → Sort u2
class Arr (α : Sort u1) (γ : Sort u2) where
Arr : ααγ
infix:70 " ~> " => Arr.Arr
@[defaultInstance]
instance inst1 {α : Sort _} [ArrSort α] : Arr α (Sort _) := { Arr := ArrSort.Arr }
instance inst2 : ArrSort Prop := { Arr := λ a b => a → b }
set_option pp.all true
set_option trace.Meta.debug true
structure Function' where
map : ∀ {a₁ a₂ : Bool}, (a₁ ~> a₂) ~> (a₁ ~> a₂)