FormalConjecturesForMathlib/Data/Set/Triplewise.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 project documentation, Formal Conjectures paper, arXiv v1
14 declarations, 0 contain sorry, 0 declared as axioms
Imports (4)
Imported by 3 files
- def
Triplewiseline 25 sourceno axioms what this means
Proof uses:
Ne - def
Set.TriplewiseThe ternary relationrholds triplewise on the setsifr x y zfor all distinctx y z ∈ sline 36 sourceSource documentation
The ternary relation
rholds triplewise on the setsifr x y zfor all distinctx y z ∈ s.no axioms what this means
Statement uses:
SetProof uses:
Membership.mem,Ne1 instances, coercions and auxiliary constants left out.
protected def Triplewise (s : Set α) (r : α → α → α → Prop) : Prop := …
- theorem
Set.Triplewise.eqline 39 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set, Set.Triplewise,Membership.mem,Not,Or,EqProof uses:
Ne,False,Decidable.not_or_of_imp,Classical.propDecidable,Iff.mpr,Classical.or_iff_not_imp_left,False.elim,Decidable.of_not_not4 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
Set.Triplewise.monoline 45 sourceno axioms what this means
Statement uses:
Set,LE.le, Set.TriplewiseProof uses:
Membership.mem,Ne3 instances, coercions and auxiliary constants left out.
- theorem
Set.Triplewise_univ_iffline 50 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
Iff, Set.Triplewise,Set.univ, TriplewiseProof uses:
of_eq_true,Not,Eq,Eq.trans,True,congrFun',congrArg,forall_congr,Membership.mem,Set,implies_congr,Eq.refl,iff_self5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Set.triplewise_of_encard_ltline 54 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,LT.lt,ENat,Set.encard,OfNat.ofNat,Nat, Set.TriplewiseProof uses:
id,Mathlib.Tactic.Contrapose.contrapose₁,Membership.mem,Ne,Eq.mpr,Not,Exists,And,LE.le,Eq,implies_congr,Eq.trans,Mathlib.Tactic.Push.not_forall_eq,congrArg,funext,Trans.simple,Insert.insert,Singleton.singleton,HAdd.hAdd,Set.encard_insert_of_notMemand 23 more48 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.
- theorem
Set.triplewise_emptyline 65 sourceno axioms what this means
Statement uses: Set.Triplewise,
EmptyCollection.emptyCollection,SetProof uses:
Membership.mem,False.elim,Ne,Set.notMem_empty3 instances, coercions and auxiliary constants left out.
- theorem
Set.triplewise_singletonline 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Set.Triplewise,
Singleton.singleton,SetProof uses: Set.triplewise_of_encard_lt,
of_eq_true,LT.lt,ENat,Set.encard,OfNat.ofNat,Nat,Eq.trans,True,congrFun',congrArg,Set.encard_singleton26 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
Set.triplewise_pairline 76 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Set.Triplewise,
Insert.insert,Set,Singleton.singletonProof uses: Set.triplewise_of_encard_lt,
LE.le.trans_lt,ENat,Set.encard,HAdd.hAdd,OfNat.ofNat,Nat,Set.encard_insert_le,Eq.mpr,LT.lt,id,Eq,congrFun',congrArg,Set.encard_singleton,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_add,Eq.refl,Mathlib.Meta.NormNum.isNat_ofNat,Nat.cast_oneand 3 more29 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
Set.triplewise_insertline 83 sourcestandard axioms: propext what this means
Statement uses:
Set,Iff, Set.Triplewise,Insert.insert,And,Membership.mem,NeProof uses:
Iff.intro,And.intro, Set.Triplewise.mono,Set.subset_insert,Set.mem_insert,Set.mem_insert_of_mem,Ne.symm,Eq,Or,Eq.mp,congrArg,propext,Set.mem_insert_iff,And.left,Eq.trans,False,congrFun',eq_false,false_or,And.right7 instances, coercions and auxiliary constants left out.
Tactic trace: 27 steps
Open to load the checked before-and-after goal states.
- theorem
Set.triplewise_insert_of_not_memline 104 sourcestandard axioms: propext what this means
Statement uses:
Set,Not,Membership.mem,Iff, Set.Triplewise,Insert.insert,And,NeProof uses:
Iff.trans, Set.triplewise_insert,and_congr_right',forall₄_congr,of_eq_true,Eq,Eq.trans,True,congrFun',congrArg,implies_congr,False,eq_false,Ne.symm,ne_of_mem_of_not_mem,not_false_eq_true,Eq.refl,iff_self7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
Set.Triplewise.insertline 111 sourcestandard axioms: propext what this means
Statement uses:
Set, Set.Triplewise,Membership.mem,Ne,And,Insert.insertProof uses:
Iff.mpr, Set.triplewise_insert,And.intro4 instances, coercions and auxiliary constants left out.
- theorem
Set.Triplewise.insert_of_not_memline 116 sourcestandard axioms: propext what this means
Statement uses:
Set,Not,Membership.mem, Set.Triplewise,Ne,And,Insert.insertProof uses:
Iff.mpr, Set.triplewise_insert_of_not_mem,And.intro4 instances, coercions and auxiliary constants left out.
- theorem
Set.triplewise_set_pred_iffline 122 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Iff, Set.Triplewise,Insert.insert,Singleton.singleton,LE.le,Eq,Nat,Set.ncard,OfNat.ofNatProof uses:
Iff.intro,Exists,And,Ne,Iff.mp,Set.ncard_eq_three,And.left,Membership.mem,Eq.mp,congrArg,Eq.trans,And.right,Eq.symm,of_eq_true,True,congr,eq_true,and_self,Iff.mpr,Exists.introand 2 more15 instances, coercions and auxiliary constants left out.
Tactic trace: 10 steps
Open to load the checked before-and-after goal states.