Ad
  • Custom User Avatar

    Now it does say "@nnreal_induction_on" for me, but when I first completed the kata, the test file had "immediate." Maybe if you leave "Example Test Cases" blank it defaults to something that uses "immediate"?

    In any case, it does seem like this issue is now resolved.

  • Custom User Avatar

    Instead of "immediate", the test file should have "@nnreal_induction_on". Otherwise, nice kata.

  • Custom User Avatar

    Okay, thanks for fixing it. The kata itself is really nice, by the way.

  • Custom User Avatar

    For some reason the test doesn't work for me even though I was able to submit a successful solution. The output of the test was unknown identifier immediate. When I tried changing immediate to word_eq_power_tower the output was

    type mismatch, term
      word_eq_power_tower
    has type
      ∀ (a b : ?m_1) (n : ℕ), word a b 1 = a ^ 2 → word a b n = a ^ tower n
    but is expected to have type
      SUBMISSION
    

    However, as I said, I had no problems attempting or submitting my solution.

  • Custom User Avatar

    It would be nice if the initial solution file included the lines

    open tm nvalue lvalue step ty has_type multi
    infix ` ⟶ `:100 := step
    notation `⊢ `:19 t ` :∈ `:20 T := has_type t T
    notation `step_normal_form` := (normal_form step)
    

    Also, I noticed that the preloaded file contains open nvalue but not open lvalue which doesn't cause any problems, but seems a little weird (and briefly confused me when I was working on solving the kata).

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution