Eine aufbereitete Darstellung der Quelle

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


Quelle  mutual_record.v   Sprache: Coq

 

Module M0.

Inductive foo (A : Type) := Foo {
  foo0 : option (bar A);
  foo1 : nat;
  foo2 := foo1 = 0;
  foo3 : foo2;
}

with bar (A : Type) := Bar {
  bar0 : A;
  bar1 := 0;
  bar2 : bar1 = 0;
  bar3 : nat -> foo A;
}.

End M0.

Module M1.

Set Primitive Projections.

Inductive foo (A : Type) := Foo {
  foo0 : option (bar A);
  foo1 : nat;
  foo2 := foo1 = 0;
  foo3 : foo2;
}

with bar (A : Type) := Bar {
  bar0 : A;
  bar1 := 0;
  bar2 : bar1 = 0;
  bar3 : nat -> foo A;
}.

End M1.

Module M2.

Set Primitive Projections.

CoInductive foo (A : Type) := Foo {
  foo0 : option (bar A);
  foo1 : nat;
  foo2 := foo1 = 0;
  foo3 : foo2;
}

with bar (A : Type) := Bar {
  bar0 : A;
  bar1 := 0;
  bar2 : bar1 = 0;
  bar3 : nat -> foo A;
}.

End M2.

Messung
CHZG
859810094

¤ Dauer der Verarbeitung: 0.10 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,308
#Domains=919,452