mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
refactor(core): add Proof_step
This commit is contained in:
parent
a9ae790d7f
commit
7595f66e59
6 changed files with 8 additions and 4 deletions
|
|
@ -25,6 +25,7 @@ end
|
||||||
|
|
||||||
module Bvar = Sidekick_core_logic.Bvar
|
module Bvar = Sidekick_core_logic.Bvar
|
||||||
module Lit = Lit
|
module Lit = Lit
|
||||||
|
module Proof_step = Proof_step
|
||||||
module Proof_core = Proof_core
|
module Proof_core = Proof_core
|
||||||
module Proof_sat = Proof_sat
|
module Proof_sat = Proof_sat
|
||||||
module Proof_trace = Proof_trace
|
module Proof_trace = Proof_trace
|
||||||
|
|
|
||||||
3
src/core/proof_step.ml
Normal file
3
src/core/proof_step.ml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
type id = int32
|
||||||
|
|
||||||
|
let pp = Fmt.int32
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
open Sidekick_core_logic
|
open Sidekick_core_logic
|
||||||
|
|
||||||
type step_id = int32
|
type step_id = Proof_step.id
|
||||||
type lit = Lit.t
|
type lit = Lit.t
|
||||||
|
|
||||||
type t = {
|
type t = {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
open Sidekick_core_logic
|
open Sidekick_core_logic
|
||||||
|
|
||||||
type step_id = int32
|
type step_id = Proof_step.id
|
||||||
type lit = Lit.t
|
type lit = Lit.t
|
||||||
|
|
||||||
type t = {
|
type t = {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
type lit = Lit.t
|
type lit = Lit.t
|
||||||
type step_id = int32
|
type step_id = Proof_step.id
|
||||||
type proof_term = Proof_term.t
|
type proof_term = Proof_term.t
|
||||||
|
|
||||||
module Step_vec = struct
|
module Step_vec = struct
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ open Sidekick_core_logic
|
||||||
|
|
||||||
type lit = Lit.t
|
type lit = Lit.t
|
||||||
|
|
||||||
type step_id = Proof_term.step_id
|
type step_id = Proof_step.id
|
||||||
(** Identifier for a tracing step (like a unique ID for a clause previously
|
(** Identifier for a tracing step (like a unique ID for a clause previously
|
||||||
added/proved) *)
|
added/proved) *)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue