Eine aufbereitete Darstellung der Quelle

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


Quelle  cbv_let.v   Sprache: Coq

 

Record T : Type := Build_T { f : unit; g := pair f f; }.

Definition t : T := {| f := tt; |}.

Goal match t return unit with Build_T f g => f end = tt.
Proof.
cbv.
reflexivity.
Qed.

Goal match t return prod unit unit with Build_T f g => g end = pair tt tt.
Proof.
cbv.
reflexivity.
Qed.

Goal forall (x : T),
  match x return prod unit unit with Build_T f g => g end =
  pair match x return unit with Build_T f g => fst g end match x return unit with Build_T f g => snd g end.
Proof.
cbv.
destruct x.
reflexivity.
Qed.

Record U : Type := Build_U { h := tt }.

Definition u : U := Build_U.

Goal match u with Build_U h => h end = tt.
Proof.
cbv.
reflexivity.
Qed.

Messung
CHZG
859810094

¤ Dauer der Verarbeitung: 0.2 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