src/HOL/Tools/Presburger/cooper_proof.ML
changeset 15661 9ef583b08647
parent 15531 08c8dad8e399
child 16389 48832eba5b1e
equal deleted inserted replaced
15660:255055554c67 15661:9ef583b08647
   378 (*==================================================*)
   378 (*==================================================*)
   379 (*   Finding rho for modd_minusinfinity             *)
   379 (*   Finding rho for modd_minusinfinity             *)
   380 (*==================================================*)
   380 (*==================================================*)
   381 fun rho_for_modd_minf x dlcm sg fm1 =
   381 fun rho_for_modd_minf x dlcm sg fm1 =
   382 let
   382 let
   383     (*SOME certified Terms*)
   383     (*Some certified Terms*)
   384     
   384     
   385    val ctrue = cterm_of sg HOLogic.true_const
   385    val ctrue = cterm_of sg HOLogic.true_const
   386    val cfalse = cterm_of sg HOLogic.false_const
   386    val cfalse = cterm_of sg HOLogic.false_const
   387    val fm = norm_zero_one fm1
   387    val fm = norm_zero_one fm1
   388   in  case fm1 of 
   388   in  case fm1 of 
   474 (* -------------------------------------------------------------*)
   474 (* -------------------------------------------------------------*)
   475 (*                    Finding rho for pinf_modd                 *)
   475 (*                    Finding rho for pinf_modd                 *)
   476 (* -------------------------------------------------------------*)
   476 (* -------------------------------------------------------------*)
   477 fun rho_for_modd_pinf x dlcm sg fm1 = 
   477 fun rho_for_modd_pinf x dlcm sg fm1 = 
   478 let
   478 let
   479     (*SOME certified Terms*)
   479     (*Some certified Terms*)
   480     
   480     
   481   val ctrue = cterm_of sg HOLogic.true_const
   481   val ctrue = cterm_of sg HOLogic.true_const
   482   val cfalse = cterm_of sg HOLogic.false_const
   482   val cfalse = cterm_of sg HOLogic.false_const
   483   val fm = norm_zero_one fm1
   483   val fm = norm_zero_one fm1
   484  in  case fm1 of 
   484  in  case fm1 of