|
2 | 2 | // SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk> |
3 | 3 |
|
4 | 4 | //! Integration test: mock HTTP server proves the GNN wire format works and |
5 | | -//! that the 5 key backends (rocq, lean, agda, isabelle, z3) consume |
6 | | -//! `/gnn/rank` and prepend model-derived apply tactics. |
| 5 | +//! that the 10 GNN-augmented Tier-1 backends (rocq, lean, agda, isabelle, z3 |
| 6 | +//! from the S5 pilot, plus idris2, fstar, cvc5, vampire, dafny extending it) |
| 7 | +//! consume `/gnn/rank` and prepend model-derived apply tactics. |
7 | 8 | //! |
8 | 9 | //! No Julia installation needed — the mock server is an in-process axum |
9 | 10 | //! server bound to a random port. Run with: |
@@ -203,3 +204,33 @@ async fn test_z3_gnn_wires_top_premise() { |
203 | 204 | let base_url = spawn_mock_gnn_server().await; |
204 | 205 | assert_top_tactic_is_apply(ProverKind::Z3, "z3", &base_url).await; |
205 | 206 | } |
| 207 | + |
| 208 | +#[tokio::test] |
| 209 | +async fn test_idris2_gnn_wires_top_premise() { |
| 210 | + let base_url = spawn_mock_gnn_server().await; |
| 211 | + assert_top_tactic_is_apply(ProverKind::Idris2, "idris2", &base_url).await; |
| 212 | +} |
| 213 | + |
| 214 | +#[tokio::test] |
| 215 | +async fn test_fstar_gnn_wires_top_premise() { |
| 216 | + let base_url = spawn_mock_gnn_server().await; |
| 217 | + assert_top_tactic_is_apply(ProverKind::FStar, "fstar", &base_url).await; |
| 218 | +} |
| 219 | + |
| 220 | +#[tokio::test] |
| 221 | +async fn test_cvc5_gnn_wires_top_premise() { |
| 222 | + let base_url = spawn_mock_gnn_server().await; |
| 223 | + assert_top_tactic_is_apply(ProverKind::CVC5, "cvc5", &base_url).await; |
| 224 | +} |
| 225 | + |
| 226 | +#[tokio::test] |
| 227 | +async fn test_vampire_gnn_wires_top_premise() { |
| 228 | + let base_url = spawn_mock_gnn_server().await; |
| 229 | + assert_top_tactic_is_apply(ProverKind::Vampire, "vampire", &base_url).await; |
| 230 | +} |
| 231 | + |
| 232 | +#[tokio::test] |
| 233 | +async fn test_dafny_gnn_wires_top_premise() { |
| 234 | + let base_url = spawn_mock_gnn_server().await; |
| 235 | + assert_top_tactic_is_apply(ProverKind::Dafny, "dafny", &base_url).await; |
| 236 | +} |
0 commit comments