Compfiles/Usa2019P1.lean
7 declarations, 0 contain sorry, 0 declared as axioms
USA Mathematical Olympiad 2019, Problem 1
Let ℕ+ be the set of positive integers. A function f: ℕ+ → ℕ+ satisfies the equation
fᶠ⁽ⁿ⁾(n)⬝f²(n) = n^2
for all positive integers n, where fᵏ(m) means f iterated k times on m. Given this information, determine all possible values of f(1000).
Imported by 1 file
- lemma
Usa2019P1.f_injectiveline 35 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Eq,HMul.hMul,Nat.iterate,HPow.hPow,Nat,OfNat.ofNat,Function.InjectiveProof uses:
eq_of_heq,HEq,Eq.refl,HEq.refl,Eq.symm,LT.lt,Nat.casesAuxOn,Subtype.mk,id,False.elim,Eq.mp,False,HAdd.hAdd,of_eq_true,Eq.trans,True,congrFun',congrArg,eq_self,Eq.mprand 7 more46 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2019P1.lemma_1line 68 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Eq,HMul.hMul,Nat.iterate,HPow.hPow,Nat,OfNat.ofNatProof uses:
Function.iterate_fixed,Trans.trans,Eq.symm,Function.Injective.iterate, Usa2019P1.f_injective19 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2019P1.lemma_2line 85 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Eq,HMul.hMul,Nat.iterate,HPow.hPow,Nat,OfNat.ofNat,OddProof uses:
id,Eq.mpr,congrArg,Eq.refl,Eq.mp,propext,mul_left_inj,sq,Nat.recAux,of_eq_true,Eq.trans,True,congrFun',MulZeroClass.mul_zero,eq_self,HAdd.hAdd,Nat.succ,Nat.mul_succ,Function.comp,Function.iterate_addand 3 more65 instances, coercions and auxiliary constants left out.
Tactic trace: 29 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2019P1.pnat_odd_mulline 131 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Eq,HMul.hMul,Odd,Nat,AndProof uses:
LT.lt,OfNat.ofNat,Subtype.mk,id,eq_of_heq,HEq,Eq.refl,HEq.refl,Eq.symm,Odd.mul,Eq.mp,congrArg,PNat.mk_coe,Iff.mp,Nat.odd_mul14 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2019P1.lemma_3line 144 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Eq,HMul.hMul,Nat.iterate,HPow.hPow,Nat,OfNat.ofNat,OddProof uses:
PNat.strongInductionOn,LT.lt,dite,And.right, Usa2019P1.pnat_odd_mul,Eq.mp,congrArg,sq,Eq.mpr,id, Usa2019P1.lemma_1,rfl,Not,And.left,And,Decidable.byContradiction,Or,False,propext,not_and_orand 7 more57 instances, coercions and auxiliary constants left out.
Tactic trace: 39 steps
Open to load the checked before-and-after goal states.
- determine
Usa2019P1.solution_setline 191 sourceno axioms what this means
Statement uses:
Set,PNatProof uses:
Set.ofPred,Even,Nat2 instances, coercions and auxiliary constants left out.
- problem
Usa2019P1.usa2019_p1line 193 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Iff,Membership.mem,Set, Usa2019P1.solution_set,Exists,And,Eq,HMul.hMul,Nat.iterate,HPow.hPow,Nat,OfNat.ofNatProof uses:
Iff.intro,ite,exists_eq,Eq.mpr,id,congrArg,Eq.trans,congrFun',ite_congr,Eq.refl,Not,True,eq_self,ite_true,Iff.mpr,right_eq_ite_iff,Eq.symm,of_eq_true,ite_eq_left_of_eq_true,Function.compand 29 more42 instances, coercions and auxiliary constants left out.
Tactic trace: 56 steps
Open to load the checked before-and-after goal states.