| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After | File Name | Before || Change | % Change
----------------------------------------------------------------------------------------------
19m16.05s | Total | 21m25.28s || -2m09.23s | -10.05%
----------------------------------------------------------------------------------------------
4m01.34s | Specific/X25519/C64/ladderstep | 4m59.49s || -0m58.15s | -19.41%
2m48.52s | Specific/solinas32_2e255m765_13limbs/femul | 3m12.95s || -0m24.42s | -12.66%
2m23.70s | Specific/solinas32_2e255m765_12limbs/femul | 2m44.11s || -0m20.41s | -12.43%
3m09.62s | Specific/NISTP256/AMD64/femul | 3m22.52s || -0m12.90s | -6.36%
0m36.32s | Specific/X25519/C64/femul | 0m39.50s || -0m03.17s | -8.05%
0m30.13s | Specific/X25519/C64/fesquare | 0m32.24s || -0m02.11s | -6.54%
0m35.40s | Specific/NISTP256/AMD64/feadd | 0m37.21s || -0m01.81s | -4.86%
0m31.50s | Specific/X25519/C64/freeze | 0m33.24s || -0m01.74s | -5.23%
0m24.99s | Specific/X25519/C64/fecarry | 0m26.31s || -0m01.32s | -5.01%
0m22.65s | Specific/X25519/C64/fesub | 0m23.72s || -0m01.07s | -4.51%
0m45.75s | Specific/solinas32_2e255m765_13limbs/Synthesis | 0m45.58s || +0m00.17s | +0.37%
0m39.59s | Specific/NISTP256/AMD64/fesub | 0m40.09s || -0m00.50s | -1.24%
0m36.92s | Specific/solinas32_2e255m765_12limbs/Synthesis | 0m36.64s || +0m00.28s | +0.76%
0m28.51s | Specific/NISTP256/AMD64/feopp | 0m29.46s || -0m00.94s | -3.22%
0m25.50s | Specific/NISTP256/AMD64/fenz | 0m26.41s || -0m00.91s | -3.44%
0m20.93s | Specific/X25519/C64/feadd | 0m21.41s || -0m00.48s | -2.24%
0m12.55s | Specific/NISTP256/AMD64/Synthesis | 0m12.54s || +0m00.01s | +0.07%
0m10.37s | Specific/X25519/C64/Synthesis | 0m10.30s || +0m00.06s | +0.67%
0m07.18s | Compilers/Z/Bounds/Pipeline/Definition | 0m07.22s || -0m00.04s | -0.55%
0m01.72s | Compilers/Z/Bounds/Pipeline/ReflectiveTactics | 0m01.58s || +0m00.13s | +8.86%
0m01.67s | Specific/Framework/SynthesisFramework | 0m01.72s || -0m00.05s | -2.90%
0m01.19s | Compilers/Z/Bounds/Pipeline | 0m01.04s || +0m00.14s | +14.42%
|
|
|
|
|
| |
Also add a dummy option about renaming binders, to be used in an
upcoming commit.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hopefully this will help speed up some primes, like:
```
tactic local total calls max
────────────────────────────────────────┴──────┴──────┴───────┴─────────┘
─synthesize_with_carry ----------------- 0.0% 100.0% 1 4158.848s
└Pipeline.refine_reflectively_gen ------ 0.0% 99.0% 1 4117.688s
└ReflectiveTactics.do_reflective_pipelin 0.0% 98.7% 1 4106.804s
└ReflectiveTactics.solve_side_conditions 0.0% 98.7% 1 4106.580s
├─UnifyAbstractReflexivity.unify_transf 73.7% 74.5% 8 2283.572s
├─ReflectiveTactics.handle_boundedness_ 0.0% 18.8% 1 781.616s
│└intros [a b] ------------------------ 18.4% 18.4% 29 33.640s
└─ReflectiveTactics.do_reify ---------- 0.0% 5.4% 1 225.672s
└Reify.do_reify_abs_goal ------------- 4.7% 4.7% 2 196.164s
└Reify.do_reifyf_goal ---------------- 4.7% 4.7% 270 102.004s
src/Specific/solinas32_2e512m569/fesquare (real: 5415.91, user: 5115.86, sys: 27.59, mem: 33162744 ko)
```
and
```
tactic local total calls max
────────────────────────────────────────┴──────┴──────┴───────┴─────────┘
─Pipeline.refine_reflectively_gen ------ 0.0% 97.8% 1 437.088s
├─ReflectiveTactics.do_reflective_pipel 0.0% 94.0% 1 420.396s
│└ReflectiveTactics.solve_side_conditio 0.0% 94.0% 1 420.232s
│ ├─ReflectiveTactics.handle_boundednes 0.0% 63.3% 1 283.096s
│ │└intros [a b] ---------------------- 61.9% 61.9% 39 10.288s
│ ├─ReflectiveTactics.do_reify -------- 0.1% 15.8% 1 70.528s
│ │ ├─Reify.do_reify_abs_goal --------- 12.6% 12.7% 2 56.572s
│ │ │└Reify.do_reifyf_goal ------------ 12.5% 12.5% 180 30.120s
│ │ │└eexact -------------------------- 3.9% 3.9% 180 0.132s
│ │ └─Reify.Reify_rhs_gen ------------- 0.2% 2.9% 1 12.836s
│ └─UnifyAbstractReflexivity.unify_tran 12.6% 14.5% 8 23.836s
└─Glue.refine_to_reflective_glue' ----- 0.0% 3.7% 1 16.692s
└Glue.zrange_to_reflective ----------- 0.0% 3.7% 1 16.372s
└Glue.zrange_to_reflective_goal ------ 0.4% 2.9% 1 13.084s
└pose proof (pf : Interpretation. 2.5% 2.5% 1 11.144s
─synthesize ---------------------------- 0.0% 2.2% 1 9.988s
└IntegrationTestTemporaryMiscCommon.do_r 0.0% 2.2% 1 9.904s
└change G' ----------------------------- 2.2% 2.2% 1 9.812s
src/Specific/solinas32_2e521m1/femul (real: 1165.84, user: 878.68, sys: 9.32, mem: 11218492 ko)
```
and
```
tactic local total calls max
────────────────────────────────────────┴──────┴──────┴───────┴─────────┘
─Pipeline.refine_reflectively_gen ------ 0.0% 97.6% 1 118.496s
├─ReflectiveTactics.do_reflective_pipel 0.0% 93.7% 1 113.844s
│└ReflectiveTactics.solve_side_conditio 0.0% 93.7% 1 113.772s
│ ├─ReflectiveTactics.handle_boundednes 0.0% 52.8% 1 64.160s
│ │└intros [a b] ---------------------- 50.9% 50.9% 29 2.420s
│ ├─ReflectiveTactics.do_reify -------- 0.2% 23.7% 1 28.840s
│ │ ├─Reify.do_reify_abs_goal --------- 17.8% 17.9% 2 21.792s
│ │ │└Reify.do_reifyf_goal ------------ 17.6% 17.7% 135 10.952s
│ │ │└eexact -------------------------- 5.4% 5.4% 135 0.064s
│ │ └─Reify.Reify_rhs_gen ------------- 0.4% 5.3% 1 6.452s
│ └─UnifyAbstractReflexivity.unify_tran 14.0% 16.4% 8 8.544s
│ └unify (constr) (constr) ----------- 2.0% 2.0% 6 1.460s
└─Glue.refine_to_reflective_glue' ----- 0.0% 3.8% 1 4.644s
└Glue.zrange_to_reflective ----------- 0.0% 3.7% 1 4.472s
└Glue.zrange_to_reflective_goal ------ 0.6% 2.8% 1 3.392s
└pose proof (pf : Interpretation. 2.1% 2.1% 1 2.564s
─synthesize_with_carry ----------------- 0.0% 2.4% 1 2.968s
└IntegrationTestTemporaryMiscCommon.do_r 0.0% 2.4% 1 2.920s
└change G' ----------------------------- 2.4% 2.4% 1 2.868s
src/Specific/solinas32_2e255m765/femul (real: 307.37, user: 255.97, sys: 0.81, mem: 4050732 ko)
```
```
A bit of testing suggests that it is, indeed, much better:
```
tactic local total calls max
────────────────────────────────────────┴──────┴──────┴───────┴─────────┘
─Pipeline.refine_reflectively_gen ------ 0.0% 95.5% 1 60.100s
├─ReflectiveTactics.do_reflective_pipel 0.0% 88.7% 1 55.764s
│└ReflectiveTactics.solve_side_conditio 0.0% 88.3% 1 55.556s
│ ├─ReflectiveTactics.do_reify -------- 0.0% 48.3% 1 30.412s
│ │└Reify.Reify_rhs_gen --------------- 1.2% 47.8% 1 30.048s
│ │ ├─Reify.do_reify_abs_goal --------- 36.0% 36.3% 2 22.804s
│ │ │└Reify.do_reifyf_goal ------------ 35.4% 35.6% 117 11.708s
│ │ │└eexact -------------------------- 10.9% 10.9% 117 0.080s
│ │ ├─rewrite H ----------------------- 2.9% 2.9% 1 1.820s
│ │ └─prove_interp_compile_correct ---- 0.0% 2.7% 1 1.724s
│ │ └rewrite ?EtaInterp.InterpExprEta 2.5% 2.5% 1 1.584s
│ └─ReflectiveTactics.solve_post_reifie 0.1% 40.0% 1 25.144s
│ └UnifyAbstractReflexivity.unify_tran 32.0% 37.4% 8 10.584s
│ └unify (constr) (constr) ----------- 4.5% 4.5% 6 1.504s
└─Glue.refine_to_reflective_glue' ----- 0.0% 6.9% 1 4.336s
└Glue.zrange_to_reflective ----------- 0.0% 6.4% 1 4.056s
└Glue.zrange_to_reflective_goal ------ 1.3% 4.9% 1 3.104s
└pose proof (pf : Interpretation. 3.5% 3.5% 1 2.192s
─synthesize ---------------------------- 0.0% 4.5% 1 2.800s
└IntegrationTestTemporaryMiscCommon.do_r 0.0% 4.3% 1 2.720s
└change G' ----------------------------- 4.2% 4.2% 1 2.652s
src/Specific/solinas32_2e255m765_13limbs/femul (real: 178.02, user: 176.01, sys: 0.38, mem: 1713136 ko)
```
and
```
tactic local total calls max
────────────────────────────────────────┴──────┴──────┴───────┴─────────┘
─Pipeline.refine_reflectively_gen ------ 0.0% 95.8% 1 48.612s
├─ReflectiveTactics.do_reflective_pipel -0.0% 89.1% 1 45.204s
│└ReflectiveTactics.solve_side_conditio 0.0% 88.8% 1 45.040s
│ ├─ReflectiveTactics.do_reify -------- 0.0% 50.7% 1 25.720s
│ │└Reify.Reify_rhs_gen --------------- 1.4% 50.1% 1 25.400s
│ │ ├─Reify.do_reify_abs_goal --------- 37.3% 37.5% 2 19.012s
│ │ │└Reify.do_reifyf_goal ------------ 36.6% 36.9% 108 9.628s
│ │ │└eexact -------------------------- 11.4% 11.4% 108 0.072s
│ │ ├─prove_interp_compile_correct ---- 0.0% 2.9% 1 1.492s
│ │ │└rewrite ?EtaInterp.InterpExprEta 2.6% 2.6% 1 1.344s
│ │ └─rewrite H ----------------------- 2.9% 2.9% 1 1.460s
│ └─ReflectiveTactics.solve_post_reifie 0.1% 38.1% 1 19.320s
│ └UnifyAbstractReflexivity.unify_tran 30.2% 35.2% 8 7.924s
│ └unify (constr) (constr) ----------- 4.2% 4.2% 6 1.060s
└─Glue.refine_to_reflective_glue' ----- 0.0% 6.7% 1 3.408s
└Glue.zrange_to_reflective ----------- 0.0% 6.2% 1 3.140s
└Glue.zrange_to_reflective_goal ------ 1.3% 4.7% 1 2.388s
└pose proof (pf : Interpretation. 3.2% 3.2% 1 1.644s
─synthesize ---------------------------- 0.0% 4.2% 1 2.136s
└IntegrationTestTemporaryMiscCommon.do_r 0.0% 4.1% 1 2.072s
└change G' ----------------------------- 4.0% 4.0% 1 2.008s
src/Specific/solinas32_2e255m765_12limbs/femul (real: 153.02, user: 151.06, sys: 0.37, mem: 1557920 ko)
```
|
| |
|
|
|
|
| |
Now we no longer bundle the side-condition solver with the reifier
|
|
|
|
|
|
| |
In the full synthesis, I expect that we will first reify the various Z
operations, and then manually compose them with carry, and then after
that run the pipeline.
|
|
|
|
|
| |
They should not depend on v', and I want to be able to package them
separately for the full synthesis pipeline.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After | File Name | Before || Change
---------------------------------------------------------------------------------------
10m34.32s | Total | 11m10.14s || -0m35.81s
---------------------------------------------------------------------------------------
0m04.75s | Compilers/Z/Bounds/Pipeline/Definition | 0m41.89s || -0m37.14s
1m24.64s | Specific/IntegrationTestKaratsubaMul | 1m20.20s || +0m04.43s
1m59.10s | Specific/X25519/C64/ladderstep | 2m00.27s || -0m01.17s
1m14.55s | Specific/IntegrationTestLadderstep130 | 1m13.12s || +0m01.42s
0m49.89s | Specific/X25519/C32/femul | 0m51.34s || -0m01.45s
0m26.72s | Specific/X25519/C32/fesquare | 0m27.79s || -0m01.07s
1m51.04s | Specific/NISTP256/AMD64/femul | 1m50.92s || +0m00.11s
0m25.48s | Specific/IntegrationTestMontgomeryP256_128 | 0m24.72s || +0m00.76s
0m18.54s | Specific/NISTP256/AMD64/fesub | 0m18.60s || -0m00.06s
0m15.57s | Specific/NISTP256/AMD64/feadd | 0m15.78s || -0m00.20s
0m14.93s | Specific/NISTP256/AMD64/feopp | 0m15.09s || -0m00.16s
0m12.13s | Specific/IntegrationTestMontgomeryP256_128_Sub | 0m12.34s || -0m00.20s
0m11.78s | Specific/IntegrationTestMontgomeryP256_128_Add | 0m12.35s || -0m00.57s
0m11.06s | Specific/IntegrationTestMontgomeryP256_128_Opp | 0m11.24s || -0m00.17s
0m10.16s | Specific/X25519/C64/femul | 0m10.18s || -0m00.01s
0m09.78s | Specific/NISTP256/AMD64/fenz | 0m10.10s || -0m00.32s
0m09.06s | Specific/IntegrationTestMontgomeryP256_128_Nonzero | 0m09.26s || -0m00.19s
0m08.63s | Specific/IntegrationTestSub | 0m08.32s || +0m00.31s
0m07.84s | Specific/IntegrationTestFreeze | 0m07.87s || -0m00.03s
0m07.27s | Specific/X25519/C64/fesquare | 0m07.25s || +0m00.01s
0m00.80s | Compilers/Z/Bounds/Pipeline/ReflectiveTactics | 0m00.81s || -0m00.01s
0m00.61s | Compilers/Z/Bounds/Pipeline | 0m00.70s || -0m00.08s
|
| |
|
|
|
|
| |
This makes it easier to extend the bounds analysis framework.
|
|
|
|
|
| |
Hopefully this will help with extending the framework. Also remove
[t_map4]; it was unused and didn't match the types of the other [t_mapn]s.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This closes #239
After | File Name | Before || Change
---------------------------------------------------------------------------------------
10m04.12s | Total | 10m05.68s || -0m01.55s
---------------------------------------------------------------------------------------
2m45.12s | Specific/X25519/C64/ladderstep | 2m48.45s || -0m03.32s
1m06.06s | Specific/IntegrationTestLadderstep130 | 1m04.76s || +0m01.29s
2m03.02s | Specific/NISTP256/AMD64/femul | 2m02.29s || +0m00.72s
1m20.35s | Specific/IntegrationTestKaratsubaMul | 1m20.10s || +0m00.25s
0m25.29s | Specific/IntegrationTestMontgomeryP256_128 | 0m25.17s || +0m00.11s
0m16.66s | Specific/IntegrationTestFreeze | 0m16.18s || +0m00.48s
0m14.81s | Specific/NISTP256/AMD64/feadd | 0m15.09s || -0m00.27s
0m14.58s | Specific/NISTP256/AMD64/fesub | 0m14.48s || +0m00.09s
0m13.23s | Specific/X25519/C64/femul | 0m13.54s || -0m00.30s
0m12.00s | Specific/NISTP256/AMD64/feopp | 0m12.07s || -0m00.07s
0m11.25s | Specific/IntegrationTestMontgomeryP256_128_Add | 0m11.44s || -0m00.18s
0m11.23s | Specific/IntegrationTestMontgomeryP256_128_Sub | 0m11.19s || +0m00.04s
0m11.06s | Specific/IntegrationTestSub | 0m11.24s || -0m00.17s
0m10.39s | Specific/IntegrationTestMontgomeryP256_128_Opp | 0m10.41s || -0m00.01s
0m09.85s | Specific/X25519/C64/fesquare | 0m09.75s || +0m00.09s
0m09.19s | Specific/NISTP256/AMD64/fenz | 0m09.04s || +0m00.15s
0m08.76s | Specific/IntegrationTestMontgomeryP256_128_Nonzero | 0m09.11s || -0m00.34s
0m00.69s | Compilers/Z/Bounds/Pipeline/ReflectiveTactics | 0m00.80s || -0m00.11s
0m00.59s | Compilers/Z/Bounds/Pipeline | 0m00.57s || +0m00.02s
|
| |
|
| |
|
|
|
|
|
|
| |
This is https://coq.inria.fr/bugs/show_bug.cgi?id=5615, Ltac should be
able to bind references and not just names, in which names are slippery,
slippery objects.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This seemes to be making it slower though....
|
| |
|
|
|
|
| |
Also reimplement it with a shift and a mask
|
| |
|
| |
|
|
|
|
|
| |
It now knows how to deal with _ + 0 involving words, and also eliminates
IdWithAlt when both the first argument and the output are the same size word.
|
|
|
|
| |
This will (hopefully) be useful for karatsuba.
|
|
|
|
|
| |
What remains (beyond the equality-semidecider) is to propogate the side
conditions through the boundedness finder.
|
|
|
|
| |
Currently, it doesn't do anything special
|
|
|
|
| |
This is needed to make the typechecker not loop in some cases
|
|
|
|
|
|
| |
This fixes all of the private-names warnings emitted by
compiling fiat-crypto with https://github.com/coq/coq/pull/268 (minus
the ones in coqprime, which I didn't touch).
|
|
|
|
| |
This closes #186
|
|
|
|
| |
No idea why it's valid both ways, but apparently it is.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After | File Name | Before || Change
--------------------------------------------------------------------------------
4m56.46s | Total | 4m54.81s || +0m01.64s
--------------------------------------------------------------------------------
2m19.22s | Specific/IntegrationTestLadderstep | 2m18.29s || +0m00.93s
0m53.92s | Specific/IntegrationTestLadderstep130 | 0m53.83s || +0m00.09s
0m26.24s | Compilers/Z/ArithmeticSimplifierWf | 0m25.65s || +0m00.58s
0m24.93s | Compilers/Z/ArithmeticSimplifierInterp | 0m24.87s || +0m00.05s
0m15.38s | Specific/IntegrationTestFreeze | 0m15.97s || -0m00.58s
0m11.83s | Specific/IntegrationTestMul | 0m11.82s || +0m00.00s
0m10.57s | Specific/IntegrationTestSub | 0m10.50s || +0m00.07s
0m09.18s | Specific/IntegrationTestSquare | 0m09.07s || +0m00.10s
0m02.80s | Compilers/Z/Bounds/Pipeline/Definition | 0m02.57s || +0m00.23s
0m00.78s | Compilers/Z/Bounds/Pipeline/ReflectiveTactics | 0m00.64s || +0m00.14s
0m00.64s | Compilers/Z/ArithmeticSimplifier | 0m00.66s || -0m00.02s
0m00.62s | Compilers/Z/Bounds/Pipeline | 0m00.59s || +0m00.03s
0m00.35s | Compilers/Z/ArithmeticSimplifierUtil | 0m00.36s || -0m00.01s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After | File Name | Before || Change
---------------------------------------------------------------------------------------
6m14.04s | Total | 6m23.68s || -0m09.63s
---------------------------------------------------------------------------------------
0m26.28s | Compilers/Z/ArithmeticSimplifierWf | 0m48.67s || -0m22.39s
0m25.64s | Compilers/Z/ArithmeticSimplifierInterp | 0m14.14s || +0m11.50s
2m17.60s | Specific/IntegrationTestLadderstep | 2m17.90s || -0m00.30s
0m56.48s | Compilers/Z/Named/RewriteAddToAdcInterp | 0m55.76s || +0m00.71s
0m54.26s | Specific/IntegrationTestLadderstep130 | 0m54.53s || -0m00.27s
0m15.89s | Specific/IntegrationTestFreeze | 0m15.07s || +0m00.82s
0m11.69s | Specific/IntegrationTestMul | 0m11.78s || -0m00.08s
0m10.62s | Specific/ArithmeticSynthesisTest | 0m10.59s || +0m00.02s
0m10.54s | Specific/IntegrationTestSub | 0m10.55s || -0m00.01s
0m08.98s | Specific/IntegrationTestSquare | 0m09.04s || -0m00.05s
0m06.05s | Arithmetic/Saturated | 0m06.02s || +0m00.03s
0m03.04s | Compilers/Z/RewriteAddToAdcInterp | 0m03.00s || +0m00.04s
0m02.60s | Compilers/Z/Bounds/Pipeline/Definition | 0m02.25s || +0m00.35s
0m01.52s | Util/ZUtil/AddGetCarry | 0m01.50s || +0m00.02s
0m00.74s | Arithmetic/MontgomeryReduction/WordByWord/Definition | 0m00.71s || +0m00.03s
0m00.62s | Compilers/Z/Bounds/Pipeline/ReflectiveTactics | 0m00.78s || -0m00.16s
0m00.59s | Compilers/Z/ArithmeticSimplifier | 0m00.42s || +0m00.17s
0m00.57s | Compilers/Z/Bounds/Pipeline | 0m00.60s || -0m00.03s
0m00.34s | Compilers/Z/ArithmeticSimplifierUtil | 0m00.37s || -0m00.02s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After | File Name | Before || Change
-------------------------------------------------------------------------------------------------
12m37.09s | Total | 12m23.52s || +0m13.56s
-------------------------------------------------------------------------------------------------
0m12.09s | Compilers/Z/Syntax/Equality | 0m06.70s || +0m05.38s
0m56.82s | Compilers/Z/Named/RewriteAddToAdcInterp | 0m54.12s || +0m02.70s
2m20.25s | Specific/IntegrationTestLadderstep | 2m18.79s || +0m01.46s
0m13.83s | Compilers/Z/ArithmeticSimplifierInterp | 0m12.56s || +0m01.26s
1m38.90s | Spec/Test/X25519 | 1m38.46s || +0m00.43s
0m53.83s | Specific/IntegrationTestLadderstep130 | 0m53.93s || -0m00.10s
0m48.70s | Compilers/Z/ArithmeticSimplifierWf | 0m49.10s || -0m00.39s
0m39.72s | Spec/Ed25519 | 0m39.65s || +0m00.07s
0m22.19s | Primitives/EdDSARepChange | 0m22.08s || +0m00.11s
0m19.69s | Compilers/Named/MapCastWf | 0m19.63s || +0m00.06s
0m15.09s | Specific/IntegrationTestFreeze | 0m15.28s || -0m00.18s
0m11.78s | Specific/IntegrationTestMul | 0m11.61s || +0m00.16s
0m10.54s | Specific/IntegrationTestSub | 0m10.48s || +0m00.05s
0m10.46s | Specific/ArithmeticSynthesisTest | 0m10.47s || -0m00.00s
0m09.30s | Util/ZUtil | 0m09.21s || +0m00.08s
0m09.15s | Compilers/Named/MapCastInterp | 0m09.19s || -0m00.03s
0m09.14s | Specific/IntegrationTestSquare | 0m09.28s || -0m00.13s
0m08.82s | Arithmetic/MontgomeryReduction/Proofs | 0m08.78s || +0m00.04s
0m08.46s | LegacyArithmetic/ArchitectureToZLikeProofs | 0m08.38s || +0m00.08s
0m08.23s | LegacyArithmetic/Double/Proofs/Multiply | 0m08.16s || +0m00.07s
0m07.80s | Arithmetic/Core | 0m07.71s || +0m00.08s
0m07.70s | LegacyArithmetic/Double/Proofs/ShiftRightDoubleWordImmediate | 0m07.78s || -0m00.08s
0m06.72s | LegacyArithmetic/Double/Proofs/SpreadLeftImmediate | 0m06.79s || -0m00.07s
0m06.37s | Util/FixedWordSizesEquality | 0m06.33s || +0m00.04s
0m06.06s | Arithmetic/Saturated | 0m05.84s || +0m00.21s
0m05.43s | LegacyArithmetic/Double/Proofs/RippleCarryAddSub | 0m05.38s || +0m00.04s
0m05.41s | LegacyArithmetic/Pow2BaseProofs | 0m05.31s || +0m00.10s
0m05.05s | Specific/ArithmeticSynthesisTest130 | 0m05.09s || -0m00.04s
0m04.98s | Compilers/Z/Bounds/InterpretationLemmas/PullCast | 0m04.80s || +0m00.18s
0m03.94s | Arithmetic/BarrettReduction/HAC | 0m03.84s || +0m00.10s
0m03.79s | Util/ForLoop/Unrolling | 0m03.80s || -0m00.00s
0m03.45s | LegacyArithmetic/InterfaceProofs | 0m03.40s || +0m00.05s
0m03.23s | Arithmetic/BarrettReduction/Generalized | 0m03.07s || +0m00.16s
0m03.02s | Specific/FancyMachine256/Montgomery | 0m03.20s || -0m00.18s
0m03.00s | Compilers/Z/RewriteAddToAdcInterp | 0m02.94s || +0m00.06s
0m02.98s | Arithmetic/ModularArithmeticTheorems | 0m03.02s || -0m00.04s
0m02.94s | LegacyArithmetic/ZBoundedZ | 0m02.88s || +0m00.06s
0m02.82s | Specific/FancyMachine256/Barrett | 0m02.82s || +0m00.00s
0m02.64s | LegacyArithmetic/Double/Proofs/ShiftLeft | 0m02.54s || +0m00.10s
0m02.63s | LegacyArithmetic/Double/Proofs/Decode | 0m02.53s || +0m00.10s
0m02.62s | LegacyArithmetic/Double/Proofs/ShiftRight | 0m02.72s || -0m00.10s
0m02.56s | Compilers/Z/Bounds/InterpretationLemmas/IsBoundedBy | 0m02.25s || +0m00.31s
0m02.34s | Compilers/Z/Bounds/Relax | 0m02.40s || -0m00.06s
0m02.26s | LegacyArithmetic/BarretReduction | 0m02.25s || +0m00.00s
0m02.21s | Compilers/Z/Bounds/Pipeline/Definition | 0m02.13s || +0m00.08s
0m02.10s | Util/WordUtil | 0m02.07s || +0m00.03s
0m02.00s | Util/ForLoop/InvariantFramework | 0m01.98s || +0m00.02s
0m01.86s | Specific/FancyMachine256/Core | 0m01.82s || +0m00.04s
0m01.82s | Util/ZUtil/AddGetCarry | 0m01.61s || +0m00.20s
0m01.60s | Arithmetic/PrimeFieldTheorems | 0m01.45s || +0m00.15s
0m01.56s | Arithmetic/BarrettReduction/Wikipedia | 0m01.50s || +0m00.06s
0m01.55s | LegacyArithmetic/MontgomeryReduction | 0m01.53s || +0m00.02s
0m01.25s | Util/NumTheoryUtil | 0m00.96s || +0m00.29s
0m01.03s | Compilers/Z/RewriteAddToAdcWf | 0m01.02s || +0m00.01s
0m00.99s | Arithmetic/Karatsuba | 0m00.81s || +0m00.17s
0m00.98s | LegacyArithmetic/Double/Proofs/BitwiseOr | 0m00.99s || -0m00.01s
0m00.98s | Util/ZUtil/Pow2Mod | 0m00.97s || +0m00.01s
0m00.90s | LegacyArithmetic/Double/Proofs/LoadImmediate | 0m00.95s || -0m00.04s
0m00.80s | LegacyArithmetic/BaseSystemProofs | 0m00.88s || -0m00.07s
0m00.80s | Util/ZUtil/Testbit | 0m00.74s || +0m00.06s
0m00.79s | Compilers/Z/Bounds/Pipeline/ReflectiveTactics | 0m00.65s || +0m00.14s
0m00.76s | Compilers/Z/CNotations | 0m00.78s || -0m00.02s
0m00.76s | Util/ZUtil/Stabilization | 0m00.64s || +0m00.12s
0m00.68s | Util/IterAssocOp | 0m00.69s || -0m00.00s
0m00.66s | Compilers/Z/Syntax/Util | 0m00.66s || +0m00.00s
0m00.66s | Compilers/MapCastByDeBruijnInterp | 0m00.78s || -0m00.12s
0m00.64s | Compilers/Z/CommonSubexpressionElimination | 0m00.58s || +0m00.06s
0m00.63s | LegacyArithmetic/Interface | 0m00.56s || +0m00.06s
0m00.62s | Compilers/Z/Bounds/Pipeline | 0m00.53s || +0m00.08s
0m00.62s | Arithmetic/MontgomeryReduction/WordByWord/Definition | 0m00.67s || -0m00.05s
0m00.62s | LegacyArithmetic/Double/Proofs/SelectConditional | 0m00.58s || +0m00.04s
0m00.55s | Compilers/MapCastByDeBruijnWf | 0m00.62s || -0m00.06s
0m00.52s | Compilers/Z/Reify | 0m00.56s || -0m00.04s
0m00.52s | Compilers/Z/JavaNotations | 0m00.50s || +0m00.02s
0m00.52s | LegacyArithmetic/ZBounded | 0m00.54s || -0m00.02s
0m00.51s | Compilers/Z/Bounds/RoundUpLemmas | 0m00.44s || +0m00.07s
0m00.51s | Compilers/Z/Bounds/Pipeline/Glue | 0m00.47s || +0m00.04s
0m00.50s | Compilers/Z/Syntax | 0m00.44s || +0m00.06s
0m00.50s | Compilers/Z/ArithmeticSimplifier | 0m00.47s || +0m00.03s
0m00.50s | LegacyArithmetic/Double/Core | 0m00.53s || -0m00.03s
0m00.49s | Compilers/Z/Bounds/MapCastByDeBruijnInterp | 0m00.48s || +0m00.01s
0m00.48s | Arithmetic/ModularArithmeticPre | 0m00.47s || +0m00.01s
0m00.47s | Util/NUtil | 0m00.51s || -0m00.04s
0m00.47s | Compilers/Z/Bounds/MapCastByDeBruijnWf | 0m00.40s || +0m00.06s
0m00.47s | Spec/EdDSA | 0m00.51s || -0m00.04s
0m00.46s | Compilers/Z/Bounds/InterpretationLemmas/Tactics | 0m00.48s || -0m00.01s
0m00.46s | Compilers/Z/Named/RewriteAddToAdc | 0m00.49s || -0m00.02s
0m00.45s | Spec/ModularArithmetic | 0m00.45s || +0m00.00s
0m00.45s | LegacyArithmetic/Double/Proofs/ShiftLeftRightTactic | 0m00.54s || -0m00.09s
0m00.44s | Arithmetic/MontgomeryReduction/Definition | 0m00.45s || -0m00.01s
0m00.44s | Util/ForLoop/Tests | 0m00.43s || +0m00.01s
0m00.44s | Compilers/Z/MapCastByDeBruijn | 0m00.49s || -0m00.04s
0m00.44s | LegacyArithmetic/ArchitectureToZLike | 0m00.44s || +0m00.00s
0m00.43s | LegacyArithmetic/BaseSystem | 0m00.41s || +0m00.02s
0m00.43s | Compilers/Z/InlineInterp | 0m00.36s || +0m00.07s
0m00.43s | Compilers/Z/MapCastByDeBruijnWf | 0m00.40s || +0m00.02s
0m00.42s | LegacyArithmetic/Pow2Base | 0m00.48s || -0m00.06s
0m00.42s | Compilers/Z/CommonSubexpressionEliminationWf | 0m00.40s || +0m00.01s
0m00.42s | Compilers/Z/Bounds/Interpretation | 0m00.46s || -0m00.04s
0m00.42s | Specific/IntegrationTestDisplayCommon | 0m00.36s || +0m00.06s
0m00.42s | Compilers/Z/RewriteAddToAdc | 0m00.41s || +0m00.01s
0m00.42s | Util/ZUtil/Morphisms | 0m00.38s || +0m00.03s
0m00.42s | Compilers/Z/InlineWf | 0m00.44s || -0m00.02s
0m00.41s | Compilers/Z/CommonSubexpressionEliminationInterp | 0m00.39s || +0m00.01s
0m00.41s | Compilers/Z/HexNotationConstants | 0m00.38s || +0m00.02s
0m00.40s | Compilers/Z/Bounds/MapCastByDeBruijn | 0m00.36s || +0m00.04s
0m00.39s | Compilers/Z/Named/DeadCodeElimination | 0m00.36s || +0m00.03s
0m00.38s | Compilers/Z/Named/DeadCodeEliminationInterp | 0m00.40s || -0m00.02s
0m00.37s | Compilers/Z/MapCastByDeBruijnInterp | 0m00.40s || -0m00.03s
0m00.36s | Compilers/Z/OpInversion | 0m00.36s || +0m00.00s
0m00.36s | Compilers/Z/FoldTypes | 0m00.36s || +0m00.00s
0m00.35s | Compilers/Z/Bounds/Pipeline/OutputType | 0m00.33s || +0m00.01s
0m00.34s | Compilers/Z/BinaryNotationConstants | 0m00.36s || -0m00.01s
0m00.34s | Compilers/Z/Inline | 0m00.41s || -0m00.06s
0m00.34s | Compilers/Z/ArithmeticSimplifierUtil | 0m00.35s || -0m00.00s
0m00.31s | Util/ZUtil/Tactics/Ztestbit | 0m00.30s || +0m00.01s
0m00.31s | Util/ZUtil/Tactics | 0m00.30s || +0m00.01s
0m00.30s | Util/ZUtil/Definitions | 0m00.27s || +0m00.02s
0m00.30s | Util/ZUtil/Zselect | 0m00.30s || +0m00.00s
|
|
|
|
|
|
|
|
|
|
|
| |
This closes #171.
It's unfortunately a bit fragile, and takes a really long time (about
60s) to prove correct, because Coq is bad at deep dependent pattern
matching.
We enable a-normal form for the freeze test, because the rewriter only
works when the arguments to adc are var or const.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For now, the only option is anormal-form. This will be needed for
freeze, because the adc optimization doesn't work when not in anf.
|
| |
|
|
|
|
| |
Needed to remove some multiplication by 0
|
| |
|