Skip to content

Safety assert2 - #1170

Draft
lyonel2017 wants to merge 2 commits into
mainfrom
safety-assert2
Draft

Safety assert2#1170
lyonel2017 wants to merge 2 commits into
mainfrom
safety-assert2

Conversation

@lyonel2017

Copy link
Copy Markdown
Collaborator

No description provided.

@vbgl

vbgl commented Dec 3, 2025

Copy link
Copy Markdown
Member

Why has the extraction for CT been changed in an incompatible way?

@bgregoir
bgregoir force-pushed the safety-assert2 branch 3 times, most recently from e355928 to 12cc5a0 Compare December 12, 2025 07:00
@bgregoir
bgregoir force-pushed the safety-assert2 branch 3 times, most recently from ed0ac68 to 06847d8 Compare December 18, 2025 17:22
@vbgl
vbgl force-pushed the safety-assert2 branch 2 times, most recently from c7c0da4 to e0a472e Compare January 21, 2026 05:42
@vbgl
vbgl force-pushed the safety-assert2 branch 3 times, most recently from 425a075 to 47edd2c Compare January 27, 2026 15:19
@vbgl vbgl mentioned this pull request Jan 30, 2026
3 tasks
@vbgl
vbgl force-pushed the safety-assert2 branch 3 times, most recently from 4855e17 to 8ae7062 Compare February 6, 2026 14:58
@vbgl vbgl mentioned this pull request Feb 7, 2026
@vbgl
vbgl force-pushed the safety-assert2 branch 3 times, most recently from c1440d4 to f55e78a Compare February 10, 2026 16:59
@vbgl
vbgl force-pushed the safety-assert2 branch 2 times, most recently from 0adec72 to d23ace7 Compare February 17, 2026 14:24
@vbgl vbgl mentioned this pull request Feb 20, 2026
3 tasks
@vbgl
vbgl force-pushed the safety-assert2 branch 5 times, most recently from 857ec2e to b6a8cee Compare March 4, 2026 10:59
Add Hoare rule for assert

remove warning

patch relational_logic, admit hoare_logic

patch psem

restore proofs

proof of wint_word + remove_assert

link remove_assert in compiler

Add more proof for Hoare Logic

Add ocaml part for bigop and assertions

Add proof for hoare

WIP

Temp fix of a test

Fix tests

Fix tests

extension for exprs, assertions

extension for exprs, assertions (Ocaml)

backward proof of wint_int (include safety), needs cleanup

WIP

safe semantics with catch

finish wint_int_proof

Take withcatch into account in relational_logic

fix slh_lowering_proof

safety_proof.v

shared defs wint_int

lemmas in safety_shared

safety.v

sc_op2 fix

New EC model for safety and safety pass added to compiler

safety proofs update

moved lemma wint_int_proof

safety_proof prog

EC library proofs for safety lemmas

all compile

fix parser for tests

do not split assert in two in wint_int

remove admit in safety_proof.v

Generating default function contracts fix

Fix printer, add safety examples and wint_int spill fix

EC Extraction fix

encode some safety expressions using operators

fix last merge

remove axiom from safety_proof

add extra tests in extra_vars_call to ensure freshness of introduced variables

fix insert_copy_and_fix_length

fix safety for get_global array

add test

fix constant-time check

fix declassify

fix printing

use annotation for require and ensure

fix printing of annotations

improves printing of safety pre/post

Safety Extraction to separate files and fix in leakage extraction

fix syntax of safety test

small cleanning in pretyping

add option --output-proof to jasmin2ec

remove assert false in linter

fix VariableInitialisation

remove assert false

simplify parser

use capitalize_ascii

add tests for jasmin2ec --model safety

remove assert false in latex printer

remove assert false in latex printer

small changes

small cleanup

restore proof

remove partial-match in auto-spill

SMT

Exit Oarr_make

automatically insert cast

add proof of insert_cast

Fix safety spec file import and safety eclib fix

fix proof is_init - eclib

eclib: simpler & more general JByte_array.init_arrP

toEC: use init_arr

fix typing in safety.v
@vbgl
vbgl force-pushed the safety-assert2 branch from b6a8cee to 5d0cd56 Compare March 6, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants