-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Propositional Modal Logic #10
Add Propositional Modal Logic #10
Conversation
27f8677
to
da09e3e
Compare
このPRでは標準的な様相論理の準備立て,及び 残りは別のPRで出したい.
|
Logic/Modal/Basic/Semantics.lean
Outdated
intro hm p hp; | ||
apply h; assumption; assumption; | ||
|
||
def defines (P : Frameclass α → Type*) (Γ : Context β) := ∀ fc, P fc → (∀ f, (f ∈ fc.frames) ↔ (⊧ᶠ[f] Γ)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
このdefines
の定義は微妙な気がする.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここでの"定義する"の用法が「数学における証明と真理」にあるものなら以下でよいと思う。
def Defines (fc : Frameclass α) (Γ : Context β) := ∀ f, f ∈ fc.frames ↔ ⊧ᶠ[f] Γ
以降にあるaxiomT.defines
などは代わりに以下のような命題を証明すれば良い(おそらく)。
lemma axiomT.defines : fc.Reflexive → (𝐓 : Context β).Defines fc := by
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
今気づいたんですがこれは間違っている。おそらく次をしめすか
lemma axiomT.defines : (𝐓 : Context β).Defines fc → fc.Reflexive
もしくは単に以下を示せば良いと思う(こちらのほうが良い気がする)。
lemma axiomT.defines : f.Reflexive ↔ ⊧ᶠ[f] 𝐓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
より端的に,もはやフレームクラスを使わずにこの形でいいのではないか?と思い書き直した.
lemma AxiomT.ctx.defines : Reflexive f.rel ↔ ⊧ᴹᶠ[f] 𝐓
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多くて申し訳ない!
Logic/Modal/Basic/Semantics.lean
Outdated
intro hm p hp; | ||
apply h; assumption; assumption; | ||
|
||
def defines (P : Frameclass α → Type*) (Γ : Context β) := ∀ fc, P fc → (∀ f, (f ∈ fc.frames) ↔ (⊧ᶠ[f] Γ)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ここでの"定義する"の用法が「数学における証明と真理」にあるものなら以下でよいと思う。
def Defines (fc : Frameclass α) (Γ : Context β) := ∀ f, f ∈ fc.frames ↔ ⊧ᶠ[f] Γ
以降にあるaxiomT.defines
などは代わりに以下のような命題を証明すれば良い(おそらく)。
lemma axiomT.defines : fc.Reflexive → (𝐓 : Context β).Defines fc := by
とりあえず全ての問題は直したと思うが,現在lean4のcache周りが壊れていてCIが通っていない.適当なタイミングでCIを再スタートしてほしい. https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/The.20cache.20doesn't.20work |
ff389cc
to
be61dca
Compare
READMEを更新してもらえると助かる。 |
2e2add7
to
63d3621
Compare
7fcf534
to
a05609b
Compare
READMEを追記. |
MathlibのActionsを見るにおそらく復旧したのではないかと思う.再実行してもらえませんか? |
問題なさそうなのでmergeします。 |
close #9