FormalConjecturesForMathlib/Combinatorics/Additive/RestrictedSumset.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
1 declarations, 0 contain sorry, 0 declared as axioms
Restricted sumsets
This file defines the restricted sumset $S \hat{+} S$ for a finite set $S$.
Imported by 1 file
- def
Finset.restrictedSumsetThe restricted sumset of a set $S$, denoted $S \hat{+} S$, is the set $\lbrace s_1 + s_2 : s_1, s_2 \in S, s_1 \neq s_2 \rbrace$ line 39 sourceSource documentation
The restricted sumset of a set $S$, denoted $S \hat{+} S$, is the set $\lbrace s_1 + s_2 : s_1, s_2 \in S, s_1 \neq s_2 \rbrace$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Add,DecidableEq,FinsetProof uses:
Finset.image,Prod,HAdd.hAdd,Prod.fst,Prod.snd,Finset.offDiag1 instances, coercions and auxiliary constants left out.
def restrictedSumset (S : Finset α) : Finset α := …