Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Isabelle/Archive-of-Formal-Proofs/thys/Isabelle_hoops/   (Sammlung formaler Beweise Version 2026-5©)  Datei vom 29.4.2026 mit Größe 2 kB image not shown  

Quelle  Posets.thy

  Sprache: Isabelle
 

sectionSome order tools: posets with explicit universe

theory Posets
imports Main "HOL-Library.LaTeXsugar"

begin

locale poset_on =
  fixes P :: "'b set"
  fixes P_lesseq :: "'b ==> 'b ==> bool" (infix P 60
  fixes P_less :: "'b ==> 'b ==> bool" (infix <\<^sup>P 60)
  assumes not_empty [simp]: "P "
  and reflex: "reflp_on P (P)"
  and antisymm: "antisymp_on P (P)"
  and trans: "transp_on P (P)"
  and strict_iff_order: "x P ==> y P ==> x <P y = (x P y x y)"
begin

lemma strict_trans:
  assumes "a P" "b P" "c P" "a <P b" "b <P c"
  shows "a <P c"
  using antisymm antisymp_onD assms trans strict_iff_order transp_onD
  by (smt (verit, ccfv_SIG))

end

locale bot_poset_on = poset_on +
  fixes bot :: "'b" (0P)
  assumes bot_closed: "0P P"
  and bot_first: "x P ==> 0P P x"

locale top_poset_on = poset_on +
  fixes top :: "'b" (1P)
  assumes top_closed: "1P P"
  and top_last: "x P ==> x P 1P"

locale bounded_poset_on  = bot_poset_on + top_poset_on

locale total_poset_on = poset_on +
  assumes total: "totalp_on P (P)"
begin

lemma trichotomy:
  assumes "a P" "b P"
  shows "(a <P b ¬(a = b b <P a))
         (a = b ¬(a <P b b <P a))
         (b <P a ¬(a = b a <P b))"
  using  antisymm antisymp_onD assms strict_iff_order total totalp_onD by metis

lemma strict_order_equiv_not_converse: 
  assumes "a P" "b P"
  shows "a <P b ¬(b P a)"
  using assms strict_iff_order reflex reflp_onD strict_trans trichotomy by metis

end
     
end

Messung V0.5 in Prozent
C=80 H=99 G=90

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

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.