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.
13 lines
479 B
Text
13 lines
479 B
Text
class ArrSort (α : Sort u1) where
|
||
Arr : α → α → Sort u2
|
||
class Arr (α : Sort u1) (γ : Sort u2) where
|
||
Arr : α → α → γ
|
||
infix:70 " ~> " => Arr.Arr
|
||
@[default_instance]
|
||
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₂)
|