Zulip Chat Archive
Stream: new members
Topic: Controlling behavior of "and_intros" / "constructor" tactics
Nathan (Nov 13 2025 at 21:39):
example {p k : ℕ} (hp : Nat.Prime p) (hk : 0 < k) : IsPrimePow (p^k) := by
exists p, k; and_intros
This produces too many goals. On the other hand, constructor produces too few. Can we get finer control?
Aaron Liu (Nov 13 2025 at 21:55):
You can refine with exactly the amount of holes you want
Nathan (Nov 13 2025 at 21:59):
oh yeah refine ⟨?_, ?_, ?_⟩ works, thanks :pray:
Last updated: Dec 20 2025 at 21:32 UTC