text‹
begin{remark}
In order to define general quantifiers that can act
on individuals as well as relations a type class
is introduced which assumes the semantics of the all quantifier.
This type class is then instantiated for individuals and
relations.
end{remark} ›
class quantifiable = fixes forall :: "('a==>o)==>o" (binder‹\∀› [8] 9) assumes quantifiable_T8: "(w ⊨ (\<forall> x . ψ x)) = (∀ x . (w ⊨ (ψ x)))" begin end
lemma (in Semantics) T8: shows"(w ⊨\<forall> x . ψ x) = (∀ x . (w ⊨ ψ x))" using quantifiable_T8 .
instantiation ν :: quantifiable begin definition forall_ν :: "(ν==>o)==>o"where"forall_ν ≡ forall\<nu>" instanceproof fix w :: i and ψ :: "ν==>o" show"(w ⊨\<forall>x. ψ x) = (∀x. (w ⊨ ψ x))" unfolding forall_ν_defusing Semantics.T8_ν . qed end
instantiationo :: quantifiable begin definition forall_o :: "(o==>o)==>o"where"forall_o≡ forall\<o>" instanceproof fix w :: i and ψ :: "o==>o" show"(w ⊨\<forall>x. ψ x) = (∀x. (w ⊨ ψ x))" unfolding forall_o_defusing Semantics.T8_o . qed end
instantiation Π1 :: quantifiable begin definition forall_Π1 :: "(Π1==>o)==>o"where"forall_Π1≡ forall1" instanceproof fix w :: i and ψ :: "Π1==>o" show"(w ⊨\<forall>x. ψ x) = (∀x. (w ⊨ ψ x))" unfolding forall_Π1_defusing Semantics.T8_1 . qed end
instantiation Π2 :: quantifiable begin definition forall_Π2 :: "(Π2==>o)==>o"where"forall_Π2≡ forall2" instanceproof fix w :: i and ψ :: "Π2==>o" show"(w ⊨\<forall>x. ψ x) = (∀x. (w ⊨ ψ x))" unfolding forall_Π2_defusing Semantics.T8_2 . qed end
instantiation Π3 :: quantifiable begin definition forall_Π3 :: "(Π3==>o)==>o"where"forall_Π3≡ forall3" instanceproof fix w :: i and ψ :: "Π3==>o" show"(w ⊨\<forall>x. ψ x) = (∀x. (w ⊨ ψ x))" unfolding forall_Π3_defusing Semantics.T8_3 . qed end
(*<*) end (*>*)
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-10)
¤
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.