Skip to content

Conversation

@fchapoton
Copy link
Contributor

as this would be a natural place to put some specific methods from #37601

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

@github-actions
Copy link

github-actions bot commented Feb 20, 2025

Documentation preview for this PR (built with commit 6f206c2; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@tscrim
Copy link
Collaborator

tscrim commented Feb 21, 2025

+1 on doing this. Just let me know once all the doctests have been added and tests pass and I will do a proper review.

@fchapoton
Copy link
Contributor Author

fchapoton commented Feb 24, 2025

for some reason, probably the heuristic algo used to name the categories, the doctests are flaky

EDIT: this was the case. Now they are just failing

@fchapoton
Copy link
Contributor Author

now doctests are flaky again..

@fchapoton fchapoton mentioned this pull request Mar 19, 2025
5 tasks
@fchapoton
Copy link
Contributor Author

I am not very satisfied : in the doctests, some implications between axioms are not used to remove the implied axiom in the name.

@fchapoton fchapoton force-pushed the axioms_for_lattices branch from 361c12e to 70bf0ca Compare May 21, 2025 13:18
@fchapoton
Copy link
Contributor Author

@tscrim, this is mostly ready, I think, even if I am not satisfied by the long answers to P.category()

@fchapoton
Copy link
Contributor Author

but maybe I should rather put all that in finite_lattice_posets.py ?

@fchapoton fchapoton force-pushed the axioms_for_lattices branch from 3a55986 to 94e12ee Compare June 6, 2025 07:27
@fchapoton
Copy link
Contributor Author

now implemented as axioms of finite lattices. I am still not happy with the very long names of the categories.

@fchapoton
Copy link
Contributor Author

This starts to look reasonable. @tscrim would you please have a look when you can ?

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the axiom doc, each new subclass should define precisely one new axioms, and it should be a subclass of the base category class. So, e.g., Stone should be defined in Distributive.

Is a trim and congruence uniform imply distributive? If not, then you need a dummy class for both of them to define the distributive (a limitation of the system) unless you make it a "normal" category. If so, then you need to implement, e.g., Trim_extra_super_categories() in CongruenceUniform like in DivisionRings (with the hierarchy going Trim -> Distributive).

This should hopefully help take care of the naming issues.

@fchapoton
Copy link
Contributor Author

fchapoton commented Jun 27, 2025

still battling to understand.. I have nested the classes: CongruenceUniform in SemiDistributive ; Trim in Extremal ; and Stone in Distributive.

So I want now Distributive to be a subclass of both CongruenceUniform and Trim. I do not yet see how another dummy class can help to achieve that.

@tscrim
Copy link
Collaborator

tscrim commented Jun 30, 2025

So I want now Distributive to be a subclass of both CongruenceUniform and Trim. I do not yet see how another dummy class can help to achieve that.

You choose one and the add an extra_super_categories() method that returns the other. See the axiom deduction rules.

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, two other things that I would like to see done in this PR.

Copy link
Collaborator

@tscrim tscrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last little thing. If you'd rather ignore it, that's fine too.

Co-authored-by: Travis Scrimshaw <[email protected]>
@fchapoton
Copy link
Contributor Author

this should be good to go now, maybe ?

@fchapoton
Copy link
Contributor Author

@tscrim : I hope that FPSAC went well. Would you please approve this one when you can ?

@tscrim
Copy link
Collaborator

tscrim commented Aug 18, 2025

Yes, let's get this in. Thank you for reminding me about it.

vbraun pushed a commit to vbraun/sage that referenced this pull request Aug 21, 2025
sagemathgh-39554: creating axioms for lattices
    
as this would be a natural place to put some specific methods from
sagemath#37601

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
    
URL: sagemath#39554
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
@vbraun vbraun merged commit efeb8f4 into sagemath:develop Aug 27, 2025
30 of 32 checks passed
@fchapoton fchapoton deleted the axioms_for_lattices branch August 27, 2025 16:30
vbraun pushed a commit to vbraun/sage that referenced this pull request Sep 11, 2025
sagemathgh-40705: use the finer new categories for some lattice posets in library
    
namely declare some known properties as categories, as allowed by sagemath#39554

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#40705
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Martin Rubey
vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 4, 2026
sagemathgh-40945: introduce the category of graded lattices
    
as this will be a useful thing to have

sequel of sagemath#39554 and sagemath#40705

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
    
URL: sagemath#40945
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
vbraun pushed a commit to vbraun/sage that referenced this pull request Jan 6, 2026
sagemathgh-40945: introduce the category of graded lattices
    
as this will be a useful thing to have

sequel of sagemath#39554 and sagemath#40705

### 📝 Checklist

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
    
URL: sagemath#40945
Reported by: Frédéric Chapoton
Reviewer(s): Frédéric Chapoton, Travis Scrimshaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants