Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/layout/reftests/text-decoration/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  bug_15088.v   Sprache: Coq

 
Module Err1.
  Axiom u:unit.
  Axiom p:unit -> unit * unit.

  Lemma foo : let (r, n) := p u in n = n.
  Proof.
    set (t := _ u).
    clearbody t.
    destruct t as [_ []].
    exact (eq_refl tt).
  Qed.
End Err1.

Module Err2.

  Inductive lookahead_action (term:unit) := Shift_act.

  Class IsValidator (P : Prop) (b : bool) := {}.

  Global Hint Extern 2 (IsValidator (match ?u with _ => _ end) ?b0) =>
    let b := fresh "b" in
    unshelve notypeclasses refine (let b : bool := _ in _);
    [destruct u; intros; shelve|];
    unify b b0;
    unfold b; destruct u; clear b
    : typeclass_instances.

  Axiom Awt : forall t:unit, lookahead_action t.

  Lemma foo x0
    : exists g:bool, forall x1,
        IsValidator
          match x0 with
          | tt =>
            match Awt x1 with
            | Shift_act _ => False
            end
          end g.
  Proof.
    eexists.
    Fail apply _.
  Abort.

End Err2.

Messung V0.5
C=97 H=92 G=94

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