Compfiles/Imo1961P1.lean
6 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 1961, Problem 1.
Given constants a and b, solve the system of equations
x + y + z = a x² + y² + z² = b² xy = z²
for x,y,z. Give the conditions that a and b must satisfy so that the solutions x,y,z are distinct positive numbers.
Imports (2)
Imported by 1 file
- abbrev
Imo1961P1.IsSolutionline 32 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
And,Eq,HAdd.hAdd,HPow.hPow,Nat,OfNat.ofNat,HMul.hMul9 instances, coercions and auxiliary constants left out.
- determine
Imo1961P1.xyz_of_abline 37 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Set,ProdProof uses:
Set.ofPred,Imo1961P1.xyz_of_ab.match_1,Or,And,Ne,OfNat.ofNat,Eq,HDiv.hDiv,HSub.hSub,HPow.hPow,Nat,HMul.hMul,HAdd.hAdd19 instances, coercions and auxiliary constants left out.
- determine
Imo1961P1.ab_that_make_xyz_positive_distinctline 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Prod,RealProof uses:
Set.ofPred,Imo1961P1.ab_that_make_xyz_positive_distinct.match_1,And,LT.lt,OfNat.ofNat,HPow.hPow,Nat,HMul.hMul13 instances, coercions and auxiliary constants left out.
- lemma
Imo1961P1.aux_1line 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,And,LT.lt,OfNat.ofNat,List.Nodup,List.cons,List.nil,Eq,HAdd.hAdd,HPow.hPow,Nat,HMul.hMulProof uses:
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.Tactic.Ring.Common.sub_congr,Mathlib.Tactic.Ring.cast_zero,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_zero,Mathlib.Tactic.Ring.Common.atom_pf,rfl,Eq.mprand 191 more185 instances, coercions and auxiliary constants left out.
Tactic trace: 117 steps
Open to load the checked before-and-after goal states.
- problem
Imo1961P1.imo1961_p1aline 155 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Iff,Membership.mem,Prod,Set, Imo1961P1.xyz_of_ab,Prod.mk, Imo1961P1.IsSolutionProof uses:
id,Iff.intro,Or,And,Not,Eq,OfNat.ofNat,HDiv.hDiv,HSub.hSub,HPow.hPow,Nat,HMul.hMul,HAdd.hAdd,Eq.mpr,congrArg,add_sq,mul_assoc,Eq.symm,Mathlib.Tactic.Ring.of_eq,Nat.rawCastand 90 more108 instances, coercions and auxiliary constants left out.
Tactic trace: 39 steps
Open to load the checked before-and-after goal states.
- problem
Imo1961P1.imo1961_p1bline 192 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real, Imo1961P1.IsSolution,Iff,Membership.mem,Prod,Set, Imo1961P1.ab_that_make_xyz_positive_distinct,Prod.mk,And,LT.lt,OfNat.ofNat,List.Nodup,List.cons,List.nilProof uses:
Eq,HAdd.hAdd,HPow.hPow,Nat,HMul.hMul,Iff.intro,Eq.mpr,Not,id,Eq.trans,implies_congr,Eq.refl,congrArg,List,congr,Or,False,or_false,True,not_false_eq_trueand 117 more144 instances, coercions and auxiliary constants left out.
Tactic trace: 68 steps
Open to load the checked before-and-after goal states.