Compfiles/India1998P1.lean
2 declarations, 0 contain sorry, 0 declared as axioms
Indian Mathematical Olympiad 1998, problem 1
(a) Show that the product of two numbers of the form a² + 3b² is again of that form. (b) If an integer n is such that 7n is of the form a² + 3b², prove that n is also of that form.
Imported by 1 file
- problem
India1998P1.india1998_p1aline 28 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Int,Exists,Eq,HMul.hMul,HAdd.hAdd,HPow.hPow,Nat,OfNat.ofNatProof uses:
Exists.intro,HSub.hSub,Mathlib.Tactic.Ring.of_eq,Nat.rawCast,Mathlib.Tactic.Ring.Common.mul_congr,Mathlib.Tactic.Ring.Common.add_congr,Mathlib.Tactic.Ring.Common.pow_congr,Mathlib.Tactic.Ring.Common.atom_pf,rfl,Eq.mpr,id,congrArg,Eq.symm,Eq.refl,Mathlib.Tactic.Ring.cast_pos,Mathlib.Meta.NormNum.isNat_ofNat,Mathlib.Tactic.Ring.Common.pow_add,Mathlib.Tactic.Ring.Common.single_pow,Mathlib.Tactic.Ring.Common.mul_pow_mul,Mathlib.Meta.NormNum.IsNat.to_raw_eqand 45 more48 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- problem
India1998P1.india1998_p1bline 32 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Int,Eq,HAdd.hAdd,HPow.hPow,Nat,OfNat.ofNat,HMul.hMul,ExistsProof uses:
ZMod,Trans.trans,Eq.mpr,id,congrArg,Eq.trans,Int.cast_add,congr,Int.cast_pow,Int.cast_mul,Int.cast_ofNat,Eq.refl,MulZeroClass.zero_mul,Neg.neg,rfl,Mathlib.Tactic.LinearCombination.eq_of_eq,Eq.mp,Mathlib.Tactic.LinearCombination.eq_rearrange,Mathlib.Tactic.Ring.of_eq,HSub.hSuband 91 more118 instances, coercions and auxiliary constants left out.
Tactic trace: 68 steps
Open to load the checked before-and-after goal states.