Zulip Chat Archive
Stream: maths
Topic: generalized AM-GM
Violeta Hernández (Nov 24 2024 at 17:50):
We currently only have AM-GM for sequences of reals in Mathlib. By changing the nth root to an nth power, this inequality is statable in any ordered field (commutative semiring?), and I believe it should stay true.
If the field is algebraically closed, one can simply follow Cauchy's proof (n implies 2n, n + 1 implies n). The issue is that the latter step requires taking an nth root within the induction hypothesis, and thus isn't directly applicable in non-algebraic fields.
Of course, one can simply extend the field to a larger algebraic field (e.g. the surreals) and finish the proof there. But this is quite the sledgehammer and would probably be difficult to state in Lean.
Violeta Hernández (Nov 24 2024 at 17:50):
So basically, what can we use to prove AM-GM for ordered fields in Lean?
Violeta Hernández (Nov 24 2024 at 17:51):
(unfortunately AM-GM can't be reduced to a sum of squares the same way e.g. Cauchy-Schwarz can, see the Motzkin polynomial)
Kevin Buzzard (Nov 24 2024 at 17:55):
What's the statement you want to prove?
Violeta Hernández (Nov 24 2024 at 19:44):
Violeta Hernández (Nov 24 2024 at 19:45):
But actually I think I made a mistake in my proof. The Wikipedia induction proofs work just fine over an ordered field, just by taking out the nth root
Violeta Hernández (Nov 24 2024 at 19:48):
Obviously we still want the weighted version with real numbers, because arbitrary powers don't make sense in an arbitrary field. But I think this version would be cool to have as well.
Violeta Hernández (Nov 24 2024 at 19:48):
(just to make sure, we don't have it, do we?)
Eric Wieser (Nov 24 2024 at 21:28):
Presumably you also want this with an term moved to the RHS, so that it holds in rings?
Violeta Hernández (Nov 24 2024 at 21:29):
Oh, of course
Violeta Hernández (Nov 24 2024 at 21:30):
I'll just have to make sure the proof still works
Last updated: May 02 2025 at 03:31 UTC