Zulip Chat Archive

Stream: general

Topic: Theories without equality


Martin Dvořák (Aug 30 2024 at 08:10):

Sorry for a dumb question...

In the first-order logic, we can study theories with equality as well as theories without equality.
It seems that in Lean, equality always exists.
Does it mean that there are first-order theories that aren't expressible in Lean?

Daniel Weber (Aug 30 2024 at 08:10):

Equality doesn't always exist in Lean - it is defined in docs#Eq, and if you use prelude you can get Lean without it

Martin Dvořák (Aug 30 2024 at 08:11):

Definitional equality still exists with prelude. Is it irrelevant?

Edward van de Meent (Aug 30 2024 at 08:12):

how would you avoid things being defeq to themselves?

Martin Dvořák (Aug 30 2024 at 08:14):

I am really confused. Is there anything that FOL can express thanks to allowing theories where equality doesn't exist at all?

Kevin Buzzard (Aug 30 2024 at 08:15):

I have no idea about logic but my understanding is that category theory eschews equality. Can ECTS be expressed in FOL?

Daniel Weber (Aug 30 2024 at 08:15):

I'm not quite sure what you mean by expressing a theory in Lean

Martin Dvořák (Aug 30 2024 at 08:15):

https://en.wikipedia.org/wiki/European_Credit_Transfer_and_Accumulation_System ?

Johan Commelin (Aug 30 2024 at 08:16):

Elementary Theory of a Category of Sets.

Kevin Buzzard (Aug 30 2024 at 08:16):

I might have got the acronym wrong -- I meant the elementary theory of the category of sets

Johan Commelin (Aug 30 2024 at 08:16):

ETCS vs ECTS

Kevin Buzzard (Aug 30 2024 at 08:16):

Apologies :-) I think I've been on too many committees involving undergraduate and masters degree valuations

Johan Commelin (Aug 30 2024 at 08:16):

Alopogies (-;

Martin Dvořák (Aug 30 2024 at 08:17):

Daniel Weber said:

I'm not quite sure what you mean by expressing a theory in Lean

That makes two of us!

Johan Commelin (Aug 30 2024 at 08:18):

If you mean in the sense of Mathlib/ModelTheory/ then there is no problem at all.

Ruben Van de Velde (Aug 30 2024 at 08:26):

( https://en.wikipedia.org/wiki/European_Train_Control_System ?)

Martin Dvořák (Aug 30 2024 at 09:09):

Kevin Buzzard said:

I have no idea about logic but my understanding is that category theory eschews equality. Can ECTS be expressed in FOL?

I don't know. However, people here will definitely know whether the Elementary Theory of a Category of Sets can be expressed in Lean.

Johan Commelin (Aug 30 2024 at 09:24):

There are multiple ways to interpret that statement so that the answer is a definite "yes".

Martin Dvořák (Aug 30 2024 at 09:58):

And can it be done as an internal model?

Michael Stoll (Aug 30 2024 at 10:37):

There is also ETCS :smile:

Michael Stoll (Aug 30 2024 at 11:39):

(Missed that.)


Last updated: May 02 2025 at 03:31 UTC