Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/Isabelle/HOL/Prolog/   (Beweissystem Isabelle Version 2025-1©)  Datei vom 16.11.2025 mit Größe 1 kB image not shown  

Quelle  HOHH.thy   Sprache: Isabelle

 
(*  Title:    HOL/Prolog/HOHH.thy
    Author:   David von Oheimb (based on a lecture on Lambda Prolog by Nadathur)
*)


section \<open>Higher-order hereditary Harrop formulas\<close>

theory HOHH
imports HOL.HOL
begin

ML_file \<open>prolog.ML\<close>

method_setup ptac =
  \<open>Attrib.thms >> (fn thms => fn ctxt => SIMPLE_METHOD' (Prolog.ptac ctxt thms))\<close>
  "basic Lambda Prolog interpreter"

method_setup prolog =
  \<open>Attrib.thms >> (fn thms => fn ctxt => SIMPLE_METHOD (Prolog.prolog_tac ctxt thms))\<close>
  "Lambda Prolog interpreter"

syntax

(* D-formulas (programs):  D ::= !x. D | D .. D | D :- G | A            *)
  "_Dand" :: "[bool, bool] => bool"         (infixr \<open>..\<close> 28)
  "_Dif" :: "[bool, bool] => bool"         (infixl \<open>:-\<close> 29)

(* G-formulas (goals):     G ::= A | G & G | G | G | ? x. G
                               | True | !x. G | D => G                  *)

(*"_Dand'" :: "[bool, bool] => bool"         (infixr "," 35)*)
  "_Dimp" :: "[bool, bool] => bool"         (infixr \<open>=>\<close> 27)

translations

  "D :- G"      =>      "G --> D"
  "D1 .. D2"    =>      "D1 & D2"
(*"G1 , G2"     =>      "G1 & G2"*)
  "D => G"      =>      "D --> G"

end

84%


¤ Dauer der Verarbeitung: 0.2 Sekunden  (vorverarbeitet)  ¤

*© 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 ist noch experimentell.