Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8498243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:20:59+00:00 2026-06-11T00:20:59+00:00

I have a function HF has type inside section S Open S. HF: forall

  • 0

I have a function “HF” has type inside section S

Open S.
HF: forall f : dup_sig Sig, dup_ar f = ASignature.arity (F f)
End S.

Signature: Type
Sig: Signature    
dp_Sig : Signature
dup_sig : Signature -> Signature
F : dup_sig Sig -> Sig
dup_symb : Signature -> Type
dup_ar : forall Sig : Signature, dup_symb Sig -> nat
ASignature.arity : forall s : Signature, s -> nat

I want to write a lemma:

Lemma incl_fl : forall R R, Fl HF R [= R'.

Where

Fl: forall (S1 S2 : Signature) (F : S1 -> S2),
       (forall f : S1, ASignature.arity f = ASignature.arity (F f)) ->
       list (ATrs.rule S1) -> list (ATrs.rule S2)

It is Ok when I have this function inside the section S.

But I would like to write the function incl_fl outside the section S.
Here is the type of HF outside section S.

HF: forall (arity : symbol -> nat) (f : dup_sig (Sig arity)),
    dup_ar f = ASignature.arity (F f)

Lemma incl_fl : forall arity R R', Fl HF R [= R'.

I got an error at “HF” :

The term "HF" has type
 "forall (arity : symbol -> nat) (f : dup_sig (Sig arity)),
  dup_ar f = ASignature.arity (F f)" while it is expected to have type
 "forall f : ?35524, ASignature.arity f = ASignature.arity (?35526 f)".

I tried to find a place to add the arity in this function “HF“, but I don’t success.
Could you please help me write the lemma “incl_fl” outside the section S? Thank you very much.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:21:01+00:00Added an answer on June 11, 2026 at 12:21 am

    I found the answer.

    Lemma incl_Fl : forall arity R R', Fl (HF (arity:=arity)) R [= R'.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a base class which has a nested type, inside. There's a function
I have a function written in C# which has one parameter type as Dictionary<string
I have a Java code where the return type of a function has unbounded
i have a success function that has some data stored inside it: function(receiverUserIds) {
I have a class named CollectionPager which has a collection inside that of type
Now I have a function that has to return a string. I saw a
gcc 4.4.2 c89 I have a function that has to run (config_relays). It make
I have a function B that has this declaration: public void B(Class<? extends C>
I have a js function which has, until now, always been the callback for
I have set UserIsOnlineTimeWindow =2 in web.config then my logout() function has been modified

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.