(**
Orthocenter

#
<applet name="ggbApplet" code="geogebra.GeoGebraApplet" archive="geogebra.jar"
	codebase="http://jars.geogebra.org/webstart/4.2/unsigned/"
	width="1669" height="873">
	<param name="ggbBase64" value="UEsDBBQACAAIAKZIxkIAAAAAAAAAAAAAAAAWAAAAZ2VvZ2VicmFfamF2YXNjcmlwdC5qc0srzUsuyczPU0hPT/LP88zLLNHQVKiuBQBQSwcI1je9uRkAAAAXAAAAUEsDBBQACAAIAKZIxkIAAAAAAAAAAAAAAAAMAAAAZ2VvZ2VicmEueG1s3VpZc9tGEn52fsUUH/bJAuc+vJRTtsuOvVES18q7tbVvIDAiEYEAAoCSqPKP354ZgKcohzpc3NimBkfP9HR//XX3UB79eDPL0ZWtm6wsTgckwgNki6RMs2JyOpi3Fyd68OPrH0YTW07suI7RRVnP4vZ0wCM6WM2Du4grNzlLTweGWyOJHJ+MKfzgKeEnWiTiJBFUEXIRm4uxHSB002SvivLXeGabKk7seTK1s/isTOLWrzlt2+rVcHh9fR312qOyngwnk3F006QDBDsvmtNBd/EKltuYdM28OMWYDP/zy1lY/iQrmjYuEtDvrJpnr394MbrOirS8RtdZ2k7BB1KDaVObTaZgJ8FYDdDQiVVgbWWTNruyDUxeu/VWt7Nq4MXiwr1/Ea5QvjRogNLsKkttfTrAEcEKE8GFUlozrkBjWWe2aDtZ0ukc9quNrjJ7HZZ1V14jxwb2dpU12Ti3p4OLOG/Arqy4qMGnsKF6DrdNu8jtOK77+9V+yEv4CwLZrXVrAXjBEd7ol+6j4CMEDntZVzxAbVnmflWMhEFfvyKKKUYv3UDCQGGQMrzC4RlmYaBh4GEQQYaH6TyI8iDDgwxn99jZ3a8M7R5sWNrbye6yU8LHO2DLTr1mJ3FGfEXE7d4PDLl9E79/N/DuVoZb5QeCw0C6l9r98P6Sj7SIPcgisqY1xMMhSnuVhCvz53XSx+hcmkn0HWZSscfMR3p3qVSsKQVd/p//7Khk9BCVO1x8gEbJH0P+ByhU+HsoHA37VDfqyIeaqZPt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ZKSpgBpww4VEC/dGRkmOygcnYIGc6OiQwQ8PBHSTieSZf3u5OzOw4IyFwa4NJCP0NhGK7/RtD/hr77X3qv/wdQSwcI1ynnbdsIAABVKAAAUEsBAhQAFAAIAAgApkjGQtY3vbkZAAAAFwAAABYAAAAAAAAAAAAAAAAAAAAAAGdlb2dlYnJhX2phdmFzY3JpcHQuanNQSwECFAAUAAgACACmSMZC1ynnbdsIAABVKAAADAAAAAAAAAAAAAAAAABdAAAAZ2VvZ2VicmEueG1sUEsFBgAAAAACAAIAfgAAAHIJAAAAAA==" />
	<param name="java_arguments" value="-Xmx1024m -Djnlp.packEnabled=true" />
	<param name="cache_archive" value="geogebra.jar, geogebra_main.jar, geogebra_gui.jar, geogebra_cas.jar, geogebra_algos.jar, geogebra_export.jar, geogebra_javascript.jar, jlatexmath.jar, jlm_greek.jar, jlm_cyrillic.jar, geogebra_properties.jar" />
	<param name="cache_version" value="4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0, 4.2.47.0" />
	<param name="showResetIcon" value="false" />
	<param name="enableRightClick" value="true" />
	<param name="errorDialogsActive" value="true" />
	<param name="enableLabelDrags" value="false" />
	<param name="showMenuBar" value="true" />
	<param name="showToolBar" value="false" />
	<param name="showToolBarHelp" value="false" />
	<param name="showAlgebraInput" value="false" />
	<param name="useBrowserForJS" value="true" />
	<param name="allowRescaling" value="true" />
C'est une appliquette Java créée avec GeoGebra ( www.geogebra.org) - Il semble que Java ne soit pas installé sur votre ordinateur, merci d'aller sur www.java.com
</applet>
#

**)

(*
Definition is_orthocenter H A B C :=
 ~ Col A B C /\
 exists A1, exists B1, Perp A A1 B C /\ Perp B B1 A C /\ Col H A A1 /\ Col H B B1.
*)

Definition is_orthocenter H A B C :=
 ~ Col A B C /\ Perp A H B C /\ Perp B H A C /\ Perp C H A B.

(* Specifications: *)
Lemma construct_intersection : forall A B C X1 X2 X3, ~ Col A B C -> Par A C B X1 -> Par A B C X2 -> Par B C A X3 -> exists E, Col E A X3 /\ Col E B X1.
Lemma not_col_par_col2_diff : forall A B C D E F, ~ Col A B C -> Par A B C D -> Col C D E -> Col A E F -> A <> E.
Lemma construct_triangle : forall A B C, ~ Col A B C -> exists D, exists E, exists F, Col B D F /\ Col A E F /\ Col C D E /\ Par A B C D /\ Par A C B D /\ Par B C A E /\ Par A B C E /\ Par A C B F /\ Par B C A F /\ D <> E /\ D <> F /\ E <> F.
Lemma diff_not_col_col_par4_mid: forall A B C D E, D <> E -> ~ Col A B C -> Col C D E -> Par A B C D -> Par A B C E -> Par A E B C -> Par A C B D -> Midpoint C D E.
Lemma altitude_is_perp_bisect : forall A B C O A1 E F, A <> O -> E <> F -> Perp A A1 B C -> Col O A1 A -> Col A E F -> Par B C A E -> Midpoint A E F -> Perp_bisect A O E F.
Lemma altitude_intersect: forall A A1 B B1 C C1 O: Tpoint, ~ Col A B C -> Perp A A1 B C -> Perp B B1 A C -> Perp C C1 A B -> Col O A A1 -> Col O B B1 -> Col O C C1.
Lemma is_orthocenter_cases : forall A B C G, is_orthocenter G A B C \/ is_orthocenter G A C B \/ is_orthocenter G B A C \/ is_orthocenter G B C A \/ is_orthocenter G C A B \/ is_orthocenter G C B A -> is_orthocenter G A B C.
Lemma is_orthocenter_perm : forall A B C G, is_orthocenter G A B C -> is_orthocenter G A B C /\ is_orthocenter G A C B /\ is_orthocenter G B A C /\ is_orthocenter G B C A /\ is_orthocenter G C A B /\ is_orthocenter G C B A.
Lemma is_orthocenter_perm_1 : forall A B C G, is_orthocenter G A B C -> is_orthocenter G A C B.
Lemma is_orthocenter_perm_2 : forall A B C G, is_orthocenter G A B C -> is_orthocenter G B A C.
Lemma is_orthocenter_perm_3 : forall A B C G, is_orthocenter G A B C -> is_orthocenter G B C A.
Lemma is_orthocenter_perm_4 : forall A B C G, is_orthocenter G A B C -> is_orthocenter G C A B.
Lemma is_orthocenter_perm_5 : forall A B C G, is_orthocenter G A B C -> is_orthocenter G C B A.
Lemma orthocenter_per : forall A B C H, Per A B C -> is_orthocenter H A B C -> H=B.
Lemma orthocenter_col : forall A B C H, Col H B C -> is_orthocenter H A B C -> H = B \/ H = C.