AFTD Auto-Formalizing Theoretical Domains

MpNsrEntry

structure

A structure MpNsrEntry (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type representing an entry in an MP-NSR certificate, with fields coeff : ℚ, monomial : CnfLit (Fin n) → ℕ, and premise : MpNsrPremise n F.

Statement

structure MpNsrEntry (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type
Defined in
arXiv:2611.24548 Def 2.3 & Def 2.7
Verified
19 Nov 2026
Axioms
none listed
Built on 2
  • MpNsrPremiseThe inductive type MpNsrPremise (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type of premises in an MP-NSR refutation of a CNF formula F :…
  • CnfLitA CNF literal over a variable type V is either a positive variable or a negated variable.
Used by 2
  • is_mp_nsr_refutationAn MP-NSR certificate cert : List (MpNsrEntry n F) is a refutation of a CNF formula F : List (List (CnfLit (Fin n))) over Fin n if the…
  • mp_nsr_sizeThe unary size mp_nsr_size of an MP-NSR certificate cert : List (MpNsrEntry n F) for a CNF formula F : List (List (CnfLit (Fin n))) over…

Read back from the Lean

A structure MpNsrEntry, parameterized by a natural number n and a list of lists of literals F : List (List (CnfLit (Fin n))) (representing a CNF formula), consisting of three fields: 1. coeff : ℚ, a rational coefficient; 2. monomial : CnfLit (Fin n) → ℕ, an assignment of a natural number (exponent) to each literal over Fin n; 3. premise : MpNsrPremise n F, a premise associated with formula F.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- An entry in an MP-NSR certificate. -/
structure MpNsrEntry (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type where
  coeff : ℚ
  monomial : CnfLit (Fin n) → ℕ
  premise : MpNsrPremise n F
See it in the graphDiscuss this resultChallenge it