Compfiles/Imo1968P2.lean
4 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 1968, Problem 2
Determine the set of natural numbers x such that the product of the decimal digits of x is equal to x² - 10x - 22.
Imported by 1 file
- lemma
Imo1968P2.lemma0line 29 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,List,Ne,List.nil,Eq,List.getLast,List.mapIdx,Iff.mpr,List.mapIdx_ne_nil_iff,List.length,List.dropLastProof uses:
Eq.mpr,HSub.hSub,OfNat.ofNat,id,congrArg,List.getLast_mapIdx,List.length_dropLast,Eq.refl4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1968P2.prod_digits_leline 34 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,List.prod,Nat.digitsProof uses:
Ne,List,List.nil,Iff.mpr,Nat.digits_ne_nil_iff_ne_zero,Iff.mp,Nat.pos_iff_ne_zero,Eq.mpr,HAppend.hAppend,List.dropLast,List.cons,List.getLast,id,Eq,congrArg,Eq.symm,List.dropLast_append_getLast,HMul.hMul,List.prod_append,List.prod_singletonand 22 more40 instances, coercions and auxiliary constants left out.
Tactic trace: 17 steps
Open to load the checked before-and-after goal states.
- determine
Imo1968P2.solution_setline 64 sourceno axioms what this means
Statement uses:
Set,NatProof uses:
Singleton.singleton,OfNat.ofNat2 instances, coercions and auxiliary constants left out.
- problem
Imo1968P2.imo1968_p2line 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Iff,Membership.mem,Set, Imo1968P2.solution_set,Eq,HPow.hPow,OfNat.ofNat,HAdd.hAdd,HMul.hMul,List.prod,Nat.digitsProof uses:
Iff.intro,of_eq_true,Eq.trans,True,congr,congrArg,Mathlib.Meta.NormNum.IsNat.to_eq,Mathlib.Meta.NormNum.isNat_pow,Eq.refl,Mathlib.Meta.NormNum.isNat_ofNat,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_mul,List.cons,List.nil,List,HMod.hMod,HDiv.hDiv,Nat.digits_of_two_le_of_posand 119 more147 instances, coercions and auxiliary constants left out.
Tactic trace: 15 steps
Open to load the checked before-and-after goal states.