Skip to content

Commit cbd5ad1

Browse files
Claude/fix prover wiring epy ir (#21)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8b79af5 commit cbd5ad1

4 files changed

Lines changed: 405 additions & 8 deletions

File tree

src/rust/proof_encoding.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ mod tests {
154154
hypotheses: vec![],
155155
};
156156

157-
let id1 = proof_identity("my_theorem", &goal, ProverKind::Lean4);
158-
let id2 = proof_identity("my_theorem", &goal, ProverKind::Lean4);
157+
let id1 = proof_identity("my_theorem", &goal, ProverKind::Lean);
158+
let id2 = proof_identity("my_theorem", &goal, ProverKind::Lean);
159159
assert_eq!(id1, id2, "Same inputs must produce same identity");
160160
}
161161

@@ -167,7 +167,7 @@ mod tests {
167167
hypotheses: vec![],
168168
};
169169

170-
let lean = proof_identity("thm", &goal, ProverKind::Lean4);
170+
let lean = proof_identity("thm", &goal, ProverKind::Lean);
171171
let coq = proof_identity("thm", &goal, ProverKind::Coq);
172172
assert_ne!(
173173
lean, coq,

src/rust/verification/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ pub mod confidence;
1616
pub mod mutation;
1717
pub mod pareto;
1818
pub mod portfolio;
19+
#[cfg(feature = "verisim")]
20+
pub mod proof;
1921
pub mod statistics;
2022

2123
pub use axiom_tracker::{AxiomPolicy, AxiomTracker, AxiomUsage, DangerLevel};
@@ -24,4 +26,8 @@ pub use confidence::TrustLevel;
2426
pub use mutation::{MutationKind, MutationResult, MutationTester};
2527
pub use pareto::{ParetoFrontier, ProofCandidate, ProofObjective};
2628
pub use portfolio::{PortfolioConfig, PortfolioResult, PortfolioSolver};
29+
#[cfg(feature = "verisim")]
30+
pub use proof::{
31+
theorem_identity, Proof, ProofStateRecord, ProofVersion, TacticApplication, TacticStatus,
32+
};
2733
pub use statistics::StatisticsTracker;

0 commit comments

Comments
 (0)