This PR adds a custom congruence rule for equality in `grind`. The new rule takes into account that `Eq` is a symmetric relation. In the future, we will add support for arbitrary symmetric relations. The current rule is important for propagating disequalities effectively in `grind`.
5 lines
179 B
Text
5 lines
179 B
Text
set_option grind.debug true
|
|
|
|
example (p q : Prop) (a b c d : Nat) :
|
|
a = b → c = d → a ≠ c → (d ≠ b → p) → (d ≠ b → q) → p ∧ q := by
|
|
grind (splits:=0)
|