MIL/C03_Logic/S01_Implication_and_the_Universal_Quantifier.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 Mathematics in Lean documentation, Pinned Mathematics in Lean textbook
31 declarations, 16 contain sorry, 0 declared as axioms
Imports (2)
Imported by 1 file
- theorem
C03S01.my_lemmaExercise: a universally quantified statement (sorry) sorry line 10 sourceL4DEL explanation
A statement of the form for-all-x-y-epsilon-then-implications is a function that takes numbers and proofs.
- This declaration is a stub: its body is sorry, so nothing is proved here.
- The statement says that for all real x, y, epsilon, if 0 < epsilon, epsilon <= 1, |x| < epsilon and |y| < epsilon then |x * y| < epsilon.
- The text after it applies my_lemma to a, b, delta and then to hypotheses h0, h1, ha, hb with #check, to show that instantiating a quantifier and discharging an implication are both just function application.
See also: C03S01.my_lemma4@MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean
Sources and attribution: Pinned Lean source (dd6d752fedb1)
depends on sorry what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,LE.le,abs,HMul.hMulProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat21 instances, coercions and auxiliary constants left out.
theorem my_lemma : ∀ x y ε : ℝ, 0 < ε → ε ≤ 1 → |x| < ε → |y| < ε → |x * y| < ε := …
- theorem
C03S01.my_lemma2sorry line 24 sourcedepends on sorry what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,LE.le,abs,HMul.hMulProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat21 instances, coercions and auxiliary constants left out.
- theorem
C03S01.my_lemma3sorry line 36 sourcedepends on sorry what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,LE.le,abs,HMul.hMulProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat21 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
C03S01.my_lemma4sorry line 41 sourcedepends on sorry what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,LE.le,abs,HMul.hMulProof uses:
Trans.trans,Eq,sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat26 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:6 (same statement text; different proof or body). Qualify references as C03S01.my_lemma4@path.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- def
C03S01.FnUbline 50 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
LE.le1 instances, coercions and auxiliary constants left out.
Also declared: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:15 (same declaration text).
- def
C03S01.FnLbline 53 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
LE.le1 instances, coercions and auxiliary constants left out.
Also declared: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:18 (same declaration text).
Tactic trace: 5 steps
Open to load the checked before-and-after goal states.
- example
C03S01.(example at line 59)line 59 source - example
C03S01.(example at line 66)sorry line 66 source - example
C03S01.(example at line 69)sorry line 69 source - example
C03S01.(example at line 72)sorry line 72 source - def
C03S01.FnUb'line 83 sourceno axioms what this means
Statement uses:
PartialOrderProof uses:
LE.le2 instances, coercions and auxiliary constants left out.
- theorem
C03S01.fnUb_addline 86 sourcestandard axioms: Quot.sound, propext what this means
Statement uses:
AddCommMonoid,PartialOrder,IsOrderedCancelAddMonoid, C03S01.FnUb',HAdd.hAddProof uses:
add_le_add,LE.le13 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- example
C03S01.(example at line 91)line 91 source - example
C03S01.(example at line 97)line 97 source - example
C03S01.(example at line 103)line 103 source - example
C03S01.(example at line 106)sorry line 106 source - example
C03S01.(example at line 109)sorry line 109 source - def
C03S01.FnEvenline 112 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
Eq,Neg.neg1 instances, coercions and auxiliary constants left out.
Also declared: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:67 (same declaration text).
- def
C03S01.FnOddline 115 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
RealProof uses:
Eq,Neg.neg1 instances, coercions and auxiliary constants left out.
Also declared: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:70 (same declaration text).
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- example
C03S01.(example at line 118)line 118 source - example
C03S01.(example at line 125)sorry line 125 source - example
C03S01.(example at line 128)sorry line 128 source - example
C03S01.(example at line 131)sorry line 131 source - example
C03S01.(example at line 140)line 140 source - theorem
C03S01.Subset.reflline 144 sourceno axioms what this means
Statement uses:
Set,HasSubset.SubsetProof uses:
Membership.mem2 instances, coercions and auxiliary constants left out.
- theorem
C03S01.Subset.transsorry line 146 sourcedepends on sorry what this means
Statement uses:
Set,HasSubset.SubsetProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat3 instances, coercions and auxiliary constants left out.
Distinct definitions of this name: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:102 (same statement text; different proof or body). Qualify references as C03S01.Subset.trans@path.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- def
C03S01.SetUbline 155 sourceno axioms what this means
Statement uses:
PartialOrder,SetProof uses:
Membership.mem,LE.le3 instances, coercions and auxiliary constants left out.
Also declared: MIL/C03_Logic/solutions/Solutions_S01_Implication_and_the_Universal_Quantifier.lean:111 (same declaration text).
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- example
C03S01.(example at line 158)sorry line 158 source - example
C03S01.(example at line 167)line 167 source - example
C03S01.(example at line 171)sorry line 171 source - example
C03S01.(example at line 177)sorry line 177 source