Commit 2f8288d
New mode solver supporting multiple axes with morphisms (oxcaml#1760)
* new solver
* better printing
* remove solver_mono from mode_intf
* document solver_polarized
* address some comments
* address more comments
* rename "constrain" to "zap"
* rename constrain_legacy
* make depend
* make fmt
* remove _intf.ml
* use comonadic in env
* Add Allow_Disallow, restricting types of Obj.magic
* Fix type errors discovered in previous commit
* Use Allow_disallow in more places
* show soundness of allow_disallow
* Prevent chance of forgetting the "sound" version
* minor changes
* Remove the Solver_polarized.morph type (#1)
* adjust comments
* remove address_of
* more comments
* make [log] non-optional
* better comments
* More fixes
* bind temp results
* add C.eq_morph
* set_append_changes
* compare Value with Alloc
* more comments
* warn about infinite lattices
* Small simplification to set_obj
* example of variable cycle
* say "uniqueness_op" because monotonicity
* rename set to lift
* exhaustive match
* inline unusual helper functions
* fix rebase issues
* Small simplification
* some renaming and comments
* more comment
* remove un-needed assertions.
* fix chamelon
* make fmt
* add file header comments
* exhausive match
* use ref for morph counting
* Reorder in maybe_compose
* switch from lift to map
* avoid caml_curry
* dedup in join and meet
* better error message
* fix tests
* comments
* inlining newvar_above/blow, and more uncurrying
* remove ?logging
* make sure arity is correct and avoid closure allocation
* remove morphism counting
* force inline to avoid caml_applyX
* address comments
* rename and phy eq in eq_morphvar
* Small improvement to [eq_morphvar]
* better comments about lattices
* don't hint to use exclave when useless
* fix type_argument
* comments about inner_alloc_mode
* magic for eq_obj and eq_morph
* allow/disallow for Value.List
* Add comment about actual vs expected
* comment mode_argument
* eq_morph doesn't take dst
* Magic_equal
* better comment about adjunction
* abstraction in ctype
* comment close_over and partial_apply
* fix eta expansion bug
* Alloc.Const.t is record, not tuple
* Simplify interface to [close_over]
* Generalize the type of close_over
* fixed definition of partial adjoint
* better comment about partial adjoint
* even better comments
* make fmt
* bootstrap
---------
Co-authored-by: Richard Eisenberg <reisenberg@janestreet.com>
Co-authored-by: Richard Eisenberg <rae@richarde.dev>1 parent 2933994 commit 2f8288d
File tree
46 files changed
+3994
-2020
lines changed- chamelon
- native_toplevel
- ocaml
- boot
- compilerlibs
- lambda
- otherlibs/dynlink
- testsuite/tests
- formatting
- typing-local
- toplevel/native
- typing
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+3994
-2020
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | | - | |
| 37 | + | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | | - | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | | - | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
95 | | - | |
96 | | - | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | 104 | | |
102 | | - | |
| 105 | + | |
103 | 106 | | |
104 | | - | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
249 | 252 | | |
250 | 253 | | |
251 | 254 | | |
252 | | - | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
257 | | - | |
| 260 | + | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1114 | 1114 | | |
1115 | 1115 | | |
1116 | 1116 | | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1117 | 1120 | | |
1118 | 1121 | | |
1119 | 1122 | | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
1120 | 1126 | | |
1121 | 1127 | | |
1122 | | - | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1123 | 1133 | | |
1124 | 1134 | | |
1125 | 1135 | | |
| |||
1507 | 1517 | | |
1508 | 1518 | | |
1509 | 1519 | | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
1510 | 1530 | | |
1511 | 1531 | | |
1512 | 1532 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
| |||
0 commit comments