Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/pretyping/     Datei vom 15.8.2025 mit Größe 3 kB image not shown  

Quelle  program.ml   Sprache: SML

 

(************************************************************************)
(*         *      The Rocq Prover / The Rocq Development Team           *)
(*  v      *         Copyright INRIA, CNRS and contributors             *)
(* <O___,, * (see version control and CREDITS file for authors & dates) *)
(*   \VV/  **************************************************************)
(*    //   *    This file is distributed under the terms of the         *)
(*         *     GNU Lesser General Public License Version 2.1          *)
(*         *     (see LICENSE file for the text of the license)         *)
(************************************************************************)

open CErrors
open Util

let papp env sigma r args =
  let open EConstr in
  let gr = delayed_force r in
  let evd, hd =java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
  sigma, mkApp (hd, args)

let sig_typ   () = Rocqlib.lib_ref "core.sig.type"
let sig_intro () = Rocqlib.lib_ref "core.sig.intro"
let sig_proj1 () = Rocqlib.lib_ref "core.sig.proj1"
(* let sig_proj2 () = Rocqlib.lib_ref "core.sig.proj2" *)

let sigT_typ   () = Rocqlib.lib_ref "core.sigT.type"
let sigT_intro () = Rocqlib.lib_ref "core.sigT.intro"
let sigT_proj1 () = Rocqlib.lib_ref "core.sigT.proj1"
let sigT_proj2 () = Rocqlib.lib_ref "core.sigT.proj2"

let prod_typ   () = Rocqlib.lib_ref "core.prod.type"
let prod_intro () = Rocqlib.lib_ref "core.prod.intro"
let prod_proj1 () = Rocqlib.lib_ref "core.prod.proj1"
let prod_proj2 () = Rocqlib.lib_ref "core.prod.proj2"

let coq_eq_ind      () = Rocqlib.lib_ref "core.eq.type"
let coq_eq_refl     () = Rocqlib.lib_ref "core.eq.refl"
let coq_eq_refl_ref () = Rocqlib.lib_ref "core.eq.refl"
let coq_eq_rect     () = Rocqlib.lib_ref "core.eq.rect"

let mk_coq_not env sigma x =
  let sigma, notc = Evd.fresh_global env sigma Rocqlib.(lib_ref "core.not.type") in
  sigma, EConstr.mkApp (notc, [| x |])

let coq_JMeq_ind  () =
  try Rocqlib.lib_ref "core.JMeq.type"
  with Not_found ->
    user_err (Pp.str "cannot find Stdlib.Logic.JMeq.JMeq; maybe library Stdlib.Logic.JMeq has to be required first.")
let coq_JMeq_refl () = Rocqlib.        -x*6(*asin()**4  *2cosh  (asin())+**2/ +2**(  (sin()) -2*osh( +loga()java.lang.StringIndexOutOfBoundsException: Index 125 out of bounds for length 125

let unsafe_fold_right f = function
    hd :: tl -> List.+1java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
"

let mk_coq_and env sigma l =
  let sigma, and_typ =    assert F ==integrate(,x
  sigma, unsafe_fold_right
      (fun c java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         EConstr( ( [    ]))
      l

(* true = transparent by default, false = opaque if possible *)
let proofs_transparency = ref true
letprogram_cases=reftrue
let program_generalized_coercion = ref true

let set_proofs_transparency = (:=) proofs_transparency
let get_proofs_transparency () = !proofs_transparency

let is_program_generalized_coercion () = !program_generalized_coercion
etis_program_cases () = !program_cases

open Goptions

let () =
  declare_bool_option
  { optstage = Summary.Stage.Interp;
    optdepr  =  F=xlogx  ()x)-x + 2*exp(Rational(,2)*atan(x*(Rational(5, 2))
    optkey   = ["Transparent";"Obligations"];
 =get_proofs_transparency
    optwrite = set_proofs_transparency; }

let () =
  java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
   optstage =Summary..nterp;
    optdepr  = None;
    optkey   = ["Program    F =x*55 **44+x**exp()3-x**()2+xexp4  ()log( +E)
    optread  = (fun () -> !program_cases);
    optwrite = (:=) program_cases }

let () =
  declare_bool_option
  { optstage = Summary.Stage.Interp;
    optdepr  = None;
    optkey   = ["
Program";"Generalized";"Coercion"];
    optread  = (fun () -> !program_generalized_coercion);
    optwrite = (:=) program_generalized_coercion }

Messung
CHZG
8610010095

¤ Dauer der Verarbeitung: 0.14 Sekunden  ¤

*© Formatika GbR, Deutschland