FormalConjecturesForMathlib/NumberTheory/AdditiveComplement.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
2 declarations, 0 contain sorry, 0 declared as axioms
Additive complements
Two sets of naturals are additive complements when their sumset contains every large integer.
Imports (3)
Imported by 1 file
- def
IsAdditiveComplementAandBare additive complements ifA + Bcontains all large integers line 36 sourceSource documentation
AandBare additive complements ifA + Bcontains all large integers.standard axioms: Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
Filter.Eventually,Membership.mem,HAdd.hAdd,Filter.atTop5 instances, coercions and auxiliary constants left out.
def IsAdditiveComplement (A B : Set ℕ) : Prop := …
- theorem
IsAdditiveComplement.symmline 39 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,Nat, IsAdditiveComplementProof uses:
Filter.mp_mem,Filter.atTop,Set.ofPred,Membership.mem,HAdd.hAdd,Filter.univ_mem',id,Eq.mpr,Eq,congrArg,AddCommMonoid.add_comm10 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.