Section ordre.
Variable A : Set.
Variable f g : A -> nat.
Definition e_lexfg (a b : A) := f a > f b \/ f a = f b /\ g a > g b.
End ordre.
Notation lexfg := (e_lexfg _) (only parsing).
(* <Warning> : Syntax is discontinued *)
Hint Resolve lexfg_systemSL.
Hint Resolve lexfg_app_l.
Hint Resolve lexfg_app_r.
Hint Resolve lexfg_lambda.
Hint Resolve lexfg_env_t.
Hint Resolve lexfg_env_s.
Hint Resolve lexfg_cons_t.
Hint Resolve lexfg_cons_s.
Hint Resolve lexfg_comp_l.

Theorem lexfg_comp_r :
forall s t t' : sub_explicits,
e_lexfg _ (e_P1 ws) (e_P2 ws) t t' ->
e_lexfg _ (e_P1 ws) (e_P2 ws) (comp s t) (comp s t').