Documentation

GaudisCrypt.Syntax.CloneTest

Test of clone: Lean's reserved names are not aliased #

A theory whose operator has a congruence lemma (T.twice.congr_simp, made by Lean when simp first needs it; here by naming it). The clone must not alias it: C.twice.congr_simp is then Lean's own lemma about C.twice. (An alias would be a statement about T.twice, found where simp looks for the lemma of C.twice.)

def GaudisCrypt.CloneTest.T.twice {α : Type} (f : α → α) (x : α) :
α

An operator of the theory.

Equations
Instances For
    theorem GaudisCrypt.CloneTest.T.twice_id {α : Type} (x : α) :
    twice id x = x

    A lemma of the theory.