AFTD Auto-Formalizing Theoretical Domains

MpNsrPremise

inductive

The inductive type MpNsrPremise (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type of premises in an MP-NSR refutation of a CNF formula F : List (List (CnfLit (Fin n))) over Fin n, with six constructors: clause (C : List (CnfLit (Fin n))) (hC : C ∈ F), weak_pos (i : Fin n), weak_neg (i : Fin n), pair_upper (i : Fin n), pair_lower (i : Fin n), and resolution (i : Fin n).

Statement

inductive MpNsrPremise (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type
Defined in
arXiv:2611.24548 Def 2.7
Verified
19 Nov 2026
Axioms
none listed
Built on 1
  • CnfLitA CNF literal over a variable type V is either a positive variable or a negated variable.
Used by 2
  • MpNsrEntryA structure MpNsrEntry (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type representing an entry in an MP-NSR certificate, with fields coeff…
  • mp_nsr_premise_termsThe pair of lists of left-hand side and right-hand side tropical terms (c : ℚ, m : CnfLit (Fin n) → ℕ) for an MP-NSR premise p :…

Read back from the Lean

An inductive type MpNsrPremise n F parameterized by a natural number n : ℕ and a CNF formula F : List (List (CnfLit (Fin n))) (represented as a list of clauses, each clause being a list of positive or negative literals with variables in Fin n). The type has six constructors representing premises: 1. clause: constructs a premise from a clause C : List (CnfLit (Fin n)) together with a proof hC : C ∈ F that C is a clause of F. 2. weak_pos: constructs a premise from a variable index i : Fin n. 3. weak_neg: constructs a premise from a variable index i : Fin n. 4. pair_upper: constructs a premise from a variable index i : Fin n. 5. pair_lower: constructs a premise from a variable index i : Fin n. 6. resolution: constructs a premise from a variable index i : Fin n.

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

/-- Premises available in an MP-NSR refutation of a CNF formula F over n variables. -/
inductive MpNsrPremise (n : ℕ) (F : List (List (CnfLit (Fin n)))) : Type | clause (C : List (CnfLit (Fin n))) (hC : C ∈ F) : MpNsrPremise n F
  | weak_pos (i : Fin n) : MpNsrPremise n F
  | weak_neg (i : Fin n) : MpNsrPremise n F
  | pair_upper (i : Fin n) : MpNsrPremise n F
  | pair_lower (i : Fin n) : MpNsrPremise n F
  | resolution (i : Fin n) : MpNsrPremise n F
See it in the graphDiscuss this resultChallenge it