forked from FStarLang/FStar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCOMMIT_MESSAGE.txt
More file actions
24 lines (17 loc) · 1.16 KB
/
COMMIT_MESSAGE.txt
File metadata and controls
24 lines (17 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Fix F* compilation errors in ElectromagnetismFiberBundle using auto modeling
Resolved compilation errors by applying automatic modeling techniques:
- Warning 242: Extracted inner let-rec `transport_along_path` to top-level
function to enable SMT encoding. The inner recursive function was not
being encoded to the solver, so it was moved to module scope with
proper termination proof.
- Error 189 (line 235): Added explicit return type annotation `Tot bool`
to `bianchi_identity` function to resolve type inference issues.
- Error 189 (line 273): Fixed type mismatches by:
* Changing `spacetime` type from `nat` to `int` to match `direction` parameters
* Refactoring `covariant_derivative` to use separate `int` parameters instead
of tuple type (avoiding conflict with `FStar.Mul` multiplication operator)
* Updated tuple type syntax from `*` to `&` where needed due to `FStar.Mul` import
- Error 19 (termination): Extracted `apply_transforms` to top-level recursive
function with `decreases params` clause to prove termination.
All functions now properly encoded to SMT solver with correct type annotations
and termination proofs. Module verifies successfully.