Zulip Chat Archive

Stream: new members

Topic: partial order tactic


Joseph Qian (Oct 04 2025 at 03:18):

Hi everyone,
I'm an undergraduate student at the University of Washington, and I have been working with some other students to write a tactic that applies transitivity over a partially ordered set, e.g.

example (a b c : α) [PartialOrder α] (hab : a  b) (hbc : b  c) : a  c := by  partiarith

The tactic works now and we are almost ready to submit a pull request. Do we need to do anything before we submit the PR? Thanks.

Louis Cabarion (Oct 04 2025 at 06:21):

How does it compare to the order tactic?

import Mathlib
example (a b c : α) [PartialOrder α] (hab : a  b) (hbc : b  c) : a  c := by
  order

Last updated: Dec 20 2025 at 21:32 UTC