equal
deleted
inserted
replaced
2434 fn prem => fn additional_arguments => |
2434 fn prem => fn additional_arguments => |
2435 let |
2435 let |
2436 val [polarity, depth] = additional_arguments |
2436 val [polarity, depth] = additional_arguments |
2437 val polarity' = (case prem of Prem _ => I | Negprem _ => HOLogic.mk_not | _ => I) polarity |
2437 val polarity' = (case prem of Prem _ => I | Negprem _ => HOLogic.mk_not | _ => I) polarity |
2438 val depth' = |
2438 val depth' = |
2439 Const ("Algebras.minus", @{typ "code_numeral => code_numeral => code_numeral"}) |
2439 Const (@{const_name Groups.minus}, @{typ "code_numeral => code_numeral => code_numeral"}) |
2440 $ depth $ Const ("Algebras.one", @{typ "Code_Numeral.code_numeral"}) |
2440 $ depth $ Const (@{const_name Groups.one}, @{typ "Code_Numeral.code_numeral"}) |
2441 in [polarity', depth'] end |
2441 in [polarity', depth'] end |
2442 } |
2442 } |
2443 |
2443 |
2444 val random_comp_modifiers = Comp_Mod.Comp_Modifiers |
2444 val random_comp_modifiers = Comp_Mod.Comp_Modifiers |
2445 { |
2445 { |