contains functions necessary to generate PAC proofs More...
#include "gate.h"
Go to the source code of this file.
Functions | |
void | print_spec_poly (FILE *file) |
void | print_circuit_poly (FILE *file) |
void | print_pac_del_rule (FILE *file, const Polynomial *p1) |
void | print_pac_mod_rule (FILE *file, const Polynomial *p1, Polynomial *p) |
void | print_pac_add_rule (FILE *file, const Polynomial *p1, const Polynomial *p2, Polynomial *p) |
void | print_pac_mul_rule (FILE *file, const Polynomial *p1, const Polynomial *p2, Polynomial *p) |
contains functions necessary to generate PAC proofs
Part of AMulet2.0 : AIG Multiplier Verification Tool. Copyright (C) 2020 Daniela Kaufmann, Johannes Kepler University Linz
void print_circuit_poly | ( | FILE * | file | ) |
Prints all initial gate constraints to the file (with indices)
file | output file |
void print_pac_add_rule | ( | FILE * | file, |
const Polynomial * | p1, | ||
const Polynomial * | p2, | ||
Polynomial * | p | ||
) |
Prints an addition rule for pac
file | output file |
p1 | Polynomial*, First summand |
p2 | Polynomial*, Second summand |
p | Polynomial*, Conclusion |
void print_pac_del_rule | ( | FILE * | file, |
const Polynomial * | p1 | ||
) |
Prints a deletion rule
p1 | Polynomial* |
file | output file |
void print_pac_mod_rule | ( | FILE * | file, |
const Polynomial * | p1, | ||
Polynomial * | p | ||
) |
Prints the modulo rule
file | output file |
p1 | Polynomial*, factor |
p | Polynomial*, conclusion |
void print_pac_mul_rule | ( | FILE * | file, |
const Polynomial * | p1, | ||
const Polynomial * | p2, | ||
Polynomial * | p | ||
) |
Prints the multiplication rule of pac
file | output file |
p1 | Polynomial*, First factor |
p2 | Polynomial*, Second factor |
p | Polynomial*, Conclusion |
void print_spec_poly | ( | FILE * | file | ) |
Prints the specification polynomial to the file
file | output file |