Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/output-coqtop/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 1 kB image not shown  

SSL CoercionOnHole.v   Sprache: unbekannt

 

Inductive expr :=
| Const: nat -> expr
| Add: expr -> expr -> expr.

Inductive eval: expr -> expr -> Prop :=
| EConst: forall n,
    eval (Const n) (Const n)
| EAdd: forall e1 v1 e2 v2,
    eval e1 (Const v1) ->
    eval e2 (Const v2) ->
    eval (Add e1 e2) (Const (v1 + v2)).

Coercion Const: nat >-> expr.

Lemma eval_total: forall e, exists v, eval e v.
Proof.
  induction e.
  - admit.
  - destruct IHe1 as [v1 IH1].
    eexists.
    eapply EAdd.
    + Fail exact IH1.
Abort.

97%


[ Verzeichnis aufwärts0.35unsichere Verbindung  Übersetzung europäischer Sprachen durch Browser  ]