Commit 2023-08-23 11:25 34d86d99
View on Github →feat(RingTheory/FiniteType): generalize some results to non-commutative rings (#6681)
I was hoping to use this in combination with #6680 to show the TensorAlgebra is finitely generated, where I needed to generalize FiniteType.equiv; but it turns out that the FiniteType instance on MonoidAlgebra also isn't generalized!
The summary here is:
- Move
Algebra.adjoin_algebraMapfromMathlib/RingTheory/Adjoin/Tower.leantoMathlib/RingTheory/Adjoin/Basic.leanand golf the proof to oblivion - Provide an alternative statement of
adjoin_union_eq_adjoin_adjoin,adjoin_algebraMap_image_union_eq_adjoin_adjoin, which works in non-commutative rings, and use it along with a newadjoin_toplemma to proveAlgebra.fg_trans'more generally. - Introduce a new
Svariable throughout, with the convention thatRandSare commutative,AandBremain not-necessarily-commutative, andA/S/Ris a tower of algebras. - Apply some zero-effort generalizations to semirings.