Commit 2026-03-05 14:15 b630f5ad
View on Github →feat(RatFunc): add notation for RatFunc (#36172) This PR adds notation for RatFunc. This syntax makes it fit nicely with preexisting notation for Polynomial, as you can see in this example:
Algebra.IsAlgebraic.rank_of_isFractionRing k[X] k⟮X⟯ K[X] K⟮X⟯
The parentheses are chosen to be like the one for IntermediateField.adjoin on purpose.
I think this is nice because of consistency and it's easy to remember. However this means that there's a potential clash when using a variable X : F that one would like to adjoin to a field.
See also related PR #35928 and discussion #mathlib4 > Notation for Algebra.adjoin @ 💬.