AFTD Auto-Formalizing Theoretical Domains

taylorAux_zero

theoremverifiedimported Lean

An auxiliary expression vanishes at zero. The real-valued expression $x^2 + x + \log(1 - x)$ takes the value $0$ at $x = 0$; that is, $0^2 + 0 + \log(1 - 0) = 0$.

Statement

set_option relaxedAutoImplicit false in
set_option autoImplicit false in
open MeasureTheory ProbabilityTheory Real NNReal Matrix Finset in
variable {d k : ℕ} in
lemma taylorAux_zero : ((0 : ℝ) ^ 2 + (0 : ℝ) + Real.log (1 - (0 : ℝ))) = 0
Source
TCSlib, `taylorAux_zero`
Lean proof
By Ganesh Sankar, from github.com/Shilun-Allan-Li/tcslib at c8a02591b1e5 (Copyright (c) 2026 Ganesh Sankar. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.25.0.
Verified
07 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1

Lean source view module on GitHub

set_option relaxedAutoImplicit false inset_option autoImplicit false inopen MeasureTheory ProbabilityTheory Real NNReal Matrix Finset invariable {d k : ℕ} in/-- The auxiliary function `h(x) = x² + x + log(1 − x)` vanishes at `x = 0`. -/lemma taylorAux_zero : ((0 : ℝ) ^ 2 + (0 : ℝ) + Real.log (1 - (0 : ℝ))) = 0 := by  simp
See it in the graphDiscuss this resultChallenge it