feat(Modal): Deduction System based on Inference Rules Set #91
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#90 (comment) の指摘を受けて.
maxm
を前提が空のRuleとすれば良いというのはそうだが,実際やってみると全てがRules
に入ってしまい(集合操作としては自明であっても)微妙に操作がし辛いため一旦maxm
は残している.antecendents
がSet
だと上段が無限個並んだ推論規則みたいなものを考えることが出来てしまうためList
にした.が別におそらくどちらでも実際上は構わないと思う.今回はとりあえずModalLogicのDeductionを控えめに修正したが,今後Deductionを共通化してLogic以下に移動させようと思う.が軽く試した感じではあまりにも煩雑になりすぎるし,帰納法自体を別途用意しなければまともに証明を書き下すのも困難なので長期的な話になると思う.