Giter Club home page Giter Club logo

cheaplogic's People

Contributors

sazare avatar

Stargazers

 avatar

Watchers

 avatar

cheaplogic's Issues

🕷C18のビューがおかしい。

ビューがおかしいかどうかはわからないが、GLID: L31_R1のビューで
{X=x_C14, Y=y_C14}
になり、値を入れてconfirmすると

2019-07-21 10:08:45:ERROR:Main: ICMP(:x_C14, 8, :unify0sn)
2019-07-21 10:08:45:ERROR:Main: /go?op=postview&X=8&Y=2&how=confirm 500

2019-07-21 10:08:45:CRITICAL:Main: ICMP(:x_C14, 8, :unify0sn)
unify0(::Array{Symbol,1}, ::Symbol, ::Int64) at /Users/shin/Projects/github/cheaplogic/Prover/unify.jl:34
unify0(::Array{Symbol,1}, ::Expr, ::Expr) at /Users/shin/Projects/github/cheaplogic/Prover/unify.jl:67
unify1(::Array{Symbol,1}, ::Expr, ::Expr, ::Array{Symbol,1}) at /Users/shin/Projects/github/cheaplogic/Prover/unify.jl:215
unify(::Array{Symbol,1}, ::Expr, ::Expr) at /Users/shin/Projects/github/cheaplogic/Prover/unify.jl:302

🎂 x_C14とかが変数になっていないのではないか

vlogic how to do?

  1. evaluatable?
  2. resolution wituh base
  3. ask with View
  4. or, another literal

this is the order

🕷removed the literal that's view returned some fields with no input.

とにかくconfirmしたらliteralは消えてしまう。
入力のなかった項目は、別のliteralで入力されることもあるが、そうでないこともあるのだから、未定義のままでFactになってしまい、confirmする人間の責任が大きすぎるような気がする。

bug: printmgus(core) broken

vdata/vcirc003.cnf

sw=on, lamp=light,
then
pow=chaged, wire=conn

after [],

julia> printmgus(core)

R1:L3:L3=x/light;y/on;ERROR: BoundsError: attempt to access 4-element Array{Symbol,1} at index [5]

proofコントロールのパラメタ案

  1. proofの(検索空間の?)大きさ
  • 幅と深さ
  • パス上のliteralの根の出現回数(だいたいループの回数)
  1. □の数
  2. パス上の同じ形のmguの数

補足

  • mguの比較(変数を無視しての同一性)
  • literalの根とは、入力集合でのliteralのこと(この実装ではlidで判別できる)

How to run browser

cmd=open -a "Google Chrome.app" http://localhost:8000/go?op=start
run(cmd)

core capsel for a session

after new readcore, happen r1 occured.
it may be some variablename miss.

move global to Dict{session id, prover info}
prover info is the vars now global.

let main control to function flow.

Now, web application control rules the flow.
But It makes the figure unclear. I feel so at least for me.

route("/go") is the web control between targets.
But I think eval loop , view or reso loop following.

let fitting_vars keep necessary vars

今は、(x,y)<-(x, f(x)) があったとき、うかつにも(y)<-(f(x))にしてしまったので、xが定数扱いになっている。
呼び出し側でこの関数を使わないように修正したが、ちゃんと(x,y)<-(x,f(x))のままにしないとならぬ

for ignore same step

don’t find same steps, but find same trials.
it is’nt a mgu.
it should be a literal pair.

L-vector

input litid のベクトルは普遍
NLPみたいなことできるか

COREにdateを入れたい

なぜ? REPL上に複数のcoreを作っていたとき、同じ名前で置き換わっているかどうかわからなくなるので

clause setの壁

clause setが複数あって、証明がずるずる進んでいかないようにしたほうがよくないか?
そのときのストッパーはCanoになるだろう。

naivelogicとcheaplogicの結果が違う

data/rundata.jlを実行してできるcoreのresolvent数を比較すると、一部のdataでresolent数が異なる。
ml007の場合、naiveでは[]ができていないが、cheapではできている。
なぜだろうか

参照: docs/comparison_naive_cheap.txt

🕷control of abort of a viwe

同じlitralのViewにもどってしまい、confirmしないと先に進まない。
あるliteralのViewでabortしたら、次はviewでもresoでも別のliteralにしてほしい

make a resolution with kpunify.

It allows to write something like Japanese joshi as keywords.
And I hope the keywords opens the other possible expression.
In this point of view, DB's SQL statement assumes many conditions over Logic. It seems interesting.

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.