Open adomasbaliuka opened 5 months ago
Minimised:
import Mathlib.Data.Complex.Exponential
open Real (cos)
axiom MyDifferentiable : (ℝ → ℝ) → Prop
axiom MyDifferentiable.cos {f : ℝ → ℝ} :
MyDifferentiable f → MyDifferentiable fun x => cos (f x)
example : MyDifferentiable fun y ↦ (Complex.cosh ↑(cos y)).re := by
aesop (add safe MyDifferentiable.cos) (rule_sets [-builtin,-default])
apply MyDifferentiable.cos
in the same place runs out of heartbeats, so that may have something to do with it. But I haven't yet figured out why Aesop doesn't run out of heartbeats as well.
In the following example,
aesop
does not terminate (for at least 20 minutes). Besides my hope that aesop might actually solve the goal, is "running forever" an intended behavior? This is the first time I've seen where it doesn't quickly run out of "iterations" or heartbeats or something.The example arose while making a
differentiability
tactic, like Mathlib's currentcontinuity
. For reproducing the issue, cheking out the Mathlib PR may be convenient.