lean4-htt/tests/lean/run/grind_9562.lean
Leonardo de Moura 6683d1eb91
chore: add module keyword to grind tests (#10036)
This PR also fixes missing `@[expose]` in grind support definitions.
2025-08-21 22:02:08 +00:00

13 lines
543 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module
axiom A : Type
axiom angle (x y z : A) : Int
axiom pi : Int
axiom Collinear (x y z : A) : Prop
axiom collinear_iff_eq_or_eq_or_angle_eq_zero_or_angle_eq_pi {p₁ p₂ p₃ : A} :
Collinear p₁ p₂ p₃ ↔ p₁ = p₂ p₃ = p₂ angle p₁ p₂ p₃ = 0 angle p₁ p₂ p₃ = pi
example {a b c a' b' c' : A} (h : ¬Collinear a b c)
(ha₁ : angle a b c = angle a' b' c')
(h' : angle a' b' c' = 0 angle a' b' c' = pi) :
False := by
grind only [collinear_iff_eq_or_eq_or_angle_eq_zero_or_angle_eq_pi]