tendsto_cont tactic #
A tactic for proving goals of the form
Tendsto (fun z => expr(f₁ z, ..., fₙ z)) l (nhds c)
where atomic limits Tendsto fᵢ l (nhds aᵢ) are known from context
and the expression is continuous in the atoms (proved via fun_prop).
This handles any expression where fun_prop can prove continuity of the
abstracted body — including polynomials, trigonometric functions,
exponentials, and other compositions.
Strategy #
- Parse the goal to extract the body, filter, and target limit.
- Scan context for
Tendstohypotheses matching the goal filter. - Identify which atoms appear in the goal body.
- Bundle atoms into a right-associated product via
prodMk_nhds. - Abstract the body: replace
fᵢ(z)with projections from the product. - Prove continuity of the abstracted function via
fun_prop. - Combine via
tendsto_continuousAt_compand close the goal.
theorem tendsto_continuousAt_comp {α : Type u_1} {β : Type u_2} {γ : Type u_3} [TopologicalSpace β] [TopologicalSpace γ] {l : Filter α} {f : α → β} {h : β → γ} {b : β} (hh : ContinuousAt h b) (hf : Filter.Tendsto f l (nhds b)) :
Filter.Tendsto (fun (x : α) => h (f x)) l (nhds (h b))
Compose a continuous function with a convergent one. Stated with an
explicit lambda (no Function.comp) so the kernel sees the right type.
@[instance_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.