Theory Codegenerator_Candidates

Up to index of Isabelle/HOL/ex

theory Codegenerator_Candidates
imports AssocList Binomial Commutative_Ring_Complete Dlist Enum List_Prefix Nat_Infinity Nested_Environment Option_ord Permutation Primes Product_ord Records RBT SetsAndFunctions While_Combinator


(* Author: Florian Haftmann, TU Muenchen *)

header {* A huge collection of equations to generate code from *}

theory Codegenerator_Candidates
imports
Complex_Main
AssocList
Binomial
"~~/src/HOL/Decision_Procs/Commutative_Ring_Complete"
Dlist
Fset
Enum
List_Prefix
More_List
Nat_Infinity
Nested_Environment
Option_ord
Permutation
"~~/src/HOL/Number_Theory/Primes"
Product_ord
"~~/src/HOL/ex/Records"
RBT
SetsAndFunctions
While_Combinator
begin


inductive sublist :: "'a list => 'a list => bool" where
empty: "sublist [] xs"
| drop: "sublist ys xs ==> sublist ys (x # xs)"
| take: "sublist ys xs ==> sublist (x # ys) (x # xs)"


code_pred sublist .

(*avoid popular infix*)
code_reserved SML upto

end