Compfiles/Imo1996P4.lean
5 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 1996, Problem 4
The positive integers a and b are such that the numbers 15a + 16b and 16a − 15b are both squares of positive integers. What is the least possible value that can be taken on by the smaller of these two squares?
Imports (2)
Imported by 1 file
- determine
Imo1996P4.solutionline 28 sourceno axioms what this means
Statement uses:
IntProof uses:
OfNat.ofNat1 instances, coercions and auxiliary constants left out.
- def
Imo1996P4.Sline 30 sourcestandard axioms: propext what this means
Statement uses:
Set,IntProof uses:
Set.ofPred,Exists,And,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,HMul.hMul,HPow.hPow,Nat,HSub.hSub,Min.min14 instances, coercions and auxiliary constants left out.
- lemma
Imo1996P4.coprimeline 38 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Int,Nat,Nat.Prime,Not,Dvd.dvd,IsCoprimeProof uses:
Eq.mpr,Nat.Coprime,Int.natAbs,id,Eq,congrArg,propext,Int.isCoprime_iff_nat_coprime,Iff.mpr,Nat.Prime.coprime_iff_not_dvd,Mathlib.Tactic.Contrapose.contrapose₄,Int.ofNat_dvd_left9 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1996P4.false_of_zero_eqMod_posline 45 sourcestandard axioms: propext what this means
Statement uses:
Nat,Int.ModEq,Int,OfNat.ofNat,LT.lt,FalseProof uses:
Dvd.dvd,Iff.mp,Int.modEq_zero_iff_dvd,Int.ModEq.symm,LE.le,Nat.le_of_dvd,Int.ofNat_dvd,Nat.not_le_of_lt13 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- problem
Imo1996P4.imo1996_p4line 52 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
And,Membership.mem,Int,Set, Imo1996P4.S, Imo1996P4.solution,LE.leProof uses:
LT.lt,OfNat.ofNat,Exists,Eq,HAdd.hAdd,HMul.hMul,HPow.hPow,Nat,HSub.hSub,Min.min,Eq.mp,Set.ofPred,congrFun',congrArg,funext,Eq.trans,of_eq_true,True,congr,and_selfand 126 more107 instances, coercions and auxiliary constants left out.
Tactic trace: 104 steps
Open to load the checked before-and-after goal states.