Documentation

CatCryptCore.Tactics

CatCrypt Tactics Module #

This module provides tactic automation for CatCrypt proofs.

Submodules #

Overview #

The CatCrypt tactic library provides automation for:

Code Validity #

Relational Proofs #

Invariant Reasoning #

EasyCrypt-Style Tactics #

Strongest Postcondition #

One-Sided Sampling #

ProofFrog-Inspired Automation #

Usage #

Import this module to get access to all CatCrypt tactics:

import CatCryptCore.Tactics

example : rHoare eqPre (sample α) (sample α) (fun a h₁ b h₂ => eqPre h₁ h₂ ∧ a = b) := by
  ssprove_sync

See Also #

References #