Parent structures - #323
Merged
Merged
Conversation
ScriptRaccoon
force-pushed
the
parent-structures
branch
from
August 9, 2026 09:24
7591f87 to
54d9b9c
Compare
This was referenced Aug 9, 2026
ScriptRaccoon
force-pushed
the
parent-structures
branch
3 times, most recently
from
August 10, 2026 08:35
42a6257 to
2f4ea6a
Compare
ScriptRaccoon
marked this pull request as ready for review
August 10, 2026 12:07
ScriptRaccoon
force-pushed
the
parent-structures
branch
from
August 10, 2026 15:22
ef30c1a to
18ebed3
Compare
also add the general case of R-Mod, FinVect and BG
also: improve descriptions of categories, improve related categories, and other minor stuff
ScriptRaccoon
force-pushed
the
parent-structures
branch
from
August 10, 2026 15:46
18ebed3 to
58a6859
Compare
This was referenced Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parent structures
CRing is a special case of CAlg(R), so every property of CAlg(R) should automatically hold for CRing. This PR automates this process and implements parts of #7.
To achieve this, each structure can now have a parent structure. If a parent has a non-deduced, decidable property, that property is inherited by the child. For example, CAlg(R) is a parent of CRing, so CRing is a child of CAlg(R). The category detail page shows the parent, if one exists, and the children, if any. Structures that have been designated as parents can be viewed as families of structures.
flowchart BT CRing --> CAlg_R["CAlg(R)"]Many property assignments in child categories could now be removed from their files since they are now deduced from their parent. Existing assignments can nevertheless be kept when they are instructive. For example, we can keep the proof that CRing is not semi-strongly connected.
The three entries BGu, BGc, and BGf, corresponding to the cases where the group$G$ is uncountable, countable, and finite, respectively, now have BG as their parent. Properties of BG that cannot be determined for a general group $G$ , such as finiteness, are marked as undecidable.
flowchart BT BG_c --> BG BG_f --> BG BG_u --> BGThe same change has been made for the three variants of FinVectK, depending on the cardinality of$K$ .
The entry R-Mod now represents the case of a general nontrivial ring$R$ . It has two children: one for the case where $R$ is a division ring, and one for the case where $R$ is not semisimple. These in turn have further children, Vect and Ab, respectively.
flowchart BT R_Mod_div["R-Mod_div"] --> R_Mod["R-Mod"] R_Mod_non_ss["R-Mod_non_ss"] --> R_Mod Vect --> R_Mod_div Ab --> R_Mod_non_ssCategory Detail Page
Special objects/morphisms
For categories, special objects and morphisms are also inherited from the parent (if it exists).
Consistency
This PR also resolves an inconsistency in how proofs for special cases were handled. Previously, when a property$P$ was known for a parent, there were two approaches: sometimes $P$ was proved separately for the child, with the proof for the parent described as the same or very similar; in other cases, the proof was given for the parent and the child's proof simply stated that it was a special case of the parent.
The latter approach is now used consistently: whenever a property is inherited from a parent, the child's proof refers to the proof for the parent rather than reproducing it.
Parent Relationships
Other changes
Category descriptions and some proofs have been improved.