fact
stringlengths
7
4.84k
type
stringclasses
18 values
library
stringclasses
14 values
imports
listlengths
0
27
filename
stringclasses
205 values
symbolic_name
stringlengths
1
49
docstring
stringlengths
6
2.5k
eval_static_addressing_32 (addr: addressing) (vl: list aval): aval := match addr, vl with | Aindexed n, v1::nil => add v1 (I (Int.repr n)) | Aindexed2 n, v1::v2::nil => add (add v1 v2) (I (Int.repr n)) | Ascaled sc ofs, v1::nil => add (mul v1 (I (Int.repr sc))) (I (Int.repr ofs)) | Aindexed2scaled sc ofs, v1:...
Definition
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_addressing_32
null
eval_static_addressing_64 (addr: addressing) (vl: list aval): aval := match addr, vl with | Aindexed n, v1::nil => addl v1 (L (Int64.repr n)) | Aindexed2 n, v1::v2::nil => addl (addl v1 v2) (L (Int64.repr n)) | Ascaled sc ofs, v1::nil => addl (mull v1 (L (Int64.repr sc))) (L (Int64.repr ofs)) | Aindexed2scale...
Definition
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_addressing_64
null
eval_static_addressing (addr: addressing) (vl: list aval): aval := if Archi.ptr64 then eval_static_addressing_64 addr vl else eval_static_addressing_32 addr vl.
Definition
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_addressing
null
eval_static_operation (op: operation) (vl: list aval): aval := match op, vl with | Omove, v1::nil => v1 | Ointconst n, nil => I n | Olongconst n, nil => L n | Ofloatconst n, nil => if propagate_float_constants tt then F n else ntop | Osingleconst n, nil => if propagate_float_constants tt then FS n else ntop...
Definition
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_operation
null
eval_static_condition_sound: forall cond vargs m aargs, list_forall2 (vmatch bc) vargs aargs -> cmatch (eval_condition cond vargs m) (eval_static_condition cond aargs).
Theorem
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_condition_sound
null
symbol_address_sound: forall id ofs, vmatch bc (Genv.symbol_address ge id ofs) (Ptr (Gl id ofs)).
Lemma
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
symbol_address_sound
null
symbol_address_sound_2: forall id ofs, vmatch bc (Genv.symbol_address ge id ofs) (Ifptr (Gl id ofs)).
Lemma
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
symbol_address_sound_2
null
eval_static_addressing_32_sound: forall addr vargs vres aargs, eval_addressing32 ge (Vptr sp Ptrofs.zero) addr vargs = Some vres -> list_forall2 (vmatch bc) vargs aargs -> vmatch bc vres (eval_static_addressing_32 addr aargs).
Theorem
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_addressing_32_sound
null
eval_static_addressing_64_sound: forall addr vargs vres aargs, eval_addressing64 ge (Vptr sp Ptrofs.zero) addr vargs = Some vres -> list_forall2 (vmatch bc) vargs aargs -> vmatch bc vres (eval_static_addressing_64 addr aargs).
Theorem
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_addressing_64_sound
null
eval_static_addressing_sound: forall addr vargs vres aargs, eval_addressing ge (Vptr sp Ptrofs.zero) addr vargs = Some vres -> list_forall2 (vmatch bc) vargs aargs -> vmatch bc vres (eval_static_addressing addr aargs).
Theorem
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_addressing_sound
null
eval_static_operation_sound: forall op vargs m vres aargs, eval_operation ge (Vptr sp Ptrofs.zero) op vargs m = Some vres -> list_forall2 (vmatch bc) vargs aargs -> vmatch bc vres (eval_static_operation op aargs).
Theorem
x86
[ "Coqlib", "Compopts", "AST", "Integers", "Floats", "Values", "Memory", "Globalenvs", "Op", "RTL", "ValueDomain" ]
x86/ValueAOp.v
eval_static_operation_sound
null
ptr64 := false.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
ptr64
null
big_endian := false.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
big_endian
null
align_int64 := 4%Z.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
align_int64
null
align_float64 := 4%Z.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
align_float64
null
splitlong := negb ptr64.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
splitlong
null
splitlong_ptr32: splitlong = true -> ptr64 = false.
Lemma
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
splitlong_ptr32
null
default_nan_64 := (true, iter_nat 51 _ xO xH).
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
default_nan_64
null
default_nan_32 := (true, iter_nat 22 _ xO xH).
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
default_nan_32
null
choose_nan_64 (l: list (bool * positive)) : bool * positive := match l with nil => default_nan_64 | n :: _ => n end.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
choose_nan_64
Architecture-dependent parameters for x86 in 32-bit mode
choose_nan_32 (l: list (bool * positive)) : bool * positive := match l with nil => default_nan_32 | n :: _ => n end.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
choose_nan_32
null
choose_nan_64_idem: forall n, choose_nan_64 (n :: n :: nil) = choose_nan_64 (n :: nil).
Lemma
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
choose_nan_64_idem
null
choose_nan_32_idem: forall n, choose_nan_32 (n :: n :: nil) = choose_nan_32 (n :: nil).
Lemma
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
choose_nan_32_idem
null
fma_order {A: Type} (x y z: A) := (x, y, z).
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
fma_order
null
fma_invalid_mul_is_nan := false.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
fma_invalid_mul_is_nan
null
float_of_single_preserves_sNaN := false.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
float_of_single_preserves_sNaN
null
float_conversion_default_nan := false.
Definition
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
float_conversion_default_nan
null
win64: bool.
Parameter
x86_32
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_32/Archi.v
win64
Which ABI to use.
ptr64 := true.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
ptr64
null
big_endian := false.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
big_endian
null
align_int64 := 8%Z.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
align_int64
null
align_float64 := 8%Z.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
align_float64
null
splitlong := negb ptr64.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
splitlong
null
splitlong_ptr32: splitlong = true -> ptr64 = false.
Lemma
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
splitlong_ptr32
null
default_nan_64 := (true, iter_nat 51 _ xO xH).
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
default_nan_64
null
default_nan_32 := (true, iter_nat 22 _ xO xH).
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
default_nan_32
null
choose_nan_64 (l: list (bool * positive)) : bool * positive := match l with nil => default_nan_64 | n :: _ => n end.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
choose_nan_64
Architecture-dependent parameters for x86 in 64-bit mode
choose_nan_32 (l: list (bool * positive)) : bool * positive := match l with nil => default_nan_32 | n :: _ => n end.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
choose_nan_32
null
choose_nan_64_idem: forall n, choose_nan_64 (n :: n :: nil) = choose_nan_64 (n :: nil).
Lemma
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
choose_nan_64_idem
null
choose_nan_32_idem: forall n, choose_nan_32 (n :: n :: nil) = choose_nan_32 (n :: nil).
Lemma
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
choose_nan_32_idem
null
fma_order {A: Type} (x y z: A) := (x, y, z).
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
fma_order
null
fma_invalid_mul_is_nan := false.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
fma_invalid_mul_is_nan
null
float_of_single_preserves_sNaN := false.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
float_of_single_preserves_sNaN
null
float_conversion_default_nan := false.
Definition
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
float_conversion_default_nan
null
win64: bool.
Parameter
x86_64
[ "Coq.List", "Coq.ZArith", "Flocq.Binary", "Flocq.Bits" ]
x86_64/Archi.v
win64
Which ABI to use.