Repository navigation
Conversation
PR summary f858fcc3b4Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
Looks good to me and it's a leaf file so I don't see any major issues. As discussed on Zulip there will be other work in future PRs but I like this. I'm not a reviewer or maintainer myself so I can't give a formal tick, but I like it! |
|
Hang about. I think you might have |
|
Looks good now. For posterity, while it isn't going in this PR, the following are true, which motivates the names: |
| intent : Set β | ||
| /-- The axiom of a `Concept` stating that the upper polar of the first set is the second set. -/ | ||
| upperPolar_extent : upperPolar r extent = intent | ||
| /-- The axiom of a `Concept` stating that the lower polar of the second set is the first set. -/ |
There was a problem hiding this comment.
Could you update these docstrings to reflect the new names?
There was a problem hiding this comment.
Might as well give more useful docstrings while we're at it.
wrenna-robson
left a comment
There was a problem hiding this comment.
alias intentClosure_extentClosure_intentClosure := upperPolar_lowerPolar_upperPolar
| intent : Set β | ||
| /-- The axiom of a `Concept` stating that the upper polar of the first set is the second set. -/ | ||
| upperPolar_extent : upperPolar r extent = intent | ||
| /-- The axiom of a `Concept` stating that the lower polar of the second set is the first set. -/ |
There was a problem hiding this comment.
Might as well give more useful docstrings while we're at it.
... what reference? 😅 Can you please back the renames with links to the literature? |
|
"Introduction to lattices and order" calls them polars - that was my source. |
|
The other name that appears in the literature is "derivation operator" but having discussed it that seemed a bad direction. |
|
Page 67 of the most recent edition of "Introduction to lattices and order". "The maps ′ : A → A′ and ′ : B → B′ are traditionally called the polars of |
|
Do you have more than one reference? |
|
In the FCA literature they are "derivation operators" if anything (but they are NOT closures so the previous name does seem wrong). I am trying to track down where they get the term polar from - as they describe it as traditional I'm going to look in older literature. |
|
Birkhoff defines them as the "polars" and that is where Davey and Priestley get it from. He says "these are called 'polarities' because they generalize the dual isomorphism between 'polars' in analytic geometry" (though he then uses polar rather than polarity to describe them). He gives an example to make it clear - it is a term derived from classical geometry, in fact. |
YaelDillies
left a comment
There was a problem hiding this comment.
Okay, this looks convincing. Can you add these references to the module doc?
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by YaelDillies. |
|
I can't add them myself but I'll get the references. Davey, Brian A., and Hilary A. Priestley. Introduction to lattices and order. Cambridge university press, 2002. Chapter 3, Formal concept analysis. Birkhoff, G. (1940). Lattice theory (Vol. 25). American Mathematical Soc.. Chapter 4, Complete Lattices. |
|
Thanks! |
|
✌️ vihdzp can now approve this pull request. To approve and merge a pull request, simply reply with |
|
The Davey reference is already listed. As for Birkhoff, I'm not very good with BibTeX, is this the correct citation? |
|
Yeah, that looks fine. |
|
bors r+ |
The former name was being misused; the intent closure of a set `s` is actually `lowerPolar r (upperPolar r s)`. The name "polar" can be found in the reference. Although the two types of polars don't have separate names, we choose lower and upper in analogy to `lowerBounds` and `upperBounds`; in fact, `lowerPolar (· ≤ ·) s` is def-eq to `lowerBounds s`, and likewise for `upperPolar`. While we're at it, we also get rid of the `Concept.toProd` projection, in favor of giving more informative names to its fields. This PR contains no mathematics, it's just renaming.
|
Pull request successfully merged into master. Build succeeded: |
intentClosure → lowerPolarintentClosure → lowerPolar
…rover-community#26976) The former name was being misused; the intent closure of a set `s` is actually `lowerPolar r (upperPolar r s)`. The name "polar" can be found in the reference. Although the two types of polars don't have separate names, we choose lower and upper in analogy to `lowerBounds` and `upperBounds`; in fact, `lowerPolar (· ≤ ·) s` is def-eq to `lowerBounds s`, and likewise for `upperPolar`. While we're at it, we also get rid of the `Concept.toProd` projection, in favor of giving more informative names to its fields. This PR contains no mathematics, it's just renaming.
…rover-community#26976) The former name was being misused; the intent closure of a set `s` is actually `lowerPolar r (upperPolar r s)`. The name "polar" can be found in the reference. Although the two types of polars don't have separate names, we choose lower and upper in analogy to `lowerBounds` and `upperBounds`; in fact, `lowerPolar (· ≤ ·) s` is def-eq to `lowerBounds s`, and likewise for `upperPolar`. While we're at it, we also get rid of the `Concept.toProd` projection, in favor of giving more informative names to its fields. This PR contains no mathematics, it's just renaming.
…rover-community#26976) The former name was being misused; the intent closure of a set `s` is actually `lowerPolar r (upperPolar r s)`. The name "polar" can be found in the reference. Although the two types of polars don't have separate names, we choose lower and upper in analogy to `lowerBounds` and `upperBounds`; in fact, `lowerPolar (· ≤ ·) s` is def-eq to `lowerBounds s`, and likewise for `upperPolar`. While we're at it, we also get rid of the `Concept.toProd` projection, in favor of giving more informative names to its fields. This PR contains no mathematics, it's just renaming.
The former name was being misused; the intent closure of a set
sis actuallylowerPolar r (upperPolar r s).The name "polar" can be found in the reference. Although the two types of polars don't have separate names, we choose lower and upper in analogy to
lowerBoundsandupperBounds; in fact,lowerPolar (· ≤ ·) sis def-eq tolowerBounds s, and likewise forupperPolar.While we're at it, we also get rid of the
Concept.toProdprojection, in favor of giving more informative names to its fields.This PR contains no mathematics, it's just renaming.
This rename was originally @linesthatinterlace's idea, but I second it!