\[x \cdot \cos y + z \cdot \sin y \]
(FPCore (x y z) :precision binary64 (+ (* x (cos y)) (* z (sin y))))
double code(double x, double y, double z) {
	return (x * cos(y)) + (z * sin(y));
}
real(8) function code(x, y, z)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    real(8), intent (in) :: z
    code = (x * cos(y)) + (z * sin(y))
end function
public static double code(double x, double y, double z) {
	return (x * Math.cos(y)) + (z * Math.sin(y));
}
def code(x, y, z):
	return (x * math.cos(y)) + (z * math.sin(y))
function code(x, y, z)
	return Float64(Float64(x * cos(y)) + Float64(z * sin(y)))
end
function tmp = code(x, y, z)
	tmp = (x * cos(y)) + (z * sin(y));
end
code[x_, y_, z_] := N[(N[(x * N[Cos[y], $MachinePrecision]), $MachinePrecision] + N[(z * N[Sin[y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
x \cdot \cos y + z \cdot \sin y

Reproduce

Please include this information when filing a bug report:

herbie shell --seed 2022150 
(FPCore (x y z)
  :name "Diagrams.ThreeD.Transform:aboutY from diagrams-lib-1.3.0.3"
  :precision binary64
  (+ (* x (cos y)) (* z (sin y))))

Backtrace

application: required keyword argument not supplied procedure: batch-egg-rewrite required keyword: #:rules arguments...: '(#<rule erfc-erf_binary64> #<rule erf-erfc_binary64> #<rule erf-odd_binary64> #<rule prod-diff_binary64> #<rule hypot-udef_binary64> #<rule expm1-log1p-u_binary64> #<rule log1p-expm1-u_binary64> #<rule log1p-udef_binary64> #<rule expm1-udef_binary64> #... #:depths '(1 1 1) #:roots '((2) (2) (2))LC
(unnamed)/opt/racket-8.1/collects/racket/private/kw.rkt155814
rewrite-expressions/data/pavpan/nightlies/herbie/timeline/src/core/matcher.rkt1710
gen-rewrites!/data/pavpan/nightlies/herbie/timeline/src/patch.rkt1440
patch-table-run/data/pavpan/nightlies/herbie/timeline/src/patch.rkt2910
(unnamed)/opt/racket-8.1/collects/racket/contract/private/arrow-val-first.rkt48618
run-iter!/data/pavpan/nightlies/herbie/timeline/src/mainloop.rkt2460
mutate!/data/pavpan/nightlies/herbie/timeline/src/mainloop.rkt3790
run-improve!/data/pavpan/nightlies/herbie/timeline/src/mainloop.rkt3260
(unnamed)/data/pavpan/nightlies/herbie/timeline/src/sandbox.rkt666
(unnamed)/opt/racket-8.1/share/pkgs/profile-lib/main.rkt4010
profile-thunk/opt/racket-8.1/share/pkgs/profile-lib/main.rkt90
(unnamed)/opt/racket-8.1/collects/racket/engine.rkt4224