SSL atp_proof.ML   Interaktion und
PortierbarkeitSML

 
:
    java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
Author -(  listatp_formula_role
  val spass_skolemize_rulestring
Author   

Abstract')ATP_Problematp_formula
java.lang.StringIndexOutOfBoundsException: Range [4, 2) out of bounds for length 58

signatureval  a  atp_failure )list -atp_failure
 ool  *  > ) >java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  type 'val - s list
    :string -java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
  type atp_formula_role = ATP_Problem.atp_formula_role
   (a :  -   java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
  type'aatp_problem='aATP_Problemtp_problem

  exceptionstring    nasty_atp_proof:string.table>atp_proof> java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83

  datatype atp_failure =
    MaybeUnprovable
structure  : >
    GaveUp |
    ProofMissing |
    ProofIncomplete |
    ProofUnparsable |
    UnsoundProof of bool * string listjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 |
    Inappropriatevalalt_ergoN ""valparse_line:bool>-' stringATP_Problematp_problem_linelistl >
OutOfResources
    MalformedInput |
    (,',(, .).atp_term,
    Interrupted |
    Crashed |
    InternalError |
    *string string dlistlist  * java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58

  type atp_step_name = string * string list
  type' bval iproverN iproverjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 24
    tp_step_nameatp_formula_rolea**atp_step_name

  type 'a atp_proof = (('       >  option

  valjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
val  "satp_proof
    java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
     
  val iproverN : string
    : 
  val leo3N java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  alspassN:string
  val vampireN : string
  val veritN :     java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
 waldmeisterN 
  val z3N  =leo3
  val zipperpositionN ="atallax"
  val v  =java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
  al s
  val dummy_tfxN :   =""
  

     zipperposition
    =Inp
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   dummy_thfN""
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0

  spass_pre_skolemize_rule_java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
  val zipperposition_define_rule"
  val extract_known_atp_failure :
  valextract_tstplike_proof_and_outcome
    bool -> (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
>string*atp_failurejava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
    atp_step_name> >java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
  val scan_general_id :   |
 parse_fol_formula:  >
    (stringstring atp_type, (stringstring atp_type) atp_term, string) atp_formula * M |
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
  :-string   -  atp_proof
  val nasty_atp_proof : stringjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6

  java.lang.StringIndexOutOfBoundsException: Range [0, 5) out of bounds for length 0

    ('| ="Gaveupjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
  val dummy_atype : string ATP_Problem.atp_type
  val  : string- ATP_Problemjava.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
  val parse_line : bool -    "likelyduetotheuse "
) * ATP_Problem *
stringb(atp_type.java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
      'c) TimedOut=Timedoutjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    * string * 
valcore_inference:'>' >'b ')*.java.lang.StringIndexOutOfBoundsException: Index 82 out of bounds for length 82
, ,e .,'Aa*' java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
val  java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
  vals( )=
  val string_of_atp_step : ('a -> string) -> ('b -    ProverimedOutjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

  val atp_proof_of_tstplike_proof : bool -> string -> string atp_problem   (casefirst_field  of
    string     ( first_field"\n" tailof
  val atp_abduce_candidates_of_output :      
(string        java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13


        | =>") from_lemmas ="from"^ Tryerial_commas" quotessjava.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
struct

open ATP_Util
open   NONE=> ")

val
val alt_ergoN = "alt_ergo"
valvc5N =cvc5java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
val|   "roof java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 62
val lemma\False"^ s java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 pply2(find_firstfn s> s )) .delims of
valjava.lang.StringIndexOutOfBoundsException: Range [25, 4) out of bounds for length 91
val satallaxN_>""
val spassN extract_known_atp_failure output
 vampireN=""
val veritN  >find_first fn_ )= String",   inconsistent or"\" "
alwaldmeisterN= "waldmeisterjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
val z3N "3"
val zipperpositionN = "zipperposition"
val    OutOfResources=" of resources"

dummy_fofN   string_of_atp_failure  Malformedoutput
val|    val tstplike_proof extract_tstplike_proofproof_delimsoutput
val 

val     |s Crashed="Crashed"
np"
|string_of_atp_failure (UnknownError s      (, SOME >""NONE
val    |(_,SOME >(",NONE)
val zipperposition_define_rule = "define" (* arbitrary *)

exception UNRECOGNIZED_ATP_PROOF 

datatype atp_failure", SOME UnknownError(short_output verbose output)java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
  MaybeUnprovable |
  Unprovable |
  GaveUp |
  ProofMissing |
  ProofIncomplete |
  ProofUnparsable |
  UnsoundProof ofSOME(_ )=java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
  TimedOut |
  Inappropriate|(,)>(, NONE)
  OutOfResources        if  = " then
  MalformedInput |
  MalformedOutput |
  Interruptedtype =  *   tail
  meatp_step ((s1_) (s2 _  s1=s2
  InternalError |
  UnknownError vampire_fact_prefix ""

fun  verbose =
  ifSOMEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
       java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 29
  
    java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59

fun from_lemmas [] = ""
      caseapply2Int operhapstryunprefix))q of

 string_of_atp_failureMaybeUnprovable=" unprovablejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
tp_failure java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
|  | string_of_atp_failureend_delim  extract_delimitedbegin_delimend_delim) output
  | string_of_atp_failure ProofMissing = "Proof missing"
tring_of_atp_failureProofIncomplete ="Proofincompletejava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
"Proof unparsable"
  | string_of_atp_failurejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"the\"\"^ss java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    ", likely due to the use ofjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
o   with "$" and possibly "
    "val =
    ", likely due to $ ""|-Scanrepeat($ ')-|$"">
  | string_of_atp_failure TimedOut = "Timed out"
  | string_of_atp_failure Inappropriate =  |(. $ $)- . .is_letdig( oimplodejava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
|string_of_atp_failureOutOfResources=Out resourcesjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
  | string_of_atp_failure
proof extract_tstplike_proofproof_delims output
  in
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  || accum(   : java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  s
    "Prover error" ^ (if s = "" then " (pass the \"verbose\" option for java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 45

fun               n  then accum, )elseskipn 1)  ) ss
  (case first_field begin_delim output of
    SOME (_, tail) =>
    (case         else
      SOME_ tail') >
      if end_delim = "" then
        tail'
      else
        (case first_field>)java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 32
| NONE= "
    | NONE =|  string stringlist
  | NONE => "")

(* Splits by the first possible of a list of delimiters. *)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
unextract_tstplike_proof  =
  (case apply2
    SOME


funextract_known_atp_failure output
  known_failures
  |>find_first(  |> find_first (fnx=
  |> Option parse_inference_source>java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

fun extract_tstplike_proof_and_outcome verbose proof_delims known_failures output =
  java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
 known_atp_failure extract_known_atp_failure  
    val tstplike_proof =     (filter_outcurryop )")) x
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
   ( (,known_atp_failure)f
  , ) = (" )
    | (_, SOME      - .optionstring_ord)
    | (" (can.this_string"" | $""| java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
 UnknownErrorshort_output output))
    | res as ("", _) => res
    |
  end

type atp_step_name =    -|Scan ($ ""|-skip_term--|$ )" java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55

fun is_same_atp_steps1,_ s2_)=s1 = java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

val vampire_fact_prefix = parse_source x java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20

fun vampire_step_name_ord p =
  let  >Inference_Source>> SOME
 (* The "unprefix" part is to cope with Vampire's output, which puts facts with names of the unprefix"part  tocopewithVampires output whichputsfactswithnamesofthe
       form "fN" where N is an integer in reverse order. *)

(case  (   |parse_define_source > Define_Source> 
      (SOME       skipna   |scan_general_id> ( s=SOME(",s])) (* for E *)
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 28
     (NONE SOME)=>GREATER
    | (NONE, NONE) => string_ord q)
  end

type ('a, 'b) atp_stepfunparse_classx  scan_general_id          accum ssjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21

type 'a atp_proof = (('a, 'a, ('a, 'a atp_type) atp_term, '          

(**** PARSING OF TSTP FORMAT ****)

(* Strings enclosed in single quotes (e.g., file names), identifiers possibly starting
   with "$" and possibly with "!" in them. *)

valelse
           (s       >>( , tyty => ty (* currently ignoring type constructor declarations anyway *))
        ] #> (        - . $$( |-  -       > ATypejava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    - .optional(.repeat   >( (a NONE       | (a, SOME (bin_op, b)) =>
    >> op java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

fun  x=
  let
    fun             > raiseUNRECOGNIZED_ATP_PROOF (         lse bin_op =tptp_fun_type java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
      |skipn  (ssas :             (tptp_product_type [) [else
         ( =""
          accum ss
        else if 
                    iftly half ignore
    elseif member(op)"," then
          skip (n+1)(s :: accum ss'
        else
          kipn(s : accum ssjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
  in
    (skip 0 [] #>> (rev #> implode)         res=> >>filter_out((op "heory") x
  end
and skip_terms x = (andparse_fol_argx =

datatype source      - .parse_fol_term - $$) -parse_fol_optional_type_signature
File_Sourcefstringoption
| Inference_Source of string   (Scanthis_string" -Scan.($$<"-- -|  ""[]
| Introduced_Source of string
| Define_Source

val dummy_phi      > ( (   -parse_dependencies| $$$] - $$)")java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
ldummy_atype= ((", [), [])

(* "skip_term" is there to cope with Waldmeister nonsense such as "theory(equality)". *)ATerm(s,the_listty_opt,rm -- $ "))x
fun parse_dependencyx java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
( >         Term(( tyargs, args) x
   || scan_general_id-| skip_term> singlex
and parse_dependencies x =
 parse_sourcex =
   (parse_file_source >F >    -  > java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
and  =
  (| java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     - option($",|-- scan_general_id
     --| Scan.option ($$ "," |-- $$ "[" -- Scan( --
and x =
  (Scan.this_string "inference" |   > ( (u1    >> (fn (u1, NONE > ( s>SOME(Inference_Source(",[s]) (* for E *)
   - skip_term --|$$", -| skip_term -|$$"" -|$$"[
   --parse_dependencies-|$$"" -| $$"")x
and
  (Scan
   -fun list_app (, )=foldfn arg =>fnjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 89
and parse_define_source x =
  (Scan.this_string "define" |-- $$ "(" |-- skip_term --| $$ ")") x
andparse_source x =
  (parse_file_source >>   (Scanrepeat($tptp_not> length
   | parse_inference_source>> Inference_Source >>SOME
   || parse_introduced_source >> Introduced_Source >> SOME
             | parse_fol_quantified_formula
          | parse_fol_atom)
      

fun  (ormulax=

funparse_class  scan_general_idx
and parse_classes x = (parse_class ::: Scan.repeat ($$ "&" |-    - Scan..option(Scanthis_stringtptp_implies

fun  (($"( |- parse_type --| $ ""
  (($$ "(" |-- parse_type                     |Scanthis_stringtptp_if
    || Scan.this_string tptp_pi_binder |--                     |$$                    ingtptp_pi_binder |- $ "[ - -| $ "] -- $$": - parse_type
       >> (fn (_, ty) => ty (* currently ignoring type constructor declarations anyway *))
||(scan_general_id- .optional($$"{ |--parse_classes - $$}") [)
                --Scanoptional(
       >-Scan. (($tptp_app | $$ ptp_fun_type $ tptp_product_type)--parse_type)
   -- > fn(a,N => a
  >> (fn (a, NONE) => a
        (a, SOME (bin_op,b) =java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
         f  =  
           case aof
 (s_clss ) =  (s_clss, tys @[b])
           | _ => raise UNRECOGNIZED_ATP_PROOF ())
         elseifbin_op=ptp_fun_typethen
           AFun (a, b)
else ifbin_op= tptp_product_type          else if c= tptp_orthenmk_aconn AOr java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
 b])
         else
           raise Fail "impossible case")           raiseFail(impossibleconnective"^ quotec)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [15, 3) out of bounds for length 19
  (parse_type ::: Scan.repeat ($$ "," |-- parse_type)) x

(* We currently half ignore types. *)
funparse_fol_optional_type_signature =
  (Scan.option ($$ tptp_has_type |-- parse_type)
(fn asSOME AType(,[] [)= ifs=dfg_individual_type thenNONEelsesome
        | res => res)) x
and parse_fol_arg x =
  ($$ "(" |-valparse_tstp_extra_arguments=
   || scan_general_id(* Wecurrentlyhalfignore.  Scan.optional ($$ "," |-- parse_s-| Scan $ ,|- skip_term) NONE
 "<" |-- parse_types-|$">java.lang.StringIndexOutOfBoundsException: Range [58, 0) out of bounds for length 0
       -   (Scan. $ ptp_has_type|-parse_type
     >> (fn (((s, ty_opt), tyargs), args) =>
fun  subst tm2=
                  es=> ) x
       else
  et
andparse_fol_term     (AAbs((ar1 typ1, body1) args1)) ( ((var2 typ2)           ( subst =
(parse_fol_arg --- optional$""|- parse_types-|$"")
-|  else
and> al    substin

fun            >do_term_pairbody1
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
    optionScanoption($tptp_not_infix -|$ tptp_equal--parse_fol_term
   >                 N => )
        |(u1 SOMEjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 33
       AAtom( (" o_term_pairargs1 args2

(* TPTP formulas are fully parenthesized, so we don't need to worry about operator precedence. *)          end
fun parse_fol_literal xfn,)>        ATerm,)(,) )  substjava.lang.StringIndexOutOfBoundsException: Index 85 out of bounds for length 85
_)> )
      -- ($$ "(" |-- parse_fol_formula --| $$ ")"
          | parse_fol_quantified_formula
          | )
      > fn            =
  xjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
teral
   -- Scan.option ((Scan.this_string tptp_implies
 Scanthis_string
                      
| Scanthis_string tptp_if
                    || $$ tptp_or
                    | $ tptp_and - parse_fol_formula
   >   >> thenfold2do_term_pairargs1args2
        | (phi1, SOME (c, phi2)) =>
           c =thenmk_aconn AImplies phi1phi2
          else if c = tptp_iff                     | .this_stringtptp_not_iff
elseifc= tptp_not_iff thenmk_anot( AIffphi1           |  tptp_if
                              ||$$ tptp_or
elseifc=tptp_orthenmk_aconnAOr phi2|| $$ tptp_and) --)
          else if c = tptp_and then   end
         elseraiseFail(" connective quote c))x
and java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 0
  ($$ tptp_forall > KAForall| $k_aconn phi1phi2
   --| $""-- -   --| $$ "[" -- parse_fol_terms --|  java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
   > fn(q,ts,phi =  (q,mapelse ifcc=tptp_or mk_aconn AOr phi1 phi2

val parse_tstp_extra_arguments =
  Scan.optional|is_same_formula subst(Conn(,phis1) ( (c2, phis2)=

val waldmeister_conjecture_name = "conjecture_1"

fun is_same_term   is_same_formulacommsubst           raiseFail(("impossible connectiveconnective " ^quote)) xx
  let
    java.lang.StringIndexOutOfBoundsException: Range [31, 25) out of bounds for length 63
          (SOME( andalso is_same_term- $$"[ - parse_fol_terms -|$$ "" --| $ "" - parse_fol_literal
if<>  andalsolength args1=lengthargs2  NONE
        else
          let val ls|is_same_formula _ _  =false
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
            |> do_term_pair body1 body2
            ( SOMEsubst= SOME(th_drop( subst- ls - 1 subst
           | NONE= NONE
            |  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
              
               K NONE
          end
      |   #> try (single o hd)
        (case apply2 is_tptp_variable (s1, s2) of
          (truetrue)
(caseAListlookup ( =) subst s1 of
            SOMEfun is_same_term subst fun commute_eq  raiseFail "expected
       | NONE =>
            if nulljava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
            NONE
        | (false,    (SOME subst =
          if s1 = s2 then
            subst
          else
            NONE
        _ = NONE| (if length args1 =ength args2
                          role_of_tptp_string""  Plain
                        K NONE   "type"=Type_Role
      |            java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  in
    SOME subst |> do_term_pair tm1 tm2 |> is_some
  end

fun is_same_formula comm subst (AQuant (q1, xs1, phi1)) (AQuant val tptp_nonliteral_binary_ops =
    q1=q andalsolengthxs1=length xs2andalso
    is_same_formula comm (map2 (fn (x1, _) => fn (x2, _) => (x1,              java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
  |   > fnc > if c= tptp_equalthen"" elsec) java.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
    c1 = c2 andalso forall2 (java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
|is_same_formula subst(AAtom ( as ATerm("equal", ), [, tm12]))) AAtom tm2) =
    is_same_term subst tm1tm2orelse
    (commjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  | is_same_formula _ subst (    [tptp_forall,tptp_exists(, true)=>
  |is_same_formula___ false

fun java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
    if is_same_formula true [               OME'= ifs2' s2thensubst NONE
  | matching_formula_line_identifier _ _ = NONE

fun find_formula_in_problem  q =
  maps snd
  #> map_filter (  q=  then tptp_ho_forall
>trysingle o hdjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
# the_default[

   if  tptp_hilbert_the  tptp_hilbert_the
  | commute_eq     "expected equationjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49

fun          else
    if  =tptp_app
   role_of_tptp_string"lemma (case args of
  |role_of_tptp_string"ypothesis | role_of_tptp_string "hypothesis" term_pair args2
      | AAbs(var ),) : ys= remove_hol_app(AAbs (var phi) xs@ ys)))
  | role_of_tptp_string "negated_conjecture" = Negated_Conjecture
 role_of_tptp_string"plain" = Plain
         do_term_pair __ _var phi, args)=
  | role_of_tptp_string _ = Unknown


  foldl1 (

valtptp_literal_binary_ops =[tptp_equal tptp_not_equal]
valtptp_nonliteral_binary_ops
  [tptp_and, tptp_or-| .option(.     --| Scan.option (Scan.this_string

funparse_literal_binary_op   |$$ "" --parse_hol_typed_var-|$ "")x
  (parse_one_in_list tptp_literal_binary_ops
   > (fn c= if c = tptp_equal then "equal" fn(x2 __ = x1 x2) s1xs2 subst phi1phi2

fun parse_nonliteral_binary_op x =
  (parse_one_in_list tptp_nonliteral_binary_ops
   >>(fnc  =>ifc=ptp_equalthen"qual" else) x

val parse_fol_quantifier =
       > ( ((q,ys) t =java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

val parse_hol_quantifier =
   parse_one_in_list[, tptp_ho_exists tptp_hilbert_choicetptp_hilbert_thejava.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 92

fun mk_ho_of_fo_quant q =
  if|is_same_formula_subst( tm1( __= false
  fun matching_formula_line_identifier Formula(ident                    
  elseif  =java.lang.StringIndexOutOfBoundsException: Range [33, 25) out of bounds for length 25
  else if   tptp_hilbert_the  tptp_hilbert_the
  else raise Fail  phi =

fun remove_hol_app (ATerm ((  typ_opt), ])java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
    ifs=tptp_app
( argsof
        | $$""|- parse_hol_term--| $ ""
        | Scan.this_stringtptp_not >> mk_simple_aterm
  ||parse_literal_binary_op >> mk_simple_aterm
      ATerm ((s, ty), map remove_hol_app args)
 phi), args))=
    AAbsand parse_applied_hol_term =

fun parse_hol_typed_var x =
  (Scan.repeat (scan_general_id -- Scan.    > (fn|role_of_tptp_string""  Definition
-- .option Scan role_of_tptp_stringlemma=LemmaLemma
   |$""  parse_applied_hol_termScan(java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 92

funparse_simple_hol_term=
  (parse_fol_quantifier-$ [- and
-parse_simple_hol_term
    > fnt1 ) =
          let
             var)>fnr=
                fun x=
                |> (             tis =ptp_equal ptp_not_equal
                      mk_app |mk_ho_of_fo_quantmk_simple_aterm
                 
                      I))
            ys t)
(tptp_nonliteral_binary_ops
 -. ($ tptp_has_type|--parse_type
    >> (fn (var, typ_opt) =
|  >
  || $$java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  || Scan.this_string
  || parse_literal_binary_op    [, 
  || parse_nonliteral_binary_op >> java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 38
and  
  (parse_simple_hol_term    q    
 ( t1tis >fold(  >=  ti tis) java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
 parse_literal_hol_term =
  (parse_applied_hol_term raiseFail("unrecognizedquantification" qjava.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    > fn( c_ti_s>
  -  .
and      (case of
  (parse_literal_hol_term -- Scan.repeat (parse_nonliteral_binary_op -- parse_literal_hol_term      let
    > fn(,c_ti_s)=>
          let        val (, phi ', rule deps) =
            valsrc
            val             (File_Source (,  s))=>
            val (tis_but_k              =Definition
          java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
            fold_rev     AAbs (, phi,map              num [)phi," )
(  |SOME )= , ],,,[
          end|Scan")

  x=( >  #> ) java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73

>        ,, phi(rpair]
          java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  -- Symbol.scan_ascii_id --|I)
     (
     - - $$)
  --|  ((Scan.this_string tptp_cnf || Scan.this_string tptp_fof || Scan.this_string tptp_tcf
  >   .this_string |-parse_simple_hol_term>mk_app( )
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
    -- $", - Symbol -|$",java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
valamephirole' ) =
          (case src of
           SOMEile_Source_SOME
if Definition
(    xjava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
( java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
(,                   waldmeister_conjecture_name
|SOME (>(n(,  =java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 Introduced_Source=(,],, )
          | SOMEconfusing.)
           s)
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
        [(name ', phi, , map (rpair [)deps]
      end)

fun parse_tstp_fol_line             val tis = t1 ::  =t1::  snd
(Scan                 
                   nums] )java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 - $""- .scan_ascii_id-| $ ,
    --                 ((um,map (find_formula_in_problem problem) phi) role",[]java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
-  -Scan  - $"| -|$ ,
   >> (fn (((num, role0), phi), src  - Symbol --$$ ,"--
          let
val = role0
            val ((name, |if thenparse_hol_formula  > dummy_phijava.lang.StringIndexOutOfBoundsException: Range [95, 94) out of bounds for length 95
              (* Waldmeister isn't exactly helping. *)(,), ),java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 12
 of
                SOME         name,case
(          (case src o
( ) java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
                     (* Waldmeister hack: Get the original orientation of the equation to avoid, ,  (rpair ] )
                        confusing Isar. *)

                        )
                     num   problem
phi  ( false mk_anotphi' parse_tstp_fol_line full
                   | _ => ((num, []), phi parse_dot_name=scan_general_id- $""-     java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
                 
(,s
                 role" ])
              | SOME (File_Source _) =>
                (num
              | SOME (Inference_Source(rule, )) > (((, [], phi> fn(num) phi)=java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
  rule(, ],phi Definition,java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
              | SOME                 SOME (File_Source(_, SOME     -|"$"
 num] ) ,)

            fun mk_step(
. $(                      ,phijava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
'java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
Definitionjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
                phi java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
                   else
'sequalityproxyaxiom*
                  (name, Definition, phi, rule, map (rpair> (n ((num )role" )
               |_=>mk_step()
             |_= mk_step ()java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
         )

fun parse_tstp_line full problem  java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
arse_tstp_fol_line
  ||                  | SOME Define (,] ) , , [)

(**** PARSING OF SPASS OUTPUT ****)

(* SPASS returns clause references of the form "x.y". We ignore "y". *)
val             (  sof

    "hetransformed consists Definition =>
  Scanoptional($: |- .    : > unprefix" ::find_enclosed <" )

(* We ignore the stars and the pluses that follow literals in SPASS's output. *)
  xjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
   = )

m( ("",],[)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  | mk_horn (neg_lits

x =
  (Scan.repeat parse_decorated_atom --| java.lang.StringIndexOutOfBoundsException: Range [0, 1) out of bounds for length 0
     - Scan. parse_decorated_atom--|$ -
     --      map_typeAType(s clss) tys  AType (fs,  f clss, map tys
   > (k_horno  (

val parse_spass_debug
  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

(* Syntax: <num>[0:<inference><annotations>] <atoms> || <atoms> -> <atoms> .
           derived from formulae <ident>* *)

 parse_spass_line=
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-Symbol-parse_spass_annotations  ] -- (( ,map_typety ap_term)  map_term)
     -- Scan.option     map_formula AQuant(, xs, phi)= AQuant(, map(apfst) xs  phi)
                     |-- Scan.repeat (scan_general_id --| Scan
   > (fn (((numrule)(* We ignore the stars and the pluses that follow literals in SPASS's output. *)
          [((num, these  parse_fol_atom--|Scan $ *| $ + | $$ " map_formula(AAtomt =AAtom map_termt)

fun core_inference infjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

fun parse_line full local_name problem mk_horn(] [) =AAtom( ("" [] [])
  if local_name = spassN then parse_spass_line
  else parse_tstp_line full problem

funcore_of_agsyhol_proof =
  (case split_lines  end
    "The fun parse_horn_clause x java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
    _ :: proof_term :: _ =>      -- .repeatparse_decorated_atom-$ ""-|$ >java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
  | _ =

fun clean_up_dependencies _ []java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 26
  clean_up_dependencies (name roleuruledeps :stepsjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
    (name,role , rule ap_filter( dep=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 seen) 

fun clean_up_atp_proof_dependencies

fun map_term_names_in_atp_proof f =
  let
    funstring_of_atp_stepf  (, role,x, y, names) =
let
  parse_spass_debug|- scan_general_id-|$ [ -| Scanmany1Symbol --| $ :java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93

    fun map_term (ATerm ((s,     - .option(Scan " from formulae "
      |map_term AAbs((s ty,tm, ) =
        AAbs (((f s, map_type ty), map_term    >( (((, rule     alrole =ATP_Problemrole

    fun map_formula (AQuant (q,      y =g y
|map_formula( (c, )) =AConn(,map phis
      | map_formula (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    fun map_step (name, role  in
  in
    mapmap_step
  end

fun nasty_namepool s=Symtab pools | the_defaults

fun nasty_atp_proof =
  not (Symtab.is_empty pool) ? map_term_names_in_atp_proof (nasty_name pool)

fun string_of_list  xs= enclosefuncore_of_agsyhol_proofs java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29

 ames )=(^s^" " ^

string_of_atp_stepf name rolex y,namesjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
  
    val name' = string_of_atp_step_name name
    val rolejava.lang.StringIndexOutOfBoundsException: Range [0, 3) out of bounds for length 0
      val ' f java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
    val y'= g
    valclean_up_dependencies( ::seen steps
  in
    ""name^ ,"^ ' ^ ""^ ^ "java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  end

funparse_proof  problem =
  strip_spaces_except_between_idents>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  #> Scan.error (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    funmap_type( ((s clssfunfun  ( (s _, tms) = pred sorelse ex_name tms
  #> (fn |e AAbs (_ tm,)        | ( ty,ty) =AFun(ap_typety,map_typetyjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68

fun atp_proof_of_tstplike_proof _ _java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
_tstplike_prooffull roblem =
    (case core_of_agsyhol_proof tstp of
      SOME exists_symbol_in_formulaprefixes
    | NONE>
      java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
      |> parse_proof full funatp_abduce_candidates_of_outputlocal_prover roblemoutputjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
      |> local_prover = vampireN ? perhaps (try (java.lang.StringIndexOutOfBoundsException: Range [0, 53) out of bounds for length 26

val e_symbol_prefixes = ["esk""epred"]

fun exists_name_in_termfun exists_name_in_term pred   ( t)
  let
        fun map_step ( role  rule deps = name role,ap_formula phi, ,d)
      | ex_name (AAbs ((_, tm), tms)) = exists ex_name (tm :: tms  in
  n    map map_step

fun  pred
|  funnasty_namepools  Symtab.lookupools> the_defaults

fun exists_symbol_in_formula prefixes           fun asty_atp_proof pool =
  exists_name_in_formula           String.sSubstring "", 0,," then

fun atp_abduce_candidates_of_output local_prover problem output =
  let
    (* Truncate too large output to avoid memory issues. *)
    val max_size funstring_of_atp_step_names,ss)             fold_extractaccum lines
    val output =
      if String.size output > max_size            let
        String.substring (output, 0, max_size)
      else
        output

    fun fold_extract accum [] = accum
       fold_extractaccum ( :: lines 
        if String.isSubstring "# info" ( try local_prover roblemclean_linejava.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
" line then
          if String.isSubstring ", 0, 0,"   java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
            *This  intheinfo) of E  thatdirectlyemerges from
               the conjecture. We don't want to tell the user that they can prove "P" by assuming
               "P""java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 5
            else
                  fold_extract  strip_spaces_except_between_idents
            let
              val clean_line =
                (case "# of
                  []>"java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
                | before_hash :: _ => before_hash)
            in
              (case try (parse_proof true local_prover problem) clean_line  n java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 45
                SOME [(_, _, phi, _, _)] =>
                if local_prover java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                  fold_extract accum lines
                else
                  fold_extract (phi :: accum) lines
               _= fold_extract accumlines)
            end
        else
          fold_extract accum lines
  in
    fold_extract [] (split_lines output)
  end

end;

96%


¤ Dauer der Verarbeitung: 0.17 Sekunden  ¤

*© 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 ist 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