# HG changeset patch # User huffman # Date 1285891585 25200 # Node ID 19ddbededdd3c37eb0893476932004bff0b63368 # Parent d59b9531d6b06adced5adb169a218bea0d9ddd76 fixrec: rename match_cpair to match_Pair diff -r d59b9531d6b0 -r 19ddbededdd3 src/HOLCF/Fixrec.thy --- a/src/HOLCF/Fixrec.thy Wed Sep 15 13:26:21 2010 -0700 +++ b/src/HOLCF/Fixrec.thy Thu Sep 30 17:06:25 2010 -0700 @@ -118,9 +118,9 @@ "match_UU = strictify\(\ x k. fail)" definition - match_cpair :: "'a::cpo \ 'b::cpo \ ('a \ 'b \ 'c match) \ 'c match" + match_Pair :: "'a::cpo \ 'b::cpo \ ('a \ 'b \ 'c match) \ 'c match" where - "match_cpair = (\ x k. csplit\k\x)" + "match_Pair = (\ x k. csplit\k\x)" definition match_spair :: "'a \ 'b \ ('a \ 'b \ 'c match) \ 'c match" @@ -162,9 +162,9 @@ "x \ \ \ match_UU\x\k = fail" by (simp_all add: match_UU_def) -lemma match_cpair_simps [simp]: - "match_cpair\(x, y)\k = k\x\y" -by (simp_all add: match_cpair_def) +lemma match_Pair_simps [simp]: + "match_Pair\(x, y)\k = k\x\y" +by (simp_all add: match_Pair_def) lemma match_spair_simps [simp]: "\x \ \; y \ \\ \ match_spair\(:x, y:)\k = k\x\y" @@ -248,7 +248,7 @@ (@{const_name sinl}, @{const_name match_sinl}), (@{const_name sinr}, @{const_name match_sinr}), (@{const_name spair}, @{const_name match_spair}), - (@{const_name Pair}, @{const_name match_cpair}), + (@{const_name Pair}, @{const_name match_Pair}), (@{const_name ONE}, @{const_name match_ONE}), (@{const_name TT}, @{const_name match_TT}), (@{const_name FF}, @{const_name match_FF}),