Compfiles/Usa1994P4.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned compfiles documentation, Pinned compfiles corpus index
10 declarations, 0 contain sorry, 0 declared as axioms
USA Mathematical Olympiad 1994, Problem 4
xᵢ is an infinite sequence of positive reals such that for all n, x₁ + x₂ + ... + xₙ ≥ √n. Show that x₁² + x₂² + ... + xₙ² > (1 + 1/2 + 1/3 + ... + 1/n) / 4 for all n.
Imports (5)
Imported by 1 file
- def
Usa1994P4.yThe telescoping comparison sequencey i = √(i+1) - √iline 42 sourceSource documentation
The telescoping comparison sequence
y i = √(i+1) - √i.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
HSub.hSub,Real.sqrt,HAdd.hAdd,OfNat.ofNat8 instances, coercions and auxiliary constants left out.
noncomputable def y (i : ℕ) : ℝ := Real.sqrt (i + 1) - Real.sqrt i
- lemma
Usa1994P4.hden_posline 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,Real,OfNat.ofNat,HAdd.hAdd,Real.sqrtProof uses:
add_pos_of_pos_of_nonneg,Real.sqrt_pos_of_pos,Right.add_pos_of_nonneg_of_pos,inferInstance,Zero,PartialOrder,Nat.cast_nonneg',Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_one,Eq.refl,Bool,Nat.ble,Real.sqrt_nonneg34 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Usa1994P4.hy_posline 47 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,Real,OfNat.ofNat, Usa1994P4.yProof uses:
Real.sqrt,HAdd.hAdd,Real.sqrt_lt_sqrt,Nat.cast_nonneg,lt_add_one,Iff.mpr,HSub.hSub,sub_pos57 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Usa1994P4.hy_mulline 52 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Real,HMul.hMul, Usa1994P4.y,HAdd.hAdd,Real.sqrt,OfNat.ofNatProof uses:
HPow.hPow,Real.sq_sqrt,le_of_lt,Right.add_pos_of_nonneg_of_pos,Nat.cast_nonneg',Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_one,Eq.refl,Bool,Nat.ble,Nat.cast_nonneg,id,Mathlib.Tactic.Linarith.eq_of_not_lt_of_not_gt,HSub.hSub,Not.intro,LT.lt,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,Neg.negand 62 more77 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
Usa1994P4.hy_invline 58 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Real, Usa1994P4.y,HDiv.hDiv,OfNat.ofNat,HAdd.hAdd,Real.sqrtProof uses:
Iff.mpr,HMul.hMul,eq_div_iff_mul_eq,LT.lt.ne', Usa1994P4.hden_pos, Usa1994P4.hy_mul30 instances, coercions and auxiliary constants left out.
- lemma
Usa1994P4.hy_succ_leline 61 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Real, Usa1994P4.y,HAdd.hAdd,OfNat.ofNatProof uses:
Eq.mpr,HDiv.hDiv,Real.sqrt,id,Eq,congrArg, Usa1994P4.hy_inv,congrFun',Eq.trans,Nat.cast_add,Nat.cast_one,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,HMul.hMul,HPow.hPow,Mathlib.Tactic.Ring.Common.add_congr,Mathlib.Tactic.Ring.Common.atom_pf,rfl,Eq.symm,Eq.refland 58 more80 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Usa1994P4.sum_yline 72 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,Real,Finset.sum,Finset.range, Usa1994P4.y,Real.sqrtProof uses:
Nat.recAux,of_eq_true,OfNat.ofNat,Eq.trans,True,congrArg,CharP.cast_eq_zero,Real.sqrt_zero,eq_self,Eq.mpr,HAdd.hAdd,id,Finset.sum_range_succ,congrFun',Nat.cast_add,Nat.cast_one,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,HMul.hMul,HPow.hPowand 32 more60 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
Usa1994P4.one_div_four_ltline 82 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,Real,HDiv.hDiv,OfNat.ofNat,HAdd.hAdd,HPow.hPow, Usa1994P4.yProof uses:
Real.sqrt,HMul.hMul,Real.sqrt_lt_sqrt,Nat.cast_nonneg,lt_add_one,lt_of_not_ge,LE.le,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,HSub.hSub,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.Common.add_congr,Nat.rawCast,Int.rawCast,inferInstance,Ring,Int.negOfNat,Mathlib.Meta.NormNum.instAddMonoidWithOne,Mathlib.Tactic.Ring.Common.sub_congrand 80 more123 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- lemma
Usa1994P4.sum_sq_y_leAbel-summation comparison: the partial sums ofxdominate those ofyandyis decreasing, so∑ i, (y i)^2 ≤ ∑ i, x i * y iline 103 sourceSource documentation
Abel-summation comparison: the partial sums of
xdominate those ofyandyis decreasing, so∑ i, (y i)^2 ≤ ∑ i, x i * y i.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,LE.le,Real.sqrt,Finset.sum,Finset.range,HPow.hPow, Usa1994P4.y,OfNat.ofNat,HMul.hMulProof uses:
Nat.casesAuxOn,of_eq_true,Eq,HAdd.hAdd,HSMul.hSMul,HSub.hSub,Finset.sum_range_by_parts,mul_le_mul_of_nonneg_left,Eq.mp,congrFun',congrArg,Eq.trans,Nat.cast_add,Nat.cast_one,LT.lt.le, Usa1994P4.hy_pos,Finset.sum_le_sum,Membership.mem,Finset,mul_le_mul_of_nonpos_leftand 69 more119 instances, coercions and auxiliary constants left out.
Tactic trace: 24 steps
Open to load the checked before-and-after goal states.
lemma sum_sq_y_le (x : ℕ → ℝ) (h : ∀ n : ℕ, Real.sqrt (n : ℝ) ≤ ∑ i ∈ Finset.range n, x i) (n : ℕ) : ∑ i ∈ Finset.range n, (y i) ^ 2 ≤ ∑ i ∈ Finset.range n, x i * y i := by …Mentions: h, Usa1994P4.y
- problem
Usa1994P4.usa1994_p4line 136 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,LT.lt,OfNat.ofNat,LE.le,Real.sqrt,Finset.sum,Finset.range,HDiv.hDiv,HAdd.hAdd,HPow.hPowProof uses:
Eq.mpr,id,Eq,congrArg,Finset.sum_div,Ne, Usa1994P4.y,Finset.sum_lt_sum_of_nonempty,Iff.mpr,Finset.Nonempty,Finset.nonempty_range_iff,Membership.mem,Finset, Usa1994P4.one_div_four_lt,Finset.sum_pos,pow_pos, Usa1994P4.hy_pos,HMul.hMul, Usa1994P4.sum_sq_y_le,Finset.sum_mul_sq_le_sq_mul_sqand 7 more95 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.