-
Notifications
You must be signed in to change notification settings - Fork 67
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
Codyroux/compactness #123
Codyroux/compactness #123
Conversation
infix:50 " ⊧ " => (models) | ||
|
||
infix:50 " ⊢ " => (derive) | ||
|
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.
Maybe the definitions up to this point can ultimately end up in their own file, called something like Satisfaction.lean
? I suggest this because I expect lots of other files (like my Duality.lean
in progress) will need to use these definitions, but may not need everything in Completeness.lean
.
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.
I agree! I'd like to get this merged first, if that's all right, I'm getting nervous about all the rebasing.
6dfde3b
to
6c72ac2
Compare
Yay. I'll go in and fix the blueprint stuff later. |
I agree, I'll either do it here, or in a further PR.
…On Mon, Sep 30, 2024, 1:54 AM Franklin Pezzuti Dyer < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In equational_theories/Completeness.lean
<#123 (comment)>
:
> +
+def satisfiesSet {α : Type} (G : Type) [Magma G] (Γ : Set (MagmaLaw α)) : Prop :=
+ ∀ E ∈ Γ, satisfies G E
+
+
+def models {α} (Γ : Ctx α) (E : MagmaLaw α) : Prop :=
+ ∀ (G : Type)[Magma G], satisfiesSet G Γ → satisfies G E
+
+infix:50 " ⊧ " => (satisfies)
+
+infix:50 " ⊧ " => (satisfiesSet)
+
+infix:50 " ⊧ " => (models)
+
+infix:50 " ⊢ " => (derive)
+
Maybe the definitions up to this point can ultimately end up in their own
file, called something like Satisfaction.lean? I suggest this because I
expect lots of other files (like my Duality.lean in progress) will need
to use these definitions, but may not need everything in Completeness.lean
.
—
Reply to this email directly, view it on GitHub
<#123 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA772UGQJTAFTBTNAH6L2G3ZZDRTDAVCNFSM6AAAAABPCLAWIOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMZWGQ2DSMBQGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
For now just soundness.
7032023
to
fafdfba
Compare
awaiting-review |
* feat: add preorder on magma laws This builds on the `MagmaLaw` structure defined in #113 and thus depends on it. * integrate with definitions from #123 * add equivalence suggested by @codyroux * remove whitespace * add suggestions from @madvorak * more style changes suggested by @madvorak * minor improvements --------- Co-authored-by: Pietro Monticone <38562595+pitmonticone@users.noreply.github.com>
Was this meant to add a file called |
closes #104
Closes #104