Results 1 to 2 of 2

Math Help - functions - Iterate and Curry

  1. #1
    Sep 2011

    functions - Iterate and Curry

    Folks, I am trying to refresh function...and could not solve a problem...can anyone help..

    LetA be an arbitrary set. For any total function P: A A and any non-negative integer n, iterate(P, n) isdefined as the n-th iteration of f, in other words, the function iterate(f,n)is defined as iterate(p, n) = p ; p ; ... ; p (n times of composition).The sign ; is used for function composition.

    Whatis the signature of iterate?
    Whatis the signature of curry(iterate)?

    Last edited by sureshcisco; September 14th 2011 at 07:15 AM. Reason: thanks.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Oct 2009

    Re: functions - Iterate and Curry

    Quote Originally Posted by sureshcisco View Post
    For any total function P: A A
    Bonjour et bienvenue!

    iterate : (A -> A) x nat -> (A -> A)

    The function iterate takes a function and a number and returns a function. The right pair of parentheses is optional because -> associates to the right. (I would even say that iterate is polymorphic because it can probably work for any type A.)

    curry(iterate) : (A -> A) -> nat -> (A -> A)

    but this may depend on the precise definition of currying that you have.
    Last edited by Ackbeet; September 14th 2011 at 08:33 AM. Reason: Last sentence no longer relevant.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Curry Triangle
    Posted in the Math Puzzles Forum
    Replies: 2
    Last Post: August 25th 2010, 09:17 AM
  2. Replies: 0
    Last Post: April 15th 2010, 05:50 PM
  3. Replies: 3
    Last Post: February 23rd 2010, 04:54 PM
  4. Replies: 11
    Last Post: November 15th 2009, 11:22 AM
  5. Curry's paradox
    Posted in the Discrete Math Forum
    Replies: 2
    Last Post: February 22nd 2007, 03:00 PM

Search Tags

/mathhelpforum @mathhelpforum