Compfiles/Imo1992P6.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned compfiles documentation, Pinned compfiles corpus index
40 declarations, 0 contain sorry, 0 declared as axioms
International Mathematical Olympiad 1992, Problem 6
For each positive integer $n$, $S(n)$ is defined to be the greatest integer such that, for every positive integer $k \le S(n)$, $n^{2}$ can be written as the sum of $k$ positive squares.
(a) Prove that $S(n) \le n^{2}-14$ for each $n \ge 4$.
(b) Find an integer $n$ such that $S(n)=n^{2}-14$.
(c) Prove that there are infinitely many integers $n$ such that $S(n)=n^{2}-14$.
Imports (2)
Imported by 1 file
- def
Imo1992P6.is_sum_of_pos_squares$z$ can be written as the sum of $k$ positive squares line 34 sourceSource documentation
$z$ can be written as the sum of $k$ positive squares.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Exists,Fin,And,Eq,Finset.sum,Finset.univ,HPow.hPow,OfNat.ofNat,LT.lt8 instances, coercions and auxiliary constants left out.
def is_sum_of_pos_squares (z k : ℕ) : Prop := ∃ s : (Fin k → ℕ), z = ∑ i, (s i)^2 ∧ ∀ i, 0 < s i
- def
Imo1992P6.S_setAuxiliary definition: S(n) will be defined as the greatest integer of the set S_set(n) line 40 sourceSource documentation
Auxiliary definition: S(n) will be defined as the greatest integer of the set S_set(n).
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,SetProof uses:
Set.ofPred,LE.le, Imo1992P6.is_sum_of_pos_squares,HPow.hPow,Nat,OfNat.ofNat13 instances, coercions and auxiliary constants left out.
def S_set (n : ℕ+) := { z : ℕ+ | ∀ k, k ≤ z → is_sum_of_pos_squares (n^2) k }Mentions: Imo1992P6.is_sum_of_pos_squares
- lemma
Imo1992P6.S_set_Nonemptyline 46 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Set.Nonempty, Imo1992P6.S_setProof uses:
Set.nonempty_of_mem,OfNat.ofNat,Nat,id,Membership.mem,Set,Set.ofPred,LE.le, Imo1992P6.is_sum_of_pos_squares,HPow.hPow,Exists.intro,Fin,And,Eq,Finset.sum,Finset.univ,LT.lt,of_eq_true,Eq.trans,Trueand 18 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1992P6.S_set_boundedline 53 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Membership.mem,Set, Imo1992P6.S_set,LE.le,HPow.hPow,Nat,OfNat.ofNatProof uses:
id,Set.ofPred, Imo1992P6.is_sum_of_pos_squares,Exists,Fin,And,Eq,Finset.sum,Finset.univ,LT.lt,Eq.mp,Eq.trans,True,implies_congr,Eq.refl,Eq.mpr,congrArg,Eq.symm,propext,PNat.coe_le_coeand 12 more53 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1992P6.S_set_Finiteline 66 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Set.Finite, Imo1992P6.S_setProof uses:
Set.Finite.of_finite_image,Subtype,Nat,LT.lt,OfNat.ofNat,Iff.mpr,Set.image,BddAbove,Set.finite_iff_bddAbove,Exists,Membership.mem,Set,LE.le,bddAbove_def,Exists.intro,HPow.hPow,And,Eq,Subtype.mk,castand 4 more21 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- def
Imo1992P6.Sline 75 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNatProof uses:
Exists.choose,Maximal,Membership.mem,Set, Imo1992P6.S_set9 instances, coercions and auxiliary constants left out.
- theorem
Imo1992P6.Multiset.map_sub_of_injectiveline 87 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
DecidableEq,Function.Injective,Multiset,Eq,Multiset.map,HSub.hSubProof uses:
Multiset.induction,of_eq_true,OfNat.ofNat,Eq.trans,True,forall_congr,congr,congrArg,Multiset.map_congr,Multiset.sub_zero,Membership.mem,Eq.refl,eq_self,implies_true,Eq.mpr,Multiset.cons,Multiset.erase,id,Multiset.sub_cons,Multiset.map_consand 3 more7 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.Multiset.sum_subline 98 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
DecidableEq,AddCommMonoid,Multiset,LE.le,Eq,HAdd.hAdd,Multiset.sum,HSub.hSubProof uses:
Multiset.induction,of_eq_true,OfNat.ofNat,Eq.trans,True,forall_congr,implies_congr,congrFun',congrArg,Multiset.sub_zero,add_zero,eq_self,implies_true,Multiset.cons,Eq.mpr,Multiset.erase,id,congr,Multiset.sub_cons,Multiset.sum_consand 15 more40 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.Nat.sub_modline 119 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Eq,HMod.hMod,HSub.hSubProof uses:
Eq.mpr,HMul.hMul,HDiv.hDiv,id,congrArg,Nat.mod_eq_sub_div_mul,HAdd.hAdd,Nat.sub_sub_right,Nat.div_mul_le_self,Nat.sub_add_comm,Eq.symm,Nat.add_mul_mod_self_right16 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.Nat.sub_mod_eq_add_modline 126 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Nat,LE.le,Ne,OfNat.ofNat,Eq,HMod.hMod,HSub.hSub,HAdd.hAddProof uses:
Eq.mpr,id,congrArg,Eq.symm,Nat.add_sub_assoc,le_of_lt,Nat.mod_lt,Nat.zero_lt_of_ne_zero,Nat.sub_add_comm,Trans.simple,Nat.mod_le,Nat.add_mod_right, Imo1992P6.Nat.sub_mod18 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- lemma
Imo1992P6.S_specline 139 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,Maximal,LE.le, Imo1992P6.is_sum_of_pos_squares,HPow.hPow,Nat,OfNat.ofNat, Imo1992P6.SProof uses:
Exists.choose_spec,Membership.mem,Set, Imo1992P6.S_set22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.imo1992_p6_aline 143 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,GE.ge,OfNat.ofNat,Nat,LE.le, Imo1992P6.S,HSub.hSub,HPow.hPowProof uses:
Classical.byContradiction,Not,And,LT.lt,Exists,False,Eq.mp,Eq.trans,Mathlib.Tactic.Push.not_forall_eq,congrArg,funext,pow_le_pow_left',Eq.mpr,id,Eq,Eq.symm,propext,PNat.coe_lt_coe,Nat.lt_of_add_one_le,HAdd.hAddand 138 more202 instances, coercions and auxiliary constants left out.
Tactic trace: 132 steps
Open to load the checked before-and-after goal states.
- def
Imo1992P6.completeline 282 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNatProof uses:
Eq, Imo1992P6.S,HSub.hSub,HPow.hPow,Nat,OfNat.ofNat10 instances, coercions and auxiliary constants left out.
- theorem
Imo1992P6.complete_iff_sosline 284 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,LE.le,OfNat.ofNat,Nat,Iff, Imo1992P6.complete,HSub.hSub,HPow.hPow, Imo1992P6.is_sum_of_pos_squaresProof uses:
Iff.intro, Imo1992P6.S,Maximal.prop, Imo1992P6.S_spec,Eq.mp,congrArg,GE.ge,Mathlib.Tactic.Contrapose.contrapose₁,Eq.mpr,Not,LT.lt,Exists,And,id,Eq,implies_congr,Eq.trans,Mathlib.Tactic.Push.not_forall_eq,funext,Maximal.not_prop_of_gtand 4 more44 instances, coercions and auxiliary constants left out.
Tactic trace: 14 steps
Open to load the checked before-and-after goal states.
- def
Imo1992P6.msos.sq_sumline 298 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Multiset,PNat,NatProof uses:
Multiset.sum,Multiset.map,HPow.hPow,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
- def
Imo1992P6.msos.mkline 300 sourcestandard axioms: Quot.sound what this means
Statement uses:
List,Prod,Nat,PNat,MultisetProof uses:
List.foldr,HAdd.hAdd,EmptyCollection.emptyCollection,List.map,Imo1992P6.msos.mk.match_1,Multiset.replicate3 instances, coercions and auxiliary constants left out.
- theorem
Imo1992P6.msos.is_sum_of_pos_squaresline 302 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat, Imo1992P6.is_sum_of_pos_squares, Imo1992P6.msos.sq_sum,Multiset.cardProof uses:
Multiset.induction,id,OfNat.ofNat,Exists.intro,Fin,Nat,And,Eq,Multiset.sum,Multiset.map,HPow.hPow,Finset.sum,Finset.univ,LT.lt,of_eq_true,Eq.trans,True,congr,congrArg,funextand 68 more127 instances, coercions and auxiliary constants left out.
Tactic trace: 64 steps
Open to load the checked before-and-after goal states.
- def
Imo1992P6.msos.shiftline 354 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,NatProof uses:
HAdd.hAdd,HSub.hSub,Multiset.replicate,HMul.hMul,OfNat.ofNat11 instances, coercions and auxiliary constants left out.
- theorem
Imo1992P6.msos.card_shiftline 358 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,Nat,LE.le,HMul.hMul,OfNat.ofNat,Multiset.count,Eq,HAdd.hAdd,Multiset.card, Imo1992P6.msos.shiftProof uses:
id,Eq.mpr,HSub.hSub,Multiset.replicate,congrFun',congrArg,Eq.trans,Multiset.card_add,Multiset.card_replicate,Multiset.card_sub,Iff.mp,Multiset.le_count_iff_replicate_le,Int,Nat.cast_add,congr,Nat.cast_mul,Nat.cast_sub,Trans.simple,Multiset.count_le_card49 instances, coercions and auxiliary constants left out.
Tactic trace: 16 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.sq_sum_shiftline 371 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,Nat,LE.le,HMul.hMul,OfNat.ofNat,Multiset.count,Eq, Imo1992P6.msos.sq_sum, Imo1992P6.msos.shiftProof uses:
id,Multiset.sum,Multiset.map,HPow.hPow,Eq.mpr,HAdd.hAdd,HSub.hSub,Multiset.replicate,congrArg,Multiset.map_add,Multiset.map_replicate, Imo1992P6.Multiset.map_sub_of_injective,of_eq_true,Eq.trans,True,congrFun',Eq.mp,Not,False,not_false_eq_trueand 14 more64 instances, coercions and auxiliary constants left out.
Tactic trace: 25 steps
Open to load the checked before-and-after goal states.
- def
Imo1992P6.msos.repeat_shiftline 392 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNatProof uses:
WellFounded.Nat.fix,Multiset.card,InvImage,Nat,LT.lt,Multiset.filter,LE.le,OfNat.ofNat,Multiset.count,dite,Eq,EmptyCollection.emptyCollection,Not,Finset.min',Multiset.toFinset,HDiv.hDiv, Imo1992P6.msos.shift12 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.repeat_shift.forallline 413 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,Nat,LE.le,HDiv.hDiv,HSub.hSub,Multiset.card, Imo1992P6.msos.repeat_shift,OfNat.ofNat,Exists,And,Eq, Imo1992P6.msos.sq_sum,HAdd.hAdd,HMul.hMulProof uses:
Imo1992P6.msos.repeat_shift.induct_unfolding,Multiset.filter,Multiset.count,EmptyCollection.emptyCollection,Exists.intro,of_eq_true,Eq.trans,True,congr,congrArg,eq_self,congrFun',Eq.mp,tsub_self,Nat.zero_div,MulZeroClass.mul_zero,add_zero,and_self,Not,Finset.min'and 12 more66 instances, coercions and auxiliary constants left out.
Tactic trace: 35 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.card_repeat_shift_le_cardline 441 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,LE.le,Nat,Multiset.card, Imo1992P6.msos.repeat_shiftProof uses:
Imo1992P6.msos.repeat_shift.induct_unfolding,Multiset.filter,OfNat.ofNat,Multiset.count,Eq,EmptyCollection.emptyCollection,le_refl,Not,Finset.min',Multiset.toFinset,HDiv.hDiv, Imo1992P6.msos.shift,le_trans,HAdd.hAdd,HMul.hMul,Nat.le_add_right_of_le,le_of_eq, Imo1992P6.msos.card_shift,Nat.mul_div_le15 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.card_repeat_shift_leline 450 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,LE.le,Nat,Multiset.card, Imo1992P6.msos.repeat_shift,HSub.hSub,HMul.hMul,HDiv.hDiv,Multiset.count,OfNat.ofNatProof uses:
Imo1992P6.msos.repeat_shift.fun_cases_unfolding,Multiset.filter,Eq,EmptyCollection.emptyCollection,Eq.mpr,Or,LT.lt,id,congrArg,propext,Nat.div_eq_zero_iff,Or.inr,dite,Membership.mem,Eq.mp,Eq.trans,Not,forall_congr,implies_congr,Eq.refland 36 more91 instances, coercions and auxiliary constants left out.
Tactic trace: 54 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.is_sum_of_pos_squares_by_repeat_shiftline 493 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Multiset,PNat,Nat,Membership.mem,Finset,Finset.Icc,Multiset.card, Imo1992P6.msos.repeat_shift,Eq,HMod.hMod,OfNat.ofNat, Imo1992P6.is_sum_of_pos_squares, Imo1992P6.msos.sq_sumProof uses:
HDiv.hDiv,HSub.hSub,And,HAdd.hAdd,HMul.hMul,Exists, Imo1992P6.msos.repeat_shift.forall,id,LE.le,Nat.div_le_div_right,And.left,Iff.mp,Finset.mem_Icc,Eq.mp,Int,congrArg,Nat.cast_sub,And.right,Eq.trans,congrFun'and 6 more47 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.card_mkline 516 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
List,Prod,Nat,PNat,Eq,Multiset.card, Imo1992P6.msos.mk,List.sum,List.map,Prod.fstProof uses:
List.rec,id,List.nil,of_eq_true,List.foldr,Multiset,HAdd.hAdd,EmptyCollection.emptyCollection,Imo1992P6.msos.mk.match_1,Multiset.replicate,Eq.trans,OfNat.ofNat,True,congr,congrArg,List.map_nil,Prod.snd,eq_self,List.cons,Eq.mprand 5 more13 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.sq_sum_mkline 530 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
List,Prod,Nat,PNat,Eq, Imo1992P6.msos.sq_sum, Imo1992P6.msos.mk,List.sum,List.map,Imo1992P6.msos.mk.match_1,HMul.hMul,HPow.hPow,OfNat.ofNatProof uses:
List.rec,id,List.nil,List.foldr,Multiset,HAdd.hAdd,EmptyCollection.emptyCollection,Multiset.replicate,of_eq_true,Multiset.sum,Multiset.map,Eq.trans,True,congr,congrArg,List.map_nil,Prod.fst,Prod.snd,eq_self,List.consand 8 more34 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.msos.count_mkline 544 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
List,Prod,Nat,PNat,Eq,Multiset.count, Imo1992P6.msos.mk,List.sum,List.map,Prod.fst,List.filter,BEq.beq,Prod.sndProof uses:
List.rec,id,List.nil,of_eq_true,List.foldr,Multiset,HAdd.hAdd,EmptyCollection.emptyCollection,Imo1992P6.msos.mk.match_1,Multiset.replicate,Eq.trans,OfNat.ofNat,True,congr,congrArg,Multiset.count.congr_simp,Eq.refl,List.map_nil,Multiset.count_eq_zero_of_notMem,Notand 28 more37 instances, coercions and auxiliary constants left out.
Tactic trace: 19 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_13_0mod3line 567 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,Ne,OfNat.ofNat,LE.le,HSub.hSub,HPow.hPow,Eq,HMod.hMod, Imo1992P6.is_sum_of_pos_squaresProof uses:
dite,Multiset,PNat, Imo1992P6.msos.mk,List.cons,Prod,Prod.mk,List.nil, Imo1992P6.msos.sq_sum,Eq.mpr,id,congrArg,Eq.symm, Imo1992P6.is_sum_of_pos_squares_by_repeat_shift,Membership.mem,Finset,Finset.Icc,Multiset.card, Imo1992P6.msos.repeat_shift,Andand 21 more41 instances, coercions and auxiliary constants left out.
Tactic trace: 51 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_13_1mod3line 601 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HSub.hSub,HPow.hPow,OfNat.ofNat,Eq,HMod.hMod, Imo1992P6.is_sum_of_pos_squaresProof uses:
dite,Multiset,PNat, Imo1992P6.msos.mk,List.cons,Prod,Prod.mk,List.nil, Imo1992P6.msos.sq_sum,Eq.mpr,id,congrArg,Eq.symm, Imo1992P6.is_sum_of_pos_squares_by_repeat_shift,Membership.mem,Finset,Finset.Icc,Multiset.card, Imo1992P6.msos.repeat_shift,Andand 21 more41 instances, coercions and auxiliary constants left out.
Tactic trace: 51 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_13_2mod3line 635 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,HSub.hSub,HPow.hPow,OfNat.ofNat,Eq,HMod.hMod, Imo1992P6.is_sum_of_pos_squaresProof uses:
dite,Multiset,PNat, Imo1992P6.msos.mk,List.cons,Prod,Prod.mk,List.nil, Imo1992P6.msos.sq_sum,Eq.mpr,id,congrArg,Eq.symm, Imo1992P6.is_sum_of_pos_squares_by_repeat_shift,Membership.mem,Finset,Finset.Icc,Multiset.card, Imo1992P6.msos.repeat_shift,Andand 19 more39 instances, coercions and auxiliary constants left out.
Tactic trace: 36 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.complete_13line 660 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Imo1992P6.complete,
OfNat.ofNat,PNat,NatProof uses:
Eq.mpr,LE.le,HSub.hSub,HPow.hPow, Imo1992P6.is_sum_of_pos_squares,id,Eq,congrArg,propext, Imo1992P6.complete_iff_sos,of_eq_true,Eq.trans,True,eq_true_of_decide,Eq.refl,Bool,Bool.true,Or,HMod.hMod,Or.elim3and 4 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_mul_constline 670 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat, Imo1992P6.is_sum_of_pos_squares,HMul.hMul,HPow.hPowProof uses:
Fin,Eq,Finset.sum,Finset.univ,Exists.intro,And,And.intro,Eq.mpr,id,congrArg,Finset.sum_congr,Eq.refl,Finset,Membership.mem,mul_pow,Eq.symm,Finset.mul_sum,mul_comm,of_eq_true,Eq.transand 2 more48 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_addline 679 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Imo1992P6.is_sum_of_pos_squares,HAdd.hAddProof uses:
Fin,Eq,Finset.sum,Finset.univ,HPow.hPow,OfNat.ofNat,LT.lt,Exists.intro,And,dite,Fin.mk,Not,HSub.hSub,And.intro,Eq.mpr,Subtype,Membership.mem,Finset,Finset.filter,idand 35 more74 instances, coercions and auxiliary constants left out.
Tactic trace: 33 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_mulline 699 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Imo1992P6.is_sum_of_pos_squares,HMul.hMulProof uses:
Fin,Eq,Finset.sum,Finset.univ,HPow.hPow,OfNat.ofNat,LT.lt,Equiv,Prod,Equiv.symm,finProdFinEquiv,Exists.intro,And,Function.uncurry,And.intro,Eq.mpr,id,congrArg,Finset.sum_mul_sum,Eq.symmand 38 more59 instances, coercions and auxiliary constants left out.
Tactic trace: 40 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.sos_splitline 733 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LE.le,OfNat.ofNat, Imo1992P6.is_sum_of_pos_squares,Exists,And,LT.lt,HPow.hPow,HSub.hSubProof uses:
Fin,Eq,Finset.sum,Finset.univ,Exists.intro,Fin.mk,And.intro,Eq.mpr,id,congrArg,Finset.single_le_sum_of_canonicallyOrdered,of_eq_true,Membership.mem,Finset,Fin.castLT,Finset.sum_congr,Eq.refl,HAdd.hAdd,propext,Nat.sub_eq_iff_eq_addand 24 more51 instances, coercions and auxiliary constants left out.
Tactic trace: 44 steps
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.complete_mulline 762 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
PNat,LE.le,OfNat.ofNat,Nat, Imo1992P6.complete,HMul.hMulProof uses:
HSub.hSub,HPow.hPow,mul_le_mul',Eq.mpr, Imo1992P6.is_sum_of_pos_squares,id,Eq,congrArg,propext, Imo1992P6.complete_iff_sos,Trans.simple,Iff.mp,Min.min,right_eq_inf,rfl,dite,Eq.symm,Eq.refl,PNat.mul_coe,Nat.pow_le_pow_leftand 218 more283 instances, coercions and auxiliary constants left out.
Tactic trace: 327 steps (first 200 of 327)
Open to load the checked before-and-after goal states.
- theorem
Imo1992P6.imo1992_p6_cline 1016 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set.Infinite,PNat,Set.ofPred,Eq, Imo1992P6.S,HSub.hSub,HPow.hPow,Nat,OfNat.ofNatProof uses:
GT.gt, Imo1992P6.complete,Nat.le_induction,Nat.succ,LE.le,of_eq_true,Eq.trans,True,congrArg,zero_add,pow_one,Eq.mpr,HAdd.hAdd,HMul.hMul,id,pow_add, Imo1992P6.complete_mul,Eq.symm,pow_right_monotone,Nat.one_le_of_ltand 11 more86 instances, coercions and auxiliary constants left out.
Tactic trace: 33 steps
Open to load the checked before-and-after goal states.
- determine
Imo1992P6.imo1992_p6_bline 1046 sourcestandard axioms: propext what this means
Statement uses:
PNatProof uses:
OfNat.ofNat2 instances, coercions and auxiliary constants left out.
- problem
Imo1992P6.imo1992_p6line 1048 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
And,PNat,GE.ge,OfNat.ofNat,Nat,LE.le, Imo1992P6.S,HSub.hSub,HPow.hPow,Eq, Imo1992P6.imo1992_p6_b,Set.Infinite,Set.ofPredProof uses:
And.intro, Imo1992P6.imo1992_p6_a, Imo1992P6.complete_13, Imo1992P6.imo1992_p6_c34 instances, coercions and auxiliary constants left out.
Tactic trace: 7 steps
Open to load the checked before-and-after goal states.