Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/PVS/numbers/   (PVS Prover Version 6.0.9©)  Datei vom 28.9.2014 mit Größe 844 B image not shown  

Quelle  prime_factorization.pvs

  Sprache: PVS
 

prime_factorization: THEORY
BEGIN

   IMPORTING ints@primes

   m: VAR posnat
   N,n: VAR nat


   IMPORTING reals@product_fseq_posnat

   fs: VAR fseq

   prime_factorization: LEMMA FORALL m:
                                (EXISTS fs: m = product(fs) AND
                                   (FORALL (i: below(length(fs))): 
                                           prime?(seq(fs)(i))))



   list_of_primes?(fs): bool = (FORALL (i: below(length(fs))): prime?(seq(fs)(i)))

   IMPORTING product_perm_lems

   ordered_list_of_primes?(fs): bool = list_of_primes?(fs) AND
                                       non_decreasing?(fs)
   
   prime_factors: LEMMA FORALL (m: posnat): 
                            (EXISTS fs: m = product_fseq_posnat.product(fs) AND
                               ordered_list_of_primes?(fs))

END prime_factorization

Messung V0.5 in Prozent
C=100 H=60 G=82

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet am  2026-06-15) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.