Compfiles/Imo2019P4.lean
3 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 2019, Problem 4
Determine all positive integers n,k that satisfy the equation
k! = (2ⁿ - 2⁰)(2ⁿ - 2¹) ... (2ⁿ - 2ⁿ⁻¹).
Imports (4)
Imported by 1 file
- theorem
Imo2019P4.upper_boundline 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,GT.gt,OfNat.ofNat,Eq,Int,Nat.factorial,Finset.prod,Finset.range,HSub.hSub,HPow.hPow,LT.ltProof uses:
Finset.sum,ENat,emultiplicity,Eq.mpr,id,congrArg,Finset.emultiplicity_prod,Int.prime_two,Nat.cast_sum,Finset.sum_congr,rfl,Finset,Membership.mem,emultiplicity_sub_of_gt,emultiplicity_pow_self_of_prime,propext,Nat.cast_lt,Eq.symm,Finset.mem_range,Eq.refland 108 more165 instances, coercions and auxiliary constants left out.
Tactic trace: 46 steps
Open to load the checked before-and-after goal states.
- determine
Imo2019P4.solution_setline 90 sourceno axioms what this means
Statement uses:
Set,Prod,NatProof uses:
Insert.insert,Prod.mk,OfNat.ofNat,Singleton.singleton3 instances, coercions and auxiliary constants left out.
- problem
Imo2019P4.imo2019_p4line 92 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Iff,Membership.mem,Prod,Set, Imo2019P4.solution_set,Prod.mk,And,LT.lt,OfNat.ofNat,Eq,Int,Nat.factorial,Finset.prod,Finset.range,HSub.hSub,HPow.hPowProof uses:
Iff.intro,Or,Eq.mp,Eq.trans,Insert.insert,Singleton.singleton,congr,congrArg,Prod.mk.injEq,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.symm, Imo2019P4.upper_bound,dite,LE.le,False.elimand 54 more70 instances, coercions and auxiliary constants left out.
Tactic trace: 34 steps
Open to load the checked before-and-after goal states.