merged
authornipkow
Fri, 20 Nov 2015 15:51:50 +0100
changeset 61713 e346691e7f20
parent 61711 21d7910d6816 (current diff)
parent 61712 62ca03f46ba5 (diff)
child 61714 7c1ad030f0c9
merged
--- a/src/HOL/Data_Structures/Splay_Set.thy	Fri Nov 20 14:44:53 2015 +0000
+++ b/src/HOL/Data_Structures/Splay_Set.thy	Fri Nov 20 15:51:50 2015 +0100
@@ -77,7 +77,7 @@
 by(auto cong: case_tree_cong split: tree.split)
 
 definition is_root :: "'a \<Rightarrow> 'a tree \<Rightarrow> bool" where
-"is_root a t = (case t of Leaf \<Rightarrow> False | Node _ x _ \<Rightarrow> x = a)"
+"is_root x t = (case t of Leaf \<Rightarrow> False | Node l a r \<Rightarrow> x = a)"
 
 definition "isin t x = is_root x (splay x t)"