src/HOL/Nitpick_Examples/Special_Nits.thy
changeset 35284 9edc2bd6d2bd
parent 35075 6fd1052fe463
child 35312 99cd1f96b400
equal deleted inserted replaced
35283:7ae51d5ea05d 35284:9edc2bd6d2bd
     9 
     9 
    10 theory Special_Nits
    10 theory Special_Nits
    11 imports Main
    11 imports Main
    12 begin
    12 begin
    13 
    13 
    14 nitpick_params [sat_solver = MiniSat_JNI, max_threads = 1, timeout = 60 s,
    14 nitpick_params [card = 4, sat_solver = MiniSat_JNI, max_threads = 1,
    15                 card = 4]
    15                 timeout = 60 s]
    16 
    16 
    17 fun f1 :: "nat \<Rightarrow> nat \<Rightarrow> nat \<Rightarrow> nat \<Rightarrow> nat \<Rightarrow> nat" where
    17 fun f1 :: "nat \<Rightarrow> nat \<Rightarrow> nat \<Rightarrow> nat \<Rightarrow> nat \<Rightarrow> nat" where
    18 "f1 a b c d e = a + b + c + d + e"
    18 "f1 a b c d e = a + b + c + d + e"
    19 
    19 
    20 lemma "f1 0 0 0 0 0 = f1 0 0 0 0 (1 - 1)"
    20 lemma "f1 0 0 0 0 0 = f1 0 0 0 0 (1 - 1)"