extend source and target calculi with observable tick effects + add invariant checks for relation preservation and target arity/shape

This commit is contained in:
2026-04-27 12:51:47 +00:00
parent 7f024737cf
commit 31596491f0
18 changed files with 395 additions and 44 deletions
+4
View File
@@ -85,6 +85,10 @@ let sample_terms ~count ~max_depth () =
Source.Fix ("loop", TInt, Source.Var "loop") ),
Source.Int 0 );
};
{
ty = TInt;
term = Source.Let ("_", Source.Tick ("alloc", Source.Int 0), Source.Int 1);
};
]
in
let rec fill acc i attempts =