(* Title: Sequents/LK.thy Author: Lawrence C Paulson, Cambridge University Computer Laboratory Copyright 1993 University of Cambridge Axiom to express monotonicity (a variant of the deduction theorem). Makes the link between ⊨ and ==>, needed for instance to prove imp_cong. Axiom left_cong allows the simplifier to use left-side formulas. Ideally it should be derived from lower-level axioms. CANNOT be added to LK0.thy because modal logic is built upon it, and various modal rules would become inconsistent. *)
theory LK imports LK0 begin
axiomatizationwhere
monotonic: "($H ⊨ P ==> $H ⊨ Q) ==> $H, P ⊨ Q"and
lemma conj_simps: "⊨ P ∧ True ⟷ P" "⊨ True ∧ P ⟷ P" "⊨ P ∧ False ⟷ False" "⊨ False ∧ P ⟷ False" "⊨ P ∧ P ⟷ P" "⊨ P ∧ P ∧ Q ⟷ P ∧ Q" "⊨ P ∧¬ P ⟷ False" "⊨¬ P ∧ P ⟷ False" "⊨ (P ∧ Q) ∧ R ⟷ P ∧ (Q ∧ R)" by (fast add!: subst)+
lemma disj_simps: "⊨ P ∨ True ⟷ True" "⊨ True ∨ P ⟷ True" "⊨ P ∨ False ⟷ P" "⊨ False ∨ P ⟷ P" "⊨ P ∨ P ⟷ P" "⊨ P ∨ P ∨ Q ⟷ P ∨ Q" "⊨ (P ∨ Q) ∨ R ⟷ P ∨ (Q ∨ R)" by (fast add!: subst)+
lemma quant_simps: "∧P. ⊨ (∀x. P) ⟷ P" "∧P. ⊨ (∀x. x = t ⟶ P(x)) ⟷ P(t)" "∧P. ⊨ (∀x. t = x ⟶ P(x)) ⟷ P(t)" "∧P. ⊨ (∃x. P) ⟷ P" "∧P. ⊨ (∃x. x = t ∧ P(x)) ⟷ P(t)" "∧P. ⊨ (∃x. t = x ∧ P(x)) ⟷ P(t)" by (fast add!: subst)+
subsection‹Miniscoping: pushing quantifiers in›
text‹ We do NOT distribute of ∀ over ∧, or dually that of ∃ over ∨ Baaz and Leitsch, On Skolemization and Proof Complexity (1994) show that this step can increase proof length! ›
lemma eq_imp_subst: "⊨ a = b ==> $H, A(a), $G ⊨ $E, A(b), $F" by simp
lemma split_if: "⊨ P(if Q then x else y) ⟷ ((Q ⟶ P(x)) ∧ (¬ Q ⟶ P(y)))" apply (rule_tac P = Q in cut) prefer 2 apply (simp add: if_P) apply (rule_tac P = "¬ Q"in cut) prefer 2 apply (simp add: if_not_P) apply fast done
lemma if_cancel: "⊨ (if P then x else x) = x" apply (lem split_if) apply fast done
lemma if_eq_cancel: "⊨ (if x = y then y else x) = x" apply (lem split_if) apply safe apply (rule symL) apply (rule basic) done
end
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.17Bemerkung:
(vorverarbeitet am 2026-04-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.