Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix the problem left #281

Merged
merged 1 commit into from
Jan 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion EuclideanGeometry/Foundation/Axiom/Triangle/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,15 @@ theorem reverse_orient_of_flip_vertices : tr_nd.is_cclock = ¬ tr_nd.flip_vertic
linarith
· intro P
simp at P
sorry
have ne0' : wedge tr_nd.point₁ tr_nd.point₂ tr_nd.point₃ ≠ 0 := by
have : ¬ colinear tr_nd.point₁ tr_nd.point₂ tr_nd.point₃ := by
exact tr_nd.2
apply (colinear_iff_wedge_eq_zero tr_nd.point₁ tr_nd.point₂ tr_nd.point₃).not.mp
exact this
have ne0 : wedge tr_nd.point₁ tr_nd.point₂ tr_nd.point₃/2 ≠ 0 := by
simp only [ne_eq, div_eq_zero_iff, ne0', OfNat.ofNat_ne_zero, or_self, not_false_eq_true]
have nonneg : wedge tr_nd.point₁ tr_nd.point₂ tr_nd.point₃/2 ≥ 0 := by linarith
exact Ne.lt_of_le (id (Ne.symm ne0)) nonneg

theorem is_inside_of_is_inside_perm_vertices (tr_nd : Triangle P) (p : P) (inside : p LiesInt tr_nd) : p LiesInt tr_nd.perm_vertices := by sorry

Expand Down