Compfiles/Imo1968P3.lean
8 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 1968, Problem 3
a, b, c are real with a non-zero. x1, x2, ... , xn satisfy the n equations:
a x_i^2 + b x_i + c = x_{i+1}, for 1 ≤ i < n
a x_n^2 + b x_n + c = x_1
Prove that the system has zero, 1 or >1 real solutions according as (b - 1)^2 - 4ac is <0, =0 or >0.
Imports (2)
Imported by 1 file
- def
Imo1968P3.solution_setline 36 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,SetProof uses:
Set.ofPred,And,LT.lt,Eq,HAdd.hAdd,HMul.hMul,HPow.hPow,OfNat.ofNat,GT.gt13 instances, coercions and auxiliary constants left out.
- def
Imo1968P3.fline 42 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
HAdd.hAdd,HMul.hMul,HPow.hPow,Nat,OfNat.ofNat,HSub.hSub13 instances, coercions and auxiliary constants left out.
- lemma
Imo1968P3.f_continuousline 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Continuous, Imo1968P3.fProof uses:
id,Continuous.add_const,HAdd.hAdd,HMul.hMul,HPow.hPow,Nat,OfNat.ofNat,HSub.hSub,Continuous.comp',Prod,Prod.mk,Prod.fst,Prod.snd,continuous_add,Continuous.prodMk,continuous_const_mul,Continuous.fun_pow,continuous_id'33 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1968P3.IVTline 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Continuous,LE.le,OfNat.ofNat,GE.ge,Exists,EqProof uses:
Exists.imp,And,Membership.mem,Set,Set.uIcc,intermediate_value_uIcc,Continuous.continuousOn,Iff.mpr,Or,Set.mem_uIcc,Or.inl,And.intro42 instances, coercions and auxiliary constants left out.
- lemma
Imo1968P3.sol_structure_fline 49 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Ne,OfNat.ofNat,And,LT.lt,discrim,HSub.hSub,Not,Exists,Eq, Imo1968P3.f,Or,GE.ge,LE.le,GT.gtProof uses:
Iff,HAdd.hAdd,HMul.hMul,Iff.intro,Mathlib.Tactic.Linarith.eq_of_not_lt_of_not_gt,Not.intro,Mathlib.Tactic.Linarith.lt_irrefl,Eq.mp,Neg.neg,congrArg,Mathlib.Tactic.Ring.of_eq,Mathlib.Tactic.Ring.Common.add_congr,HPow.hPow,Nat,Nat.rawCast,Int.rawCast,inferInstance,Ring,Int.negOfNat,Mathlib.Meta.NormNum.instAddMonoidWithOneand 162 more145 instances, coercions and auxiliary constants left out.
Tactic trace: 51 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1968P3.solutionline 78 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,Eq, Imo1968P3.f,OfNat.ofNat,Membership.mem,Set, Imo1968P3.solution_set,ite,Finset,Finset.range,HAdd.hAddProof uses:
id,Eq.mpr,And,LT.lt,HMul.hMul,HPow.hPow,congrFun',Set.ofPred,congrArg,GT.gt,funext,forall_congr,implies_congr,Eq.refl,And.intro,Eq.trans,Not,LE.le,ite_congr,Mathlib.Tactic.Linarith.eq_of_not_lt_of_not_gtand 74 more125 instances, coercions and auxiliary constants left out.
Tactic trace: 34 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1968P3.sum_solline 100 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,Membership.mem,Set, Imo1968P3.solution_set,Eq,Finset.sum,Finset.range,HAdd.hAdd,OfNat.ofNat, Imo1968P3.fProof uses:
id,HMul.hMul,HPow.hPow,HSub.hSub,Trans.trans,Finset.sum_congr,rfl,Finset,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,Int.rawCast,inferInstance,Ring,Int.negOfNat,Mathlib.Tactic.Ring.Common.add_congr,Mathlib.Tactic.Ring.Common.mul_congr,Mathlib.Tactic.Ring.Common.atom_pf,Eq.mpr,congrArg,Eq.symmand 50 more80 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.
- problem
Imo1968P3.imo1968_p3line 115 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Real,Ne,OfNat.ofNat,And,LT.lt,discrim,HSub.hSub,Eq,Cardinal,Cardinal.mk, Imo1968P3.solution_set,GT.gtProof uses:
And.intro,Iff.mpr,Set,EmptyCollection.emptyCollection,Cardinal.mk_set_eq_zero_iff,Iff.mp,LE.le,Set.subset_empty_iff,Membership.mem,False.elim,Or, Imo1968P3.f,Classical.byContradiction,Not,Exists,False,Eq.mp,Eq.trans,congr,congrArgand 94 more123 instances, coercions and auxiliary constants left out.
Tactic trace: 87 steps
Open to load the checked before-and-after goal states.