-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3293 from mtzguido/3292
Partial fix for 3292
- Loading branch information
Showing
6 changed files
with
188 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module Bug3292 | ||
|
||
#set-options "--print_implicits" | ||
|
||
let op_Plus #a (x y : a) = (x,y) | ||
let op_Minus #a (x y : a) = (x,y) | ||
let op_Slash #a (x y : a) = (x,y) | ||
let op_Greater #a (x y : a) = (x,y) | ||
let op_Less #a (x y : a) = (x,y) | ||
let op_GreaterEquals #a (x y : a) = (x,y) | ||
let op_LessEquals #a (x y : a) = (x,y) | ||
|
||
let _ = 1 + 1 | ||
let _ = 1 - 1 | ||
let _ = 1 / 1 | ||
let _ = 1 > 1 | ||
let _ = 1 < 1 | ||
let _ = 1 >= 1 | ||
let _ = 1 <= 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
Module after desugaring: | ||
module Bug3292 | ||
Declarations: [ | ||
#set-options "--print_implicits" | ||
let op_Plus #a x y = x, y | ||
let op_Minus #a x y = x, y | ||
let op_Slash #a x y = x, y | ||
let op_Greater #a x y = x, y | ||
let op_Less #a x y = x, y | ||
let op_GreaterEquals #a x y = x, y | ||
let op_LessEquals #a x y = x, y | ||
private | ||
let _ = 1 + 1 | ||
private | ||
let _ = 1 - 1 | ||
private | ||
let _ = 1 / 1 | ||
private | ||
let _ = 1 > 1 | ||
private | ||
let _ = 1 < 1 | ||
private | ||
let _ = 1 >= 1 | ||
private | ||
let _ = 1 <= 1 | ||
] | ||
Exports: [ | ||
#set-options "--print_implicits" | ||
let op_Plus #a x y = x, y | ||
let op_Minus #a x y = x, y | ||
let op_Slash #a x y = x, y | ||
let op_Greater #a x y = x, y | ||
let op_Less #a x y = x, y | ||
let op_GreaterEquals #a x y = x, y | ||
let op_LessEquals #a x y = x, y | ||
private | ||
let _ = 1 + 1 | ||
private | ||
let _ = 1 - 1 | ||
private | ||
let _ = 1 / 1 | ||
private | ||
let _ = 1 > 1 | ||
private | ||
let _ = 1 < 1 | ||
private | ||
let _ = 1 >= 1 | ||
private | ||
let _ = 1 <= 1 | ||
] | ||
|
||
Module before type checking: | ||
module Bug3292 | ||
Declarations: [ | ||
#set-options "--print_implicits" | ||
let op_Plus x y = x, y | ||
let op_Minus x y = x, y | ||
let op_Slash x y = x, y | ||
let op_Greater x y = x, y | ||
let op_Less x y = x, y | ||
let op_GreaterEquals x y = x, y | ||
let op_LessEquals x y = x, y | ||
private | ||
let _ = 1 + 1 | ||
private | ||
let _ = 1 - 1 | ||
private | ||
let _ = 1 / 1 | ||
private | ||
let _ = 1 > 1 | ||
private | ||
let _ = 1 < 1 | ||
private | ||
let _ = 1 >= 1 | ||
private | ||
let _ = 1 <= 1 | ||
] | ||
Exports: [ | ||
#set-options "--print_implicits" | ||
let op_Plus x y = x, y | ||
let op_Minus x y = x, y | ||
let op_Slash x y = x, y | ||
let op_Greater x y = x, y | ||
let op_Less x y = x, y | ||
let op_GreaterEquals x y = x, y | ||
let op_LessEquals x y = x, y | ||
private | ||
let _ = 1 + 1 | ||
private | ||
let _ = 1 - 1 | ||
private | ||
let _ = 1 / 1 | ||
private | ||
let _ = 1 > 1 | ||
private | ||
let _ = 1 < 1 | ||
private | ||
let _ = 1 >= 1 | ||
private | ||
let _ = 1 <= 1 | ||
] | ||
|
||
Module after type checking: | ||
module Bug3292 | ||
Declarations: [ | ||
#set-options "--print_implicits" | ||
let op_Plus #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Minus #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Slash #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Greater #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Less #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_GreaterEquals #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_LessEquals #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
private | ||
let _ = Bug3292.op_Plus #Prims.int 1 1 | ||
private | ||
let _ = 1 - 1 | ||
private | ||
let _ = Bug3292.op_Slash #Prims.int 1 1 | ||
private | ||
let _ = Bug3292.op_Greater #Prims.int 1 1 | ||
private | ||
let _ = Bug3292.op_Less #Prims.int 1 1 | ||
private | ||
let _ = 1 >= 1 | ||
private | ||
let _ = 1 <= 1 | ||
] | ||
Exports: [ | ||
#set-options "--print_implicits" | ||
let op_Plus #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Minus #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Slash #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Greater #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_Less #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_GreaterEquals #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
let op_LessEquals #a x y = FStar.Pervasives.Native.Mktuple2 #a #a x y | ||
private | ||
let _ = Bug3292.op_Plus #Prims.int 1 1 | ||
private | ||
let _ = 1 - 1 | ||
private | ||
let _ = Bug3292.op_Slash #Prims.int 1 1 | ||
private | ||
let _ = Bug3292.op_Greater #Prims.int 1 1 | ||
private | ||
let _ = Bug3292.op_Less #Prims.int 1 1 | ||
private | ||
let _ = 1 >= 1 | ||
private | ||
let _ = 1 <= 1 | ||
] | ||
|
||
Verified module: Bug3292 | ||
All verification conditions discharged successfully |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters