1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! # Formal Verification Framework for ThinkTool Algorithms
//!
//! A comprehensive framework for verifying mathematical reasoning and algorithmic correctness
//! using GLM-4.6's strong mathematical reasoning capabilities (claimed 91.0% AIME performance).
//!
//! ## Architecture
//!
//! This framework provides:
//! - **Proof Generation**: Generate formal mathematical proofs from algorithm execution
//! - **Proof Verification**: Validate proof correctness using theorem provers
//! - **Confidence Scoring**: Quantify verification confidence with multiple metrics
//! - **Multi-Model Validation**: Cross-validate proofs using multiple AI models (CONS-008)
//!
//! ## Usage
//!
//! ```rust,ignore
//! use reasonkit_core::verification::{ProofGenerator, ProofVerifier, ConfidenceScorer};
//!
//! // Create verification components
//! let generator = ProofGenerator::new(glm46_config)?;
//! let verifier = ProofVerifier::new();
//! let scorer = ConfidenceScorer::new();
//!
//! // Generate proof from algorithm execution
//! let proof = generator.generate_from_execution(algorithm_trace).await?;
//!
//! // Verify proof
//! let verification = verifier.verify(&proof).await?;
//!
//! // Score confidence
//! let confidence = scorer.score(&verification);
//! if confidence >= 0.90 {
//! // Accept without human review
//! } else if confidence >= 0.75 {
//! // Accept with annotation
//! } else {
//! // Flag for human review
//! }
//! ```
pub use ConfidenceScorer;
pub use ;
pub use ;
pub use ;
pub use *;
use crateResult;