Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/structures/     Datei vom 28.9.2014 mit Größe 1 kB image not shown  

Quelle  finite_bags_lems.pvs   Sprache: PVS

 

finite_bags_lems[T: TYPE]: THEORY
%------------------------------------------------------------------------
%
% This theory establishes some more useful lemmas about finite bags
%
%    Authors:  Rick Butler               NASA Langley
%              David Griffioen           (CWI Amsterdam and KUN)
%              Lee Pike                  NASA Langley
%------------------------------------------------------------------------
BEGIN

   IMPORTING finite_bags[T], finite_bags_inductions[T]

   A,B : VAR finite_bag
   x   : VAR T

   card_bag_plus       : THEOREM card(plus(A,B)) = card(A) + card(B)

   card_bag_union      : THEOREM card(union(A,B)) = card(A) + card(B) -
                                               card(intersection(A,B))
 
   card_bag_disj_union : THEOREM disjoint?(A,B) IMPLIES 
                                    card(union(A,B)) = card(A) + card(B)

   card_subbag_strict  : THEOREM subbag?(A,B) AND member(x, B) AND NOT member(x, A) IMPLIES
                                   card(A) < card(B)

   card_subbag_strict2 : THEOREM subbag?(A,B) AND A(x) < B(x) IMPLIES
                                   card(A) < card(B)
  

END finite_bags_lems

Messung
CHZG
8210010094

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland