Giter Club home page Giter Club logo

clover's People

Contributors

moratori avatar

Stargazers

 avatar

Watchers

 avatar  avatar

clover's Issues

単一化子のリバース

単一化子を遡り、入力変数が最終的になにに置き換えられたか表示できるようにする

別フォーマットをパースした時の式集合の同値性について

clover/src/parser.lisp

Lines 35 to 66 in 770ff24

(defun parse-premise-logical-expression (string)
(handler-case
(with-lexer (lexer 'premise-expression-lexer string)
(with-token-reader (token-reader lexer)
(parse-with-lexer token-reader %premise-expression-parser)))
(condition (con)
(error (make-condition 'expr-parse-error
:message
(format nil "~A error occurred while parsing string: ~A" con string))))))
(defun parse-conseq-logical-expression (string)
(handler-case
(with-lexer (lexer 'conseq-expression-lexer string)
(with-token-reader (token-reader lexer)
(parse-with-lexer token-reader %conseq-expression-parser)))
(condition (con)
(error (make-condition 'expr-parse-error
:message
(format nil "~A error occurred while parsing string: ~A" con string))))))
(defun parse-mkbtt-expression (string)
(handler-case
(with-lexer (lexer 'mkbtt-toplevel-lexer string)
(with-token-reader (token-reader lexer)
(convert-to-equation-set
(mkbtt-form
(parse-with-lexer token-reader %mkbtt-form-parser)))))
(condition (con)
(error (make-condition 'expr-parse-error
:message
(format nil "~A error occurred while parsing string: ~A" con string))))))

項の解釈

下記の様な項表現は、「5」として表されるべき.
項の解釈処理をユーザーが別途で定義できるようにする

successor(successor(successor(successor(successor(ZERO)))))

:set-profilerを実装

sbclの場合に限り、sb-profileを用いて、実行時の統計情報を表示する

不可解なエラーの発生

BD94_collapse.trs

f(x,C)=>x
f(C,x)=>C
B=>C
A=>C
g(x)=>x
;
;
; compilation unit aborted
; compilation unit aborted
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 fatal ERROR condition
;   caught 1 fatal ERROR condition
;
;
; compilation unit aborted
; compilation unit aborted
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 fatal ERROR condition
;   caught 1 fatal ERROR condition

TPTP_GRP460-1_theory.trs

WARNING: lparallel: Replacing lost or dead worker.
unhandled condition occurred: The task was killed.

SK90_3.24.trs

YES

(VAR x)
(RULES
 c(c(c(x))) -> c(c(x))
 b(x) -> c(x)
 a(x) -> c(x)
)
(COMMENT
 C < B < A
)
;
;
; compilation unit aborted
; compilation unit aborted
; compilation unit aborted
;   caught 1 fatal ERROR condition
;   caught 1 fatal ERROR condition
;
;   caught 1 fatal ERROR condition
;
;   caught 1 fatal ERROR condition
; compilation unit aborted
;   caught 1 fatal ERROR condition
;
; compilation unit aborted
;   caught 1 fatal ERROR condition

TPTP_SWV262-2_theory.trs

YES

(VAR z w x y)
(RULES
 c_union(c_message_oparts(x),c_message_oparts(y),TC_MESSAGE_OMSG) -> c_message_oparts(c_union(x,y,TC_MESSAGE_OMSG))
 c_union(c_insert(x,y,w),z,w) -> c_insert(x,c_union(y,z,w),w)
 c_union(C_EMPTYSET,y,x) -> y
)
(COMMENT
 C_EMPTYSET < TC_MESSAGE_OMSG < C_MESSAGE_OPARTS < C_INSERT < C_UNION
)
;
; compilation unit aborted
; compilation unit aborted
;
;   caught 1 fatal ERROR condition
; compilation unit aborted
;   caught 1 fatal ERROR condition

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.