fix(tests/lean/noncomp_theory,simlifier_light): fix tests
This commit is contained in:
parent
158acf878d
commit
0f81c2e65b
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
noncomp_theory.lean:4:0: error: definition 'f' is noncomputable, it depends on 'real.real_has_div'
|
noncomp_theory.lean:4:0: error: definition 'f' is noncomputable, it depends on 'real.discrete_linear_ordered_field'
|
||||||
noncomputable definition g : ℝ → ℝ → ℝ :=
|
noncomputable definition g : ℝ → ℝ → ℝ :=
|
||||||
λ (a : ℝ), div (a + a)
|
λ (a : ℝ), div (a + a)
|
||||||
definition r : ℕ → ℕ :=
|
definition r : ℕ → ℕ :=
|
||||||
|
|
|
@ -40,10 +40,10 @@ namespace s
|
||||||
open set
|
open set
|
||||||
universe l
|
universe l
|
||||||
constants (A : Type.{l}) (x y z v w : set A)
|
constants (A : Type.{l}) (x y z v w : set A)
|
||||||
attribute complement [light 2]
|
attribute compl [light 2]
|
||||||
|
|
||||||
-- TODO(dhs, leo): Where do we put this group of simp rules?
|
-- TODO(dhs, leo): Where do we put this group of simp rules?
|
||||||
attribute union_comp_self [simp]
|
attribute union_compl_self [simp]
|
||||||
lemma union_comp_self_left [simp] {X : Type} (s t : set X) : s ∪ (-s ∪ t)= univ := sorry
|
lemma union_comp_self_left [simp] {X : Type} (s t : set X) : s ∪ (-s ∪ t)= univ := sorry
|
||||||
|
|
||||||
attribute union_comm [simp]
|
attribute union_comm [simp]
|
||||||
|
@ -52,8 +52,8 @@ attribute union_left_comm [simp]
|
||||||
|
|
||||||
#simplify eq env 0 x ∪ y ∪ z ∪ -x
|
#simplify eq env 0 x ∪ y ∪ z ∪ -x
|
||||||
|
|
||||||
attribute inter_comp_self [simp]
|
attribute inter_compl_self [simp]
|
||||||
lemma inter_comp_self_left [simp] {X : Type} (s t : set X) : s ∩ (-s ∩ t)= empty := sorry
|
lemma inter_compl_self_left [simp] {X : Type} (s t : set X) : s ∩ (-s ∩ t)= empty := sorry
|
||||||
|
|
||||||
attribute inter_comm [simp]
|
attribute inter_comm [simp]
|
||||||
attribute inter_assoc [simp]
|
attribute inter_assoc [simp]
|
||||||
|
|
Loading…
Reference in a new issue