Is is appropriate to mix inequalities and equalities in a mathematical statement?

26 Views Asked by At

This question is extremely basic but I can't find any information online and it has never been mentioned at university: Is the use of equal signs within comparisons allowed/mathematically correct?

Example A: $$3^2+1^2=10 < 16=(3+1)^2.$$

Example B: $$\DeclareMathOperator{fib}{fib}\fib(2)=1 < \fib(3)=2 < \fib(4)=3,$$ where $\fib(n)$ denotes the $n$-th Fibonacci number.