Skip to content

Commit e3d1315

Browse files
hyperpolymathclaude
andcommitted
proof(coq): replace Axiom functional_extensionality with stdlib import
Remove the hand-rolled Axiom declaration and instead import Coq.Logic.FunctionalExtensionality. All six Coq proof files (filesystem_model, file_operations, file_content_operations, copy_move_operations, symlink_operations, permission_operations, rmo_operations) use `apply functional_extensionality`; they all import filesystem_model, so the single import change propagates. The stdlib version is the standard Coq axiom (fun_ext); this change makes the axiom dependency explicit and auditable rather than a locally-declared opaque Axiom. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b22071b commit e3d1315

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

proofs/coq/filesystem_model.v

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Require Import String.
1111
Require Import List.
1212
Require Import Bool.
1313
Require Import Arith.
14+
Require Import Coq.Logic.FunctionalExtensionality.
1415
Import ListNotations.
1516

1617
(** * Path Model *)
@@ -260,7 +261,5 @@ Proof.
260261
- assumption.
261262
Qed.
262263

263-
(** Helper axiom for functional extensionality
264-
In real development, import from Coq.Logic.FunctionalExtensionality *)
265-
Axiom functional_extensionality : forall {A B : Type} (f g : A -> B),
266-
(forall x, f x = g x) -> f = g.
264+
(* functional_extensionality is now provided by
265+
Coq.Logic.FunctionalExtensionality (imported above). *)

0 commit comments

Comments
 (0)