geolog-zeta-fork/examples/geolog/field_projection_test.geolog

13 lines
234 B
Plaintext
Raw Normal View History

2026-02-26 11:50:51 +01:00
// Test: Field projection syntax
theory FieldProjectionTest {
A : Sort;
B : Sort;
R : Sort;
R/data : R -> [x: A, y: B];
// Axiom using field projection: r R/data .x
ax1 : forall r : R, a : A. r R/data .x = a |- true;
}