Download tasks/pb-basic-008/solution/solve.sh from HuggingFaceSwarms/IMO-ProofBench: direct link, hf CLI and curl.
- Browser
- Download file 934 Bytes
-
https://huggingface.co/datasets/HuggingFaceSwarms/IMO-ProofBench/resolve/main/tasks/pb-basic-008/solution/solve.sh
- Command line
-
hf download hf://datasets/HuggingFaceSwarms/IMO-ProofBench/tasks/pb-basic-008/solution/solve.sh
-
curl -L -o solve.sh https://huggingface.co/datasets/HuggingFaceSwarms/IMO-ProofBench/resolve/main/tasks/pb-basic-008/solution/solve.sh
934 Bytes
| set -eu | |
| PROOF=${PROOF:-/app/proof.md} | |
| mkdir -p "$(dirname -- "$PROOF")" | |
| cat > "$PROOF" <<'IMO_PROOF_ad671ff51b719ad08d069a872df41c8f8b089a5976e753f040ea64b9b784dfb8' | |
| Renormalizing, we may suppose $a + b + c = 3$ and show $\sqrt{a}+\sqrt{b}+\sqrt{c} \geq ab+bc+ca$. Note that $\sqrt{a}+\sqrt{b}+\sqrt{c} \geq ab+bc+ca$ is equivalent to $2\sqrt{a}+2\sqrt{b}+2\sqrt{c} \geq 2ab+2bc+2ca \Leftrightarrow a^2+2\sqrt{a}+b^2+2\sqrt{b}+c^2+2\sqrt{c} \geq a^2+2ab+b^2+2bc+c^2+2ca = (a+b+c)^2$. The inequality is now equivalent to the inequality $a^2+2\sqrt{a}+b^2+2\sqrt{b}+c^2+2\sqrt{c} \geq 9$. Observe that from AM-GM, we have $a^2+\sqrt{a}+\sqrt{a} \geq 3a$. Similarly, we have $b^2+\sqrt{b}+\sqrt{b} \geq 3b$ and $c^2+\sqrt{c}+\sqrt{c} \geq 3c$. Adding these together, we have $a^2+2\sqrt{a}+b^2+2\sqrt{b}+c^2+2\sqrt{c} \geq 3(a+b+c) = 9$. Hence proved. | |
| IMO_PROOF_ad671ff51b719ad08d069a872df41c8f8b089a5976e753f040ea64b9b784dfb8 | |