Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

einige Melodien

Quellcode-Bibliothek Def_Examples.thy  Sprache: unbekannt

 
(*  Title:      Pure/ex/Def_Examples.thy
    Author:     Makarius

Some examples for primitive definitions.
*)


theory Def_Examples
  imports Def
begin

section ‹Global definitions›

def "I x ≡ x"
def "K x y ≡ x"
def "S x y z ≡ (x z) (y z)"

lemma "I (I x) ≡ x"
  by simp

lemma "K a x ≡ K a y"
  by simp

lemma "S K K ≡ I"
  by simp


section ‹Locale definitions›

locale const =
  fixes a :: 'a
begin

def "fun b ≡ a"

lemma "fun x ≡ fun y"
  by simp

end

lemma "const.fun a x ≡ const.fun a y"
  by simp

end

Messung V0.5 in Prozent
C=94 H=92 G=92

[0.15QuellennavigatorsProjekt 2026-09-29]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126438
#Domains=1897691