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


Quelle  PrivateInd.v   Sprache: Coq

 


Module M.
  Private Inductive foo := .
  Definition bar (A:Prop) (_:A=True) (x:foo) : A := match x with end.
End M.

Goal M.foo -> False.
Proof.
  Fail let c := eval cbv in c in
  match c with
    context c [True] =>
      (* ltac context instantiation calls Typing *)
      let c := context c [False] in
      exact c
  end.
  let c := open_constr:(M.bar False (ltac:(exact_no_check (eq_refl True)))) in
  let c := eval cbv in c in
    exact c.
(* check no goals remain *)
Unshelve.
all:fail.
Fail Qed.
Abort.

Fail Definition bar := Eval cbv in M.bar.

Module N.
  Private Inductive foo := C : nat -> nat -> foo.
  Definition use x := match x with C a b => a + b end.
End N.

Definition five := N.C 2 3.
Definition five' := Eval cbv in N.use five.
Check eq_refl : five' = 5.

Messung V0.5
C=96 H=97 G=96

¤ Dauer der Verarbeitung: 0.11 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 und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge