Documentation

GaudisCrypt.Logic.ECAutoTest

Golden tests of EC's auto (Logic/ECAuto.lean) #

Each test pins what a tactic leaves: the goals, their order, tags and shape, as trace_state prints them (#guard_msgs). A change of a tactic that changes its output changes a test here; update the expected text (scripts/update_golden.py) only when the change is intended. The goals are then given up (sorry, its warning part of the expected text): the tests are about the tactic's output, not about closing it. The conditions use uninterpreted predicates (P, Q, R) so that the closers inside the tactic leave the goal.

Equations
Instances For
    instance GaudisCrypt.ECAutoTest.instIsGlobalVarIntAutoCountMk :
    autoCount.IsGlobalVar (VariableName.mk "GaudisCrypt.ECAutoTest.autoCount" ℤ)

    hoare_auto #

    equiv_auto #

    Lossless distributions (@[ec_lossless]) #

    A distribution of the test, lossless.

    Equations
    Instances For
      theorem GaudisCrypt.ECAutoTest.dzero_ll :
      (dzero.expected fun (x : ℕ) => 1) = 1

      dzero is lossless, for EC's auto.