Compfiles/Russia1995P10.lean
1 declarations, 0 contain sorry, 0 declared as axioms
Russian Mathematical Olympiad 1995, problem 10
Let m, n be positive integers such that
gcd(m, n) + lcm(m, n) = m + n.
Show that one of the two numbers is divisible by the other.
Imported by 1 file
- problem
Russia1995P10.russia1995_p10line 30 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,And,Ne,OfNat.ofNat,Eq,HAdd.hAdd,GCDMonoid.gcd,GCDMonoid.lcm,Or,Dvd.dvdProof uses:
HDiv.hDiv,HMul.hMul,id,Not,HPow.hPow,Eq.mpr,congrArg,Eq.symm,Nat.left_distrib,pow_two,Nat.mul_div_cancel',dvd_trans,Nat.gcd_dvd_left,Nat.dvd_mul_right,Nat.add_comm,Eq.refl,HSub.hSub,Eq.mp,Int,Eq.transand 16 more49 instances, coercions and auxiliary constants left out.
Tactic trace: 33 steps
Open to load the checked before-and-after goal states.