Theory ModalFilter

subsection‹ModalFilter.thy (Figure 5 of \cite{J75})›
text‹Set filter and ultrafilter formalized for our modal logic setting.›
theory ModalFilter imports HOMLinHOL
begin 

type_synonym τ="eσ"
abbreviation Element::"τ(τσ)σ" (infix "" 90) where "φS  S φ"
abbreviation EmptySet::τ ("") where "  λx. " 
abbreviation UniversalSet::τ ("U") where "U  λx. "
abbreviation Subset::"ττσ" (infix "" 80) 
  where "φψ  x.((φ x)  (ψ x))"
abbreviation SubsetE::"ττσ" (infix "E" 80) 
  where "φEψ  Ex.((φ x)  (ψ x))"
abbreviation Intersection::"τττ" (infix "" 91) 
  where "φψ  λx.((φ x)  (ψ x))"
abbreviation Inverse::"ττ" ("¯") 
  where "¯ψ  λx. ¬(ψ x)" 
abbreviation "Filter Φ  UΦ  ¬(Φ) 
  (φ ψ. φΦ  φEψ  ψΦ)  (φ ψ. φΦ  ψΦ  φψΦ)"
abbreviation "UFilter Φ  Filter Φ  (φ. φΦ  (¯φ)Φ)"
abbreviation "FilterP Φ  UΦ  ¬(Φ)  (φ ψ. φΦ  φψ  ψΦ) 
  (φ ψ. φΦ  ψΦ  φψΦ)"
abbreviation "UFilterP Φ  FilterP Φ  (φ. φΦ  (¯φ)Φ)"

end