Compfiles/Usa2015P5.lean
6 declarations, 0 contain sorry, 0 declared as axioms
USA Mathematical Olympiad 2015, Problem 5
Let a, b, c, d, e be distinct positive integers such that a⁴+b⁴ = c⁴+d⁴ = e⁵. Show that ac+bd is a composite number.
Imports (3)
Imported by 1 file
- lemma
Usa2015P5.p_divisline 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Eq,HAdd.hAdd,HPow.hPow,OfNat.ofNat,ZMod,HMul.hMul,HSub.hSubProof uses:
id,congrArg,of_eq_true,Eq.trans,True,congrFun',congr,CharP.cast_eq_zero,eq_self,Eq.mp,Nat.cast_add,Nat.cast_pow65 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2015P5.e_lt_pline 52 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,HPow.hPow,HMul.hMulProof uses:
Trans.trans,LE.le,Eq.symm,add_le_add,Nat.pow_le_pow_right,Mathlib.Meta.NormNum.isNat_le_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.true,Eq.mpr,id,congrArg,Eq.trans,Nat.rawCast,Mathlib.Tactic.Ring.Common.pow_congr,Mathlib.Tactic.Ring.Common.add_congr,Mathlib.Tactic.Ring.Common.atom_pf,rfl,Mathlib.Tactic.Ring.Common.add_pf_add_ltand 83 more155 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2015P5.not_p_dvd_eline 61 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,HPow.hPow,Not,Dvd.dvd,HMul.hMulProof uses:
Nat.not_dvd_of_pos_of_lt, Usa2015P5.e_lt_p21 instances, coercions and auxiliary constants left out.
- lemma
Usa2015P5.not_p_dvd_e_pow_5line 65 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,HPow.hPow,Nat.Prime,HMul.hMul,Not,Dvd.dvdProof uses: Usa2015P5.not_p_dvd_e,
Mathlib.Tactic.Contrapose.contrapose₄,Nat.Prime.dvd_of_dvd_pow22 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
Usa2015P5.p_le_aa_plus_ddline 71 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,HPow.hPow,Ne,Nat.Prime,HMul.hMul,LE.leProof uses:
Not,Or,Classical.em,Nat.lt_of_le_of_ne,id,Ne.symm,ZMod,HSub.hSub, Usa2015P5.p_divis,Dvd.dvd,Or.resolve_right,Eq.mp,congrArg,propext,Nat.Prime.dvd_mul,ZMod.natCast_eq_zero_iff,congrFun',Eq.trans,congr,AddGroupWithOneand 91 more142 instances, coercions and auxiliary constants left out.
Tactic trace: 26 steps
Open to load the checked before-and-after goal states.
- problem
Usa2015P5.usa2015_p5line 95 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,HPow.hPow,Ne,And,Not,Nat.Prime,HMul.hMulProof uses:
And.intro,LE.le,Or,Classical.em,Nat.lt_of_le_of_ne,id, Usa2015P5.p_le_aa_plus_dd,pow_lt_pow_left₀,le_of_lt,ne_of_gt,Mathlib.Meta.Positivity.pos_of_isNat,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Nat.ble,lt_of_pow_lt_pow_left',Eq.mp,congrArg,Eq.symm,False.elimand 86 more134 instances, coercions and auxiliary constants left out.
Tactic trace: 27 steps
Open to load the checked before-and-after goal states.