Skip to content
Snippets Groups Projects
Commit 82138115 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Remove Existing Class Is_true.

Having Is_true as a type class caused problems with rewrite: when the
rewrited lemma has a premise of the shape Is_true, the rewrite tactic
will complain that it cannot find a type class instance, instead
of generating a goal for that premise.
parent 160cd18c
No related branches found
No related tags found
No related merge requests found
...@@ -375,8 +375,6 @@ Notation zip := (zip_with pair). ...@@ -375,8 +375,6 @@ Notation zip := (zip_with pair).
Coercion Is_true : bool >-> Sortclass. Coercion Is_true : bool >-> Sortclass.
Hint Unfold Is_true. Hint Unfold Is_true.
Hint Immediate Is_true_eq_left. Hint Immediate Is_true_eq_left.
Existing Class Is_true.
Instance true_Is_true : Is_true true := I.
Hint Resolve orb_prop_intro andb_prop_intro. Hint Resolve orb_prop_intro andb_prop_intro.
Notation "(&&)" := andb (only parsing). Notation "(&&)" := andb (only parsing).
Notation "(||)" := orb (only parsing). Notation "(||)" := orb (only parsing).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment