chore(tests/lean/run): disable/fix tests

This commit is contained in:
Leonardo de Moura 2016-06-10 16:57:04 -07:00
parent 989dbcb265
commit f51868240f
308 changed files with 420 additions and 120 deletions

View file

@ -1,3 +1,4 @@
exit
import algebra.group
open algebra

View file

@ -1,3 +1,4 @@
exit
structure is_tr [class] (A : Type) : Type :=
(x : A)

View file

@ -1,3 +1,4 @@
exit
variables {P Q R : Prop}
theorem foo (H : P → Q → R) (x : P) : Q → R :=
begin

View file

@ -1,3 +1,4 @@
exit
variables {a : Type}
definition foo (A : Type) : A → A :=

View file

@ -1,3 +1,4 @@
exit
constants (A : Type₁) (P : A → Type₁) (H : Π{a b : A}, P a → P b) (a b : A) (K : P a)
theorem foo : P b :=

View file

@ -1,3 +1,4 @@
exit
open eq
section

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.list
inductive typ : Type :=

View file

@ -1,3 +1,4 @@
exit
example (a b c : nat) (h₁ : a = b) (h₂ : b = c) : b = c :=
begin
(exact h₁ | exact h₂)

View file

@ -1,3 +1,4 @@
exit
open nat
example (a b : nat) (P : nat → Prop) (H₁ : a = b) (H₂ : P a) : P b :=

View file

@ -1,3 +1,4 @@
exit
open nat
variables (P : → Prop)

View file

@ -1,3 +1,4 @@
exit
theorem tst (a b : Prop) (H : ¬ a ¬ b) (Hb : b) : ¬ a ∧ b :=
begin
apply and.intro,

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat algebra

View file

@ -1,3 +1,4 @@
exit
open bool
definition to_pred {A : Type} (p : A → bool) : A → Prop :=

View file

@ -1,3 +1,4 @@
exit
open nat
inductive type : Type :=

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat
example (n : ) : n + 1 = succ n :=

View file

@ -1,3 +1,4 @@
exit
definition bar := bool
example (b : bar) : bool :=
begin

View file

@ -1,3 +1,4 @@
exit
import data.list
open list bool nat

View file

@ -1,3 +1,4 @@
exit
open nat
definition seq_diagram (A : → Type) : Type := (Πn, A n → A (succ n))
variables (A : → Type) (f : seq_diagram A)

View file

@ -1,3 +1,4 @@
exit
variable P : Prop
premise HP : P

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import algebra.group
open algebra

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat algebra

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
constant f {A : Type} (a : A) {B : Type} (b : B) : nat
example (a b c d : nat) : a = c → b = d → f a b = f c d :=

View file

@ -1,3 +1,4 @@
exit
structure is_trunc [class] (A : Type) : Type
theorem foo (A : Type) [H : is_trunc A] (B : Type) : B := sorry

View file

@ -1,3 +1,4 @@
exit
example (a b c : Prop) : a ∧ b → b ∧ a :=
begin
intro H,

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat eq.ops algebra

View file

@ -1,3 +1,4 @@
exit
import logic.eq
open tactic

View file

@ -1,3 +1,4 @@
exit
import logic
open tactic

View file

@ -1,3 +1,5 @@
exit
set_option blast.strategy "preprocess"
example (a b : Prop) (Ha : a) (Hb : b) : a :=

View file

@ -1,3 +1,4 @@
exit
import data.list
set_option blast.strategy "unit"

View file

@ -1,3 +1,5 @@
exit
import data.nat
open algebra nat

View file

@ -1,3 +1,5 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,5 @@
exit
import data.list
open perm
set_option blast.strategy "cc"

View file

@ -1,3 +1,5 @@
exit
set_option blast.init_depth 10
set_option blast.inc_depth 1000

View file

@ -1,3 +1,5 @@
exit
definition lemma1 (p : nat → Prop) (q : nat → nat → Prop) : (∃ x y, p x ∧ q x y) → q 0 0 ∧ q 1 1 → (∃ x, p x) :=
by blast

View file

@ -1,3 +1,5 @@
exit
set_option trace.blast true
example (p q : Prop) : p q → q p :=

View file

@ -1,3 +1,5 @@
exit
set_option blast.strategy "preprocess"
example (p q r : Prop) (a b : nat) : true → a = a → q → q → p → p :=

View file

@ -1,3 +1,4 @@
exit
-- Backward chaining with tagged rules
set_option blast.strategy "backward"
constants {P Q R S T U : Prop} (Hpq : P → Q) (Hqr : Q → R) (Hrs : R → S) (Hst : S → T)

View file

@ -1,3 +1,4 @@
exit
-- Backward chaining with hypotheses
set_option blast.strategy "backward"
constants {P Q R S T U : Prop}

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "preprocess"
example (a b : Prop) : forall (Ha : a) (Hb : b), a :=

View file

@ -1,3 +1,5 @@
exit
open nat
example : ∀ (P Q : nat → Prop), (∀n, Q n → P n) → (∀n, Q n) → P 2 :=

View file

@ -1,3 +1,5 @@
exit
namespace ex
set_option blast.strategy "backward"

View file

@ -1,3 +1,4 @@
exit
-- TODO(Leo): use better strategy
set_option blast.strategy "constructor"

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "preprocess"
lemma T1 (a b : Prop) : false → a :=

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "preprocess"
example (a b : nat) : a = b → b = a :=

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "preprocess"
lemma lemma1 (bv : nat → Type) (n m : nat) (H : n = m) (b1 : bv n) (b2 : bv m) (H2 : eq.rec_on H b1 = b2) : b1 = eq.rec_on (eq.symm H) b2 :=

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "preprocess"
lemma lemma1 (p : Prop) (a b : nat) : a = b → p → p :=

View file

@ -1,3 +1,4 @@
exit
open nat
set_option blast.strategy "preprocess"

View file

@ -1,3 +1,4 @@
exit
import data.list
open list
set_option blast.strategy "preprocess"

View file

@ -1,3 +1,4 @@
exit
constant r : nat → Prop
constant p : nat → Prop

View file

@ -1,3 +1,4 @@
exit
constants (P : → Prop) (R : Prop)
lemma foo [intro!] : (: P 0 :) → R := sorry
constants (P0 : P 0)

View file

@ -1,3 +1,4 @@
exit
constants P Q : Prop
namespace with_classical

View file

@ -1,3 +1,4 @@
exit
import data.list
constant f {A : Type} : A → A → A

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
definition t1 (a b : nat) : (a = b ↔ a = b) :=

View file

@ -1,3 +1,4 @@
exit
import data.list
set_option blast.strategy "cc"

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "simple"
definition foo1 (a b : nat) (p : Prop) : a = b → (b = a → p) → p :=

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
example (p : nat → nat → Prop) (f : nat → nat) (a b c d : nat) :

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
constant R : nat → nat → Prop

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
example (a b c d : nat) : a == b → b = c → c == d → a == d :=

View file

@ -1,3 +1,4 @@
exit
open nat
set_option blast.strategy "cc"

View file

@ -1,3 +1,4 @@
exit
open nat
set_option blast.strategy "cc"

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
example (a b c : Prop) : (a ↔ b) → ((a ∧ (c b)) ↔ (b ∧ (c a))) :=

View file

@ -1,3 +1,4 @@
exit
import data.list
set_option blast.strategy "cc"
open perm list

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
example (a b c d : Prop)

View file

@ -1,3 +1,4 @@
exit
import data.list
open perm
set_option blast.strategy "cc"

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
set_option blast.cc.heq true -- make sure heterogeneous congruence lemmas are enabled

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
set_option blast.cc.heq true -- make sure heterogeneous congruence lemmas are enabled

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
set_option blast.cc.heq true -- make sure heterogeneous congruence lemmas are enabled

View file

@ -1,3 +1,4 @@
exit
universes l1 l2 l3 l4 l5 l6
constants (A : Type.{l1}) (B : A → Type.{l2}) (C : ∀ (a : A) (ba : B a), Type.{l3})
(D : ∀ (a : A) (ba : B a) (cba : C a ba), Type.{l4})

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
set_option blast.cc.heq true

View file

@ -1,3 +1,4 @@
exit
import data.unit
open unit

View file

@ -1,3 +1,4 @@
exit
open nat subtype
definition f (x : nat) (y : {n : nat | n > x}) : nat :=

View file

@ -1,3 +1,4 @@
exit
open subtype
set_option blast.strategy "cc"

View file

@ -1,3 +1,4 @@
exit
set_option blast.strategy "cc"
example (C : nat → Type) (f : Π n, C n → C n) (n m : nat) (c : C n) (d : C m) :

View file

@ -1,3 +1,4 @@
exit
import data.list
open nat

View file

@ -1,3 +1,4 @@
exit
import data.unit
open nat unit

View file

@ -1,3 +1,4 @@
exit
import data.unit
open nat unit

View file

@ -1,3 +1,4 @@
exit
constant P : Type₁
constant P_sub : subsingleton P
attribute P_sub [instance]

View file

@ -1,3 +1,4 @@
exit
constants (P : → Prop) (Q : Prop)
lemma foo [intro!] [forward] : (: P 0 :) → Q := sorry
example : P 0 → Q :=

View file

@ -1,3 +1,4 @@
exit
open subtype nat
constant f : Π (a : nat), {b : nat | b > a} → nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat
constant f : nat → nat

View file

@ -1,3 +1,4 @@
exit
attribute iff [reducible]
set_option blast.strategy "ematch"

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat
constant f : nat → nat

View file

@ -1,3 +1,4 @@
exit
import algebra.ring data.nat
namespace foo

View file

@ -1,3 +1,4 @@
exit
import data.nat
open algebra nat

View file

@ -1,3 +1,4 @@
exit
constant subt : nat → nat → Prop
lemma subt_trans [forward] {a b c : nat} : subt a b → subt b c → subt a c :=

View file

@ -1,3 +1,4 @@
exit
import algebra.ring data.nat
open algebra

View file

@ -1,3 +1,4 @@
exit
import algebra.group
open algebra

View file

@ -1,3 +1,4 @@
exit
constant P : nat → Prop
definition h [reducible] (n : nat) := n
definition foo [forward] : ∀ x, P (h x) := sorry

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

View file

@ -1,3 +1,4 @@
exit
import data.nat
open algebra nat

View file

@ -1,3 +1,4 @@
exit
import algebra.group
variable {A : Type}

View file

@ -1,3 +1,4 @@
exit
import data.nat
open nat

Some files were not shown because too many files have changed in this diff Show more