mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 18:34:06 +00:00
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.
17 lines
1.1 KiB
Plaintext
17 lines
1.1 KiB
Plaintext
inductive isEvenList.{u_1} : {α : Type u_1} → List α → Prop
|
||
number of parameters: 1
|
||
constructors:
|
||
isEvenList.nil : ∀ (α : Type u_1), @isEvenList α (@List.nil α)
|
||
isEvenList.cons : ∀ {α : Type u_1} (h : α) {t : List α}, @isOddList α t → @isEvenList α (@List.cons α h t)
|
||
isEvenList.nil : ∀ (α : Type u_1), @isEvenList α (@List.nil α)
|
||
@isEvenList.cons : ∀ {α : Type u_1} (h : α) {t : List α}, @isOddList α t → @isEvenList α (@List.cons α h t)
|
||
@isOddList.cons : ∀ {α : Type u_1} (h : α) {t : List α}, @isEvenList α t → @isOddList α (@List.cons α h t)
|
||
isEvenList.nil Nat : @isEvenList Nat (@List.nil Nat)
|
||
@isEvenList.cons Nat (@OfNat.ofNat Nat (nat_lit 1) (instOfNatNat (nat_lit 1)))
|
||
(@List.cons Nat (@OfNat.ofNat Nat (nat_lit 2) (instOfNatNat (nat_lit 2))) (@List.nil Nat))
|
||
(@isOddList.cons Nat (@OfNat.ofNat Nat (nat_lit 2) (instOfNatNat (nat_lit 2))) (@List.nil Nat)
|
||
(isEvenList.nil
|
||
Nat)) : @isEvenList Nat
|
||
(@List.cons Nat (@OfNat.ofNat Nat (nat_lit 1) (instOfNatNat (nat_lit 1)))
|
||
(@List.cons Nat (@OfNat.ofNat Nat (nat_lit 2) (instOfNatNat (nat_lit 2))) (@List.nil Nat)))
|